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 */ 020package 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 */ 028public final class DnsAttribute 029{ 030 private DnsAttribute() 031 { 032 } 033 034 /** 035 * Apache DNS Schema Attributes 036 */ 037 038 /** 039 * An abstract DNS record objectClass used to build other specific structural 040 * objectclasses for different record types 041 */ 042 043 /** the apachedns schema name for an apacheDnsAbstractRecord */ 044 public static final String NAME = "apacheDnsName"; 045 /** the apachedns schema type for an apacheDnsAbstractRecord */ 046 public static final String TYPE = "apacheDnsType"; 047 /** the apachedns schema class for an apacheDnsAbstractRecord */ 048 public static final String CLASS = "apacheDnsClass"; 049 /** the apachedns schema TTL for an apacheDnsAbstractRecord */ 050 public static final String TTL = "apacheDnsTtl"; 051 052 /** 053 * DNS record type - Start of Authority 054 */ 055 056 /** the apachedns schema apacheDnsSoaMName for an apacheDnsStartOfAuthorityRecord */ 057 public static final String SOA_M_NAME = "apacheDnsSoaMName"; 058 /** the apachedns schema apacheDnsSoaRName for an apacheDnsStartOfAuthorityRecord */ 059 public static final String SOA_R_NAME = "apacheDnsSoaRName"; 060 /** the apachedns schema apacheDnsSoaSerial for an apacheDnsStartOfAuthorityRecord */ 061 public static final String SOA_SERIAL = "apacheDnsSoaSerial"; 062 /** the apachedns schema apacheDnsSoaRefresh for an apacheDnsStartOfAuthorityRecord */ 063 public static final String SOA_REFRESH = "apacheDnsSoaRefresh"; 064 /** the apachedns schema apacheDnsSoaRetry for an apacheDnsStartOfAuthorityRecord */ 065 public static final String SOA_RETRY = "apacheDnsSoaRetry"; 066 /** the apachedns schema apacheDnsSoaExpire for an apacheDnsStartOfAuthorityRecord */ 067 public static final String SOA_EXPIRE = "apacheDnsSoaExpire"; 068 /** the apachedns schema apacheDnsSoaMinimum for an apacheDnsStartOfAuthorityRecord */ 069 public static final String SOA_MINIMUM = "apacheDnsSoaMinimum"; 070 071 /** 072 * Other DNS record attributes 073 */ 074 075 /** the apachedns schema apacheDnsDomainName */ 076 public static final String DOMAIN_NAME = "apacheDnsDomainName"; 077 078 /** the apachedns schema apacheDnsIpAddress */ 079 public static final String IP_ADDRESS = "apacheDnsIpAddress"; 080 081 /** the apachedns schema apacheDnsMxPreference */ 082 public static final String MX_PREFERENCE = "apacheDnsMxPreference"; 083 084 /** the apachedns schema apacheDnsCharacterString */ 085 public static final String CHARACTER_STRING = "apacheDnsCharacterString"; 086 087 /** the apachedns schema apacheDnsServicePriority */ 088 public static final String SERVICE_PRIORITY = "apacheDnsServicePriority"; 089 090 /** the apachedns schema apacheDnsServiceWeight */ 091 public static final String SERVICE_WEIGHT = "apacheDnsServiceWeight"; 092 093 /** the apachedns schema apacheDnsServicePort */ 094 public static final String SERVICE_PORT = "apacheDnsServicePort"; 095}