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 */ 28 public final class DnsAttribute 29 { 30 private DnsAttribute() 31 { 32 } 33 34 /** 35 * Apache DNS Schema Attributes 36 */ 37 38 /** 39 * An abstract DNS record objectClass used to build other specific structural 40 * objectclasses for different record types 41 */ 42 43 /** the apachedns schema name for an apacheDnsAbstractRecord */ 44 public static final String NAME = "apacheDnsName"; 45 /** the apachedns schema type for an apacheDnsAbstractRecord */ 46 public static final String TYPE = "apacheDnsType"; 47 /** the apachedns schema class for an apacheDnsAbstractRecord */ 48 public static final String CLASS = "apacheDnsClass"; 49 /** the apachedns schema TTL for an apacheDnsAbstractRecord */ 50 public static final String TTL = "apacheDnsTtl"; 51 52 /** 53 * DNS record type - Start of Authority 54 */ 55 56 /** the apachedns schema apacheDnsSoaMName for an apacheDnsStartOfAuthorityRecord */ 57 public static final String SOA_M_NAME = "apacheDnsSoaMName"; 58 /** the apachedns schema apacheDnsSoaRName for an apacheDnsStartOfAuthorityRecord */ 59 public static final String SOA_R_NAME = "apacheDnsSoaRName"; 60 /** the apachedns schema apacheDnsSoaSerial for an apacheDnsStartOfAuthorityRecord */ 61 public static final String SOA_SERIAL = "apacheDnsSoaSerial"; 62 /** the apachedns schema apacheDnsSoaRefresh for an apacheDnsStartOfAuthorityRecord */ 63 public static final String SOA_REFRESH = "apacheDnsSoaRefresh"; 64 /** the apachedns schema apacheDnsSoaRetry for an apacheDnsStartOfAuthorityRecord */ 65 public static final String SOA_RETRY = "apacheDnsSoaRetry"; 66 /** the apachedns schema apacheDnsSoaExpire for an apacheDnsStartOfAuthorityRecord */ 67 public static final String SOA_EXPIRE = "apacheDnsSoaExpire"; 68 /** the apachedns schema apacheDnsSoaMinimum for an apacheDnsStartOfAuthorityRecord */ 69 public static final String SOA_MINIMUM = "apacheDnsSoaMinimum"; 70 71 /** 72 * Other DNS record attributes 73 */ 74 75 /** the apachedns schema apacheDnsDomainName */ 76 public static final String DOMAIN_NAME = "apacheDnsDomainName"; 77 78 /** the apachedns schema apacheDnsIpAddress */ 79 public static final String IP_ADDRESS = "apacheDnsIpAddress"; 80 81 /** the apachedns schema apacheDnsMxPreference */ 82 public static final String MX_PREFERENCE = "apacheDnsMxPreference"; 83 84 /** the apachedns schema apacheDnsCharacterString */ 85 public static final String CHARACTER_STRING = "apacheDnsCharacterString"; 86 87 /** the apachedns schema apacheDnsServicePriority */ 88 public static final String SERVICE_PRIORITY = "apacheDnsServicePriority"; 89 90 /** the apachedns schema apacheDnsServiceWeight */ 91 public static final String SERVICE_WEIGHT = "apacheDnsServiceWeight"; 92 93 /** the apachedns schema apacheDnsServicePort */ 94 public static final String SERVICE_PORT = "apacheDnsServicePort"; 95 }