1 /* 2 * Licensed to the Apache Software Foundation (ASF) under one 3 * or more contributor license agreements. See the NOTICE file 4 * distributed with this work for additional information 5 * regarding copyright ownership. The ASF licenses this file 6 * to you under the Apache License, Version 2.0 (the 7 * "License"); you may not use this file except in compliance 8 * with the License. You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, 13 * software distributed under the License is distributed on an 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 * KIND, either express or implied. See the License for the 16 * specific language governing permissions and limitations 17 * under the License. 18 * 19 */ 20 package org.apache.directory.server.dns.store; 21 22 23 /** 24 * Constants representing the DNS attribute ids as defined by the Apache DNS schema. 25 * 26 * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a> 27 * @version $Rev$, $Date$ 28 */ 29 public class DnsAttribute 30 { 31 /** 32 * Apache DNS Schema Attributes 33 */ 34 35 /** 36 * An abstract DNS record objectClass used to build other specific structural 37 * objectclasses for different record types 38 */ 39 40 /** the apachedns schema name for an apacheDnsAbstractRecord */ 41 public static final String NAME = "apacheDnsName"; 42 /** the apachedns schema type for an apacheDnsAbstractRecord */ 43 public static final String TYPE = "apacheDnsType"; 44 /** the apachedns schema class for an apacheDnsAbstractRecord */ 45 public static final String CLASS = "apacheDnsClass"; 46 /** the apachedns schema TTL for an apacheDnsAbstractRecord */ 47 public static final String TTL = "apacheDnsTtl"; 48 49 /** 50 * DNS record type - Start of Authority 51 */ 52 53 /** the apachedns schema apacheDnsSoaMName for an apacheDnsStartOfAuthorityRecord */ 54 public static final String SOA_M_NAME = "apacheDnsSoaMName"; 55 /** the apachedns schema apacheDnsSoaRName for an apacheDnsStartOfAuthorityRecord */ 56 public static final String SOA_R_NAME = "apacheDnsSoaRName"; 57 /** the apachedns schema apacheDnsSoaSerial for an apacheDnsStartOfAuthorityRecord */ 58 public static final String SOA_SERIAL = "apacheDnsSoaSerial"; 59 /** the apachedns schema apacheDnsSoaRefresh for an apacheDnsStartOfAuthorityRecord */ 60 public static final String SOA_REFRESH = "apacheDnsSoaRefresh"; 61 /** the apachedns schema apacheDnsSoaRetry for an apacheDnsStartOfAuthorityRecord */ 62 public static final String SOA_RETRY = "apacheDnsSoaRetry"; 63 /** the apachedns schema apacheDnsSoaExpire for an apacheDnsStartOfAuthorityRecord */ 64 public static final String SOA_EXPIRE = "apacheDnsSoaExpire"; 65 /** the apachedns schema apacheDnsSoaMinimum for an apacheDnsStartOfAuthorityRecord */ 66 public static final String SOA_MINIMUM = "apacheDnsSoaMinimum"; 67 68 /** 69 * Other DNS record attributes 70 */ 71 72 /** the apachedns schema apacheDnsDomainName */ 73 public static final String DOMAIN_NAME = "apacheDnsDomainName"; 74 75 /** the apachedns schema apacheDnsIpAddress */ 76 public static final String IP_ADDRESS = "apacheDnsIpAddress"; 77 78 /** the apachedns schema apacheDnsMxPreference */ 79 public static final String MX_PREFERENCE = "apacheDnsMxPreference"; 80 81 /** the apachedns schema apacheDnsCharacterString */ 82 public static final String CHARACTER_STRING = "apacheDnsCharacterString"; 83 84 /** the apachedns schema apacheDnsServicePriority */ 85 public static final String SERVICE_PRIORITY = "apacheDnsServicePriority"; 86 87 /** the apachedns schema apacheDnsServiceWeight */ 88 public static final String SERVICE_WEIGHT = "apacheDnsServiceWeight"; 89 90 /** the apachedns schema apacheDnsServicePort */ 91 public static final String SERVICE_PORT = "apacheDnsServicePort"; 92 }