001 /* 002 * Licensed to the Apache Software Foundation (ASF) under one 003 * or more contributor license agreements. See the NOTICE file 004 * distributed with this work for additional information 005 * regarding copyright ownership. The ASF licenses this file 006 * to you under the Apache License, Version 2.0 (the 007 * "License"); you may not use this file except in compliance 008 * with the License. You may obtain a copy of the License at 009 * 010 * http://www.apache.org/licenses/LICENSE-2.0 011 * 012 * Unless required by applicable law or agreed to in writing, 013 * software distributed under the License is distributed on an 014 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 015 * KIND, either express or implied. See the License for the 016 * specific language governing permissions and limitations 017 * under the License. 018 * 019 */ 020 package org.apache.directory.server.dns.store; 021 022 023 /** 024 * Constants representing the DNS attribute ids as defined by the Apache DNS schema. 025 * 026 * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a> 027 * @version $Rev$, $Date$ 028 */ 029 public class DnsAttribute 030 { 031 /** 032 * Apache DNS Schema Attributes 033 */ 034 035 /** 036 * An abstract DNS record objectClass used to build other specific structural 037 * objectclasses for different record types 038 */ 039 040 /** the apachedns schema name for an apacheDnsAbstractRecord */ 041 public static final String NAME = "apacheDnsName"; 042 /** the apachedns schema type for an apacheDnsAbstractRecord */ 043 public static final String TYPE = "apacheDnsType"; 044 /** the apachedns schema class for an apacheDnsAbstractRecord */ 045 public static final String CLASS = "apacheDnsClass"; 046 /** the apachedns schema TTL for an apacheDnsAbstractRecord */ 047 public static final String TTL = "apacheDnsTtl"; 048 049 /** 050 * DNS record type - Start of Authority 051 */ 052 053 /** the apachedns schema apacheDnsSoaMName for an apacheDnsStartOfAuthorityRecord */ 054 public static final String SOA_M_NAME = "apacheDnsSoaMName"; 055 /** the apachedns schema apacheDnsSoaRName for an apacheDnsStartOfAuthorityRecord */ 056 public static final String SOA_R_NAME = "apacheDnsSoaRName"; 057 /** the apachedns schema apacheDnsSoaSerial for an apacheDnsStartOfAuthorityRecord */ 058 public static final String SOA_SERIAL = "apacheDnsSoaSerial"; 059 /** the apachedns schema apacheDnsSoaRefresh for an apacheDnsStartOfAuthorityRecord */ 060 public static final String SOA_REFRESH = "apacheDnsSoaRefresh"; 061 /** the apachedns schema apacheDnsSoaRetry for an apacheDnsStartOfAuthorityRecord */ 062 public static final String SOA_RETRY = "apacheDnsSoaRetry"; 063 /** the apachedns schema apacheDnsSoaExpire for an apacheDnsStartOfAuthorityRecord */ 064 public static final String SOA_EXPIRE = "apacheDnsSoaExpire"; 065 /** the apachedns schema apacheDnsSoaMinimum for an apacheDnsStartOfAuthorityRecord */ 066 public static final String SOA_MINIMUM = "apacheDnsSoaMinimum"; 067 068 /** 069 * Other DNS record attributes 070 */ 071 072 /** the apachedns schema apacheDnsDomainName */ 073 public static final String DOMAIN_NAME = "apacheDnsDomainName"; 074 075 /** the apachedns schema apacheDnsIpAddress */ 076 public static final String IP_ADDRESS = "apacheDnsIpAddress"; 077 078 /** the apachedns schema apacheDnsMxPreference */ 079 public static final String MX_PREFERENCE = "apacheDnsMxPreference"; 080 081 /** the apachedns schema apacheDnsCharacterString */ 082 public static final String CHARACTER_STRING = "apacheDnsCharacterString"; 083 084 /** the apachedns schema apacheDnsServicePriority */ 085 public static final String SERVICE_PRIORITY = "apacheDnsServicePriority"; 086 087 /** the apachedns schema apacheDnsServiceWeight */ 088 public static final String SERVICE_WEIGHT = "apacheDnsServiceWeight"; 089 090 /** the apachedns schema apacheDnsServicePort */ 091 public static final String SERVICE_PORT = "apacheDnsServicePort"; 092 }