Domain.State
Constructor and Description |
---|
TopLevelDomain() |
Modifier and Type | Method and Description |
---|---|
String |
getCountryCode()
Returns the ISO 3166-1 tld country code.
|
List<Domain> |
getDomains()
Returns the sub domains.
|
URL |
getRegistrationService()
Returns the URL of the registration service.
|
URL |
getRegistratonService()
Deprecated.
|
Domain.State |
getState()
Gets the domain state.
|
int |
hashCode() |
void |
setCountryCode(String countryCode)
Sets the ISO 3166-1 country code.
|
void |
setDomains(List<Domain> domains)
Sets the sub domains.
|
void |
setRegistrationService(URL registrationService)
Sets the URL of the registration service.
|
void |
setRegistratonService(URL registrationService)
Deprecated.
|
void |
setState(Domain.State state)
Sets the domain state.
|
getChanged, getCreated, getName, getWhoisServers, setChanged, setCreated, setName, setWhoisServers, toString
clone, equals, getSource, setSource
public String getCountryCode()
public void setCountryCode(String countryCode)
countryCode
- the ISO 3166-1 tld country code, may be nullpublic List<Domain> getDomains()
public void setDomains(List<Domain> domains)
domains
- the sub domains, not nullpublic URL getRegistrationService()
@Deprecated public URL getRegistratonService()
getRegistrationService()
public void setRegistrationService(URL registrationService)
registrationService
- the registration service, may be null@Deprecated public void setRegistratonService(URL registrationService)
setRegistrationService(URL)
registrationService
- the registration service, may be nullpublic Domain.State getState()
public void setState(Domain.State state)
state
- the domain state, or nullpublic int hashCode()
hashCode
in class ListObject<Domain>
Copyright © 2016. All rights reserved.