Class TopLevelDomain
- java.lang.Object
-
- com.aoindustries.aoserv.client.AOServObject<K,T>
-
- com.aoindustries.aoserv.client.GlobalObject<DomainName,T>
-
- com.aoindustries.aoserv.client.GlobalObjectDomainNameKey<TopLevelDomain>
-
- com.aoindustries.aoserv.client.dns.TopLevelDomain
-
- All Implemented Interfaces:
Streamable,StreamReadable,StreamWritable,Row,AOServReadable,AOServStreamable,AOServWritable
public final class TopLevelDomain extends GlobalObjectDomainNameKey<TopLevelDomain>
ADNSTLDis a name server top level domain. A top level domain is a domain that is one level above that which is controlled by AO Industries' name servers. Some common examples includecom,net,org,co.uk,aq(OK - not so common), andmed.pro. The domains added to the name servers must be in the formatsubdomain.dns_tld, wheresubdomainis a word without dots (.), anddns_tldis one of the top level domains in the database. If a top level domain does not exist that properly should, please contact AO Industries to have it added.Also, this is a list of effective top-level domains, for the purposes of domain allocation. This means it includes things like
com.au, whereas theTopLevelDomainonly includesau.- Author:
- AO Industries, Inc.
- See Also:
Zone
-
-
Field Summary
-
Fields inherited from class com.aoindustries.aoserv.client.GlobalObjectDomainNameKey
pkey
-
Fields inherited from class com.aoindustries.aoserv.client.AOServObject
USE_ARRAY_OF_DOMAIN, USE_SQL_DATA, USE_SQL_DATA_WRITE
-
-
Constructor Summary
Constructors Constructor Description TopLevelDomain()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ObjectgetColumnImpl(int i)StringgetDescription()DomainNamegetDomain()Table.TableIDgetTableID()voidinit(ResultSet result)Initializes this object from the raw database contents.voidread(StreamableInput in, AoservProtocol.Version protocolVersion)voidwrite(StreamableOutput out, AoservProtocol.Version protocolVersion)-
Methods inherited from class com.aoindustries.aoserv.client.GlobalObjectDomainNameKey
equals, getKey, hashCode, toStringImpl
-
Methods inherited from class com.aoindustries.aoserv.client.AOServObject
compare, compare, compare, compare, compareIgnoreCaseConsistentWithEquals, compareTo, compareTo, compareTo, getAccountingCode, getColumn, getColumns, getColumns, getDomainLabel, getDomainLabels, getDomainName, getDto, getEmail, getGecos, getGroupId, getHashedKey, getHashedPassword, getHostname, getInetAddress, getLinuxID, getLinuxUserName, getMacAddress, getMySQLDatabaseName, getMySQLServerName, getMysqlUserName, getPort, getPostgresDatabaseName, getPostgresServerName, getPostgresUserId, getTableSchema, getTimeMillis, getTimeMillis, getUnixPath, getUserId, read, toString, write
-
-
-
-
Method Detail
-
getColumnImpl
protected Object getColumnImpl(int i)
- Specified by:
getColumnImplin classAOServObject<DomainName,TopLevelDomain>
-
getDescription
public String getDescription()
-
getDomain
public DomainName getDomain()
-
getTableID
public Table.TableID getTableID()
- Specified by:
getTableIDin classAOServObject<DomainName,TopLevelDomain>
-
init
public void init(ResultSet result) throws SQLException
Description copied from class:AOServObjectInitializes this object from the raw database contents.- Specified by:
initin classAOServObject<DomainName,TopLevelDomain>- Parameters:
result- theResultSetcontaining the row to copy into this object- Throws:
SQLException
-
read
public void read(StreamableInput in, AoservProtocol.Version protocolVersion) throws IOException
- Specified by:
readin interfaceAOServReadable- Specified by:
readin interfaceAOServStreamable- Specified by:
readin classAOServObject<DomainName,TopLevelDomain>- Throws:
IOException
-
write
public void write(StreamableOutput out, AoservProtocol.Version protocolVersion) throws IOException
- Specified by:
writein interfaceAOServStreamable- Specified by:
writein interfaceAOServWritable- Specified by:
writein classAOServObject<DomainName,TopLevelDomain>- Throws:
IOException
-
-