Class EPPRegistryDomain
- java.lang.Object
-
- com.verisign.epp.codec.registry.v02.EPPRegistryDomain
-
- All Implemented Interfaces:
EPPCodecComponent
,java.io.Serializable
,java.lang.Cloneable
public class EPPRegistryDomain extends java.lang.Object implements EPPCodecComponent
Represents the domain name object policy information per RFC 5731. Instance of this class is encoded into the <registry:domain> element in the <registry:zone> element when the server responds with the detailed information of the zone object. The <registry:domain> must contain the following child elements:
- <registry:domainName> - The domain name object policy information
per RFC 5731. Use
getDomainNames()
andsetDomainNames(List)
to get and set the element. - <registry:idn> - OPTIONAL Internationalized Domain Name (IDN)
policy information. Use
getIdn()
andsetIdn(EPPRegistryIDN)
to get and set the element. - <registry:premiumSupport> - OPTIONAL boolean value that indicates
whether the server supports premium domain names. Default value is
false
. UsegetPremiumSupport()
andsetPremiumSupport(Boolean)
to get and set the element. - <registry:contactsSupported> - OPTIONAL boolean value that
indicates whether contacts are supported. Default value is
true
. UsegetContactsSupported()
andsetContactsSupported(Boolean)
to get and set the element. - <registry:contact> - Zero to three elements that define the minimum
and maximum numbers of contacts by contact type. Valid contact types are:
admin, tech and billing. Use
getContacts()
andsetContacts(List)
to get and set the element. UseaddContact(EPPRegistryDomainContact)
to append a contact to the existing contact list. - <registry:ns> - Defines the minimum and maximum number of delegated
host objects (name servers) that can be associated with a domain object. Use
getNameServerLimit()
andsetNameServerLimit(EPPRegistryDomainNSLimit)
to get and set the element. - <registry:childHost> - Defines the OPTIONAL minimum and maximum
number of subordinate host objects (child hosts) for a domain object. Use
getChildHostLimit()
andsetChildHostLimit(EPPRegistryDomainHostLimit)
to get and set the element. - <registry:period> - Zero or more elements that defines the
supported min/max registration periods and default periods by command type.
The required "command" attribute defines the command type with sample values
of "create", "renew", and "transfer". Use
getPeriods()
andsetPeriods(List)
to get and set the element. - <registry:transferHoldPeriod> - The period of time a domain object
is in the pending transfer before the transfer is auto approved by the
server. This element MUST have the "unit" attribute with the possible values
of "y" for year, "m" for month, and "d" for day. Use
getTransferHoldPeriod()
andsetTransferHoldPeriod(EPPRegistryTransferHoldPeriodType)
to get and set the element. - <registry:gracePeriod> - Zero or more elements that defines the
grace periods by operation type. The required "command" attribute defines the
operation type with the sample values of "create", "renew", "transfer", and
"autoRenew". This element requires the "unit" attribute with the possible
values of "d" for day, "h" for hour, and "m" for minute. Use
getGracePeriods()
andsetGracePeriods(List)
to get and set the element. - <registry:rgp> - OPTIONAL Registry Grace Period (RGP) status
periods. Use
getRgp()
andsetRgp(EPPRegistryRGP)
to get and set the element. - <registry:dnssec> - OPTIONAL DNS Security Extensions (DNSSEC)
policies for the server. Use
getDnssec()
andsetDnssec(EPPRegistryDNSSEC)
to get and set the element. - <registry:maxCheckDomain> - The maximum number of domain names
(<domain:name> elements) that can be included in a domain check command
defined in RFC 5731 Use
setMaxCheckDomain(Integer)
andgetMaxCheckDomain()
to get and set the element. - <registry:supportedStatus> - The OPTIONAL set of supported domain
status defined in RFC 5731 Use
getSupportedStatus()
andsetSupportedStatus(EPPRegistrySupportedStatus)
to get and set the element. - <registry:authInfoRegEx> - The OPTIONAL regular expression used to
validate the domain object authorization information value. Use
getAuthInfoRegex()
andsetAuthInfoRegex(EPPRegistryRegex)
to get and set the element. - <registry:nullAuthInfoSupported> - An OPTIONAL flag indicating
whether the <domain:null> element in [RFC5731] is supported to remove
the authorization information, with a default value of
false
. UsegetNullAuthInfoSupported()
andsetNullAuthInfoSupported(Boolean)
to get and set the element. - <registry:hostModelSupported> - The OPTIONAL definition of which
[RFC5731] host model is used by the server. The possible values include
HostModelSupported.hostObj
for the host object model andHostModelSupported.hostAttr
for the host attribute model, with the default value of "hostObj". UsegetHostModelSupported()
andsetHostModelSupported(HostModelSupported)
to get and set the element.
- See Also:
EPPRegistryZone
,EPPRegistryDomainName
,EPPRegistryIDN
,EPPRegistryDomainContact
,EPPRegistryDomainPeriod
,EPPRegistryDomainNSLimit
,EPPRegistryDomainHostLimit
,EPPRegistryDomainPeriod
,EPPRegistryTransferHoldPeriodType
,EPPRegistryGracePeriod
,EPPRegistryRGP
,EPPRegistryDNSSEC
,EPPRegistrySupportedStatus
, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EPPRegistryDomain.HostModelSupported
Possible values for thehostModelSupported
attribute.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ELM_AUTH_INFO_REGEX
XML Element Name ofauthInfoRegex
attribute.static java.lang.String
ELM_EXCEED_MAX_EX_DATE
XML Element Name ofexceedMaxExDate
attribute.static java.lang.String
ELM_HOST_MODEL_SUPPORTED
XML Element Name ofhostModelSupported
attribute.static java.lang.String
ELM_LOCALNAME
XML local name forEPPRegistryDomain
.static java.lang.String
ELM_MAX_CHECK_DOMAIN
XML Element Name ofmaxCheckDomain
attribute.static java.lang.String
ELM_NAME
XML root tag forEPPRegistryDomain
.static java.lang.String
ELM_NULL_AUTH_INFO_SUPPORTED
XML Element Name ofnullAuthInfoSupported
attribute.static java.lang.String
ELM_PREMIUM_SUPPORT
XML Element Name ofpremiumSupport
attribute.static java.lang.String
ELM_REGISTRANT
XML Element Name ofcontactsSupported
attribute.
-
Constructor Summary
Constructors Constructor Description EPPRegistryDomain()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addContact(EPPRegistryDomainContact aContact)
Append a domain contact policy to the existing list.void
addDomainName(EPPRegistryDomainName aDomainName)
Add a domain name object policy to the list of domain name policies.void
addExceedMaxExDate(EPPRegistryExceedMaxExDate aExceedMaxExDate)
Adds a exceed maximum expiration date policy to the list.void
addGracePeriod(EPPRegistryGracePeriod aGracePeriod)
Append one instance ofEPPRegistryGracePeriod
to the existingList
.void
addPeriod(EPPRegistryDomainPeriod aPeriod)
Adds a supported period to the list of periods.java.lang.Object
clone()
CloneEPPRegistryDomain
.void
decode(org.w3c.dom.Element aElement)
Decode theEPPRegistryDomain
attributes from the aElement DOM Element tree.org.w3c.dom.Element
encode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of theEPPRegistryDomain
instance.boolean
equals(java.lang.Object aObject)
implements a deepEPPRegistryDomain
compare.EPPRegistryRegex
getAuthInfoRegex()
Get info about regular expression used to validate the domain object authorization information value.EPPRegistryDomainHostLimit
getChildHostLimit()
Get child host limit.java.util.List<EPPRegistryDomainContact>
getContacts()
Get domain contact policy.java.lang.Boolean
getContactsSupported()
Get the contact supported flag.EPPRegistryDNSSEC
getDnssec()
Get the DNS Security Extensions (DNSSEC) policies.java.util.List<EPPRegistryDomainName>
getDomainNames()
Get theList
ofEPPRegistryDomainName
that specifies the domain name object policy.java.util.List<EPPRegistryExceedMaxExDate>
getExceedMaxExDates()
Gets theList
ofEPPRegistryExceedMaxExDate
instances that the policy with exceeding the maximum expiration date for renewable commands.java.util.List<EPPRegistryGracePeriod>
getGracePeriods()
Get theList
of attributes that defines the grace periods by operation type.EPPRegistryDomain.HostModelSupported
getHostModelSupported()
Gets the host model supported from RFC 5731, with the default set toEPPRegistryDomain.HostModelSupported.hostObj
.EPPRegistryIDN
getIdn()
Get the Internationalized Domain Name (IDN) policy information.java.lang.Integer
getMaxCheckDomain()
Get the attribute that defines the maximum number of domain names (<domain:name> elements) that can be included in a domain check command defined in RFC 5731.EPPRegistryDomainNSLimit
getNameServerLimit()
Get NS limit definition.java.lang.String
getNamespace()
Returns the XML namespace associated with theEPPCodecComponent
.java.lang.Boolean
getNullAuthInfoSupported()
Get null auth info supported flag.java.util.List<EPPRegistryDomainPeriod>
getPeriods()
GetList
ofEPPRegistryDomainPeriod
instances that define the supported min/max/default registration periods by command type.java.lang.Boolean
getPremiumSupport()
Get premium support flag.EPPRegistryRGP
getRgp()
Get the information about Registry Grace Period (RGP).EPPRegistrySupportedStatus
getSupportedStatus()
Get domain status supported by the server.EPPRegistryTransferHoldPeriodType
getTransferHoldPeriod()
Get the period of time a domain object is in the pending transfer before the transfer is auto approved by the serverboolean
hasContacts()
Is the contacts defined?boolean
hasContactsSupported()
Is the contact supported flag flag defined?boolean
hasDomainNames()
Is the domain name policies defined?boolean
hasExceedMaxExDates()
Is the exceed maximum expiration dates defined?boolean
hasGracePeriods()
Is the grace periods defined?boolean
hasNullAuthInfoSupported()
Is the null auth info supported flag defined?boolean
hasPeriods()
Is the periods defined?boolean
hasPremiumSupport()
Is the premium support flag defined?void
setAuthInfoRegex(EPPRegistryRegex authInfoRegex)
Set info about regular expression used to validate the domain object authorization information value.void
setChildHostLimit(EPPRegistryDomainHostLimit childHostLimit)
Set child host limit.void
setContacts(java.util.List<EPPRegistryDomainContact> aContacts)
Set domain contact policy.void
setContactsSupported(java.lang.Boolean aContactsSupported)
Set the contact supported flag.void
setDnssec(EPPRegistryDNSSEC dnssec)
Set the DNS Security Extensions (DNSSEC) policies.void
setDomainNames(java.util.List<EPPRegistryDomainName> aDomainNames)
Set theList
ofEPPRegistryDomainName
that specifies the domain name object policy.void
setExceedMaxExDates(java.util.List<EPPRegistryExceedMaxExDate> aExceedMaxExDates)
Sets theList
ofEPPRegistryExceedMaxExDate
instances that the policy with exceeding the maximum expiration date for renewable commands.void
setGracePeriods(java.util.List<EPPRegistryGracePeriod> aGracePeriods)
Set theList
of attributes that defines the grace periods by operation type.void
setHostModelSupported(EPPRegistryDomain.HostModelSupported aHostModelSupported)
Sets the host model supported from RFC 5731, with the default set toEPPRegistryDomain.HostModelSupported.hostObj
.void
setIdn(EPPRegistryIDN idn)
Set the Internationalized Domain Name (IDN) policy information.void
setMaxCheckDomain(java.lang.Integer maxCheckDomain)
Set the attribute that defines the maximum number of domain names (<domain:name> elements) that can be included in a domain check command defined in RFC 5731.void
setNameServerLimit(EPPRegistryDomainNSLimit nameServerLimit)
Set NS limit definition.void
setNullAuthInfoSupported(java.lang.Boolean aNullAuthInfoSupported)
Set null auth info supported flag.void
setPeriods(java.util.List<EPPRegistryDomainPeriod> aPeriods)
SetList
ofEPPRegistryDomainPeriod
instances that define the supported min/max/default periods by command type.void
setPremiumSupport(java.lang.Boolean aPremiumSupport)
Set premium support flag.void
setRgp(EPPRegistryRGP rgp)
Set the information about Registry Grace Period (RGP).void
setSupportedStatus(EPPRegistrySupportedStatus supportedStatus)
Set domain status supported by the server.void
setTransferHoldPeriod(EPPRegistryTransferHoldPeriodType transferHoldPeriod)
Set the period of time a domain object is in the pending transfer before the transfer is auto approved by the serverjava.lang.String
toString()
Implementation ofObject.toString
, which will result in an indented XMLString
representation of the concreteEPPCodecComponent
.
-
-
-
Field Detail
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
XML local name forEPPRegistryDomain
.- See Also:
- Constant Field Values
-
ELM_NAME
public static final java.lang.String ELM_NAME
XML root tag forEPPRegistryDomain
.- See Also:
- Constant Field Values
-
ELM_PREMIUM_SUPPORT
public static final java.lang.String ELM_PREMIUM_SUPPORT
XML Element Name ofpremiumSupport
attribute.- See Also:
- Constant Field Values
-
ELM_REGISTRANT
public static final java.lang.String ELM_REGISTRANT
XML Element Name ofcontactsSupported
attribute.- See Also:
- Constant Field Values
-
ELM_EXCEED_MAX_EX_DATE
public static final java.lang.String ELM_EXCEED_MAX_EX_DATE
XML Element Name ofexceedMaxExDate
attribute.- See Also:
- Constant Field Values
-
ELM_MAX_CHECK_DOMAIN
public static final java.lang.String ELM_MAX_CHECK_DOMAIN
XML Element Name ofmaxCheckDomain
attribute.- See Also:
- Constant Field Values
-
ELM_AUTH_INFO_REGEX
public static final java.lang.String ELM_AUTH_INFO_REGEX
XML Element Name ofauthInfoRegex
attribute.- See Also:
- Constant Field Values
-
ELM_NULL_AUTH_INFO_SUPPORTED
public static final java.lang.String ELM_NULL_AUTH_INFO_SUPPORTED
XML Element Name ofnullAuthInfoSupported
attribute.- See Also:
- Constant Field Values
-
ELM_HOST_MODEL_SUPPORTED
public static final java.lang.String ELM_HOST_MODEL_SUPPORTED
XML Element Name ofhostModelSupported
attribute.- See Also:
- Constant Field Values
-
-
Method Detail
-
encode
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
Encode a DOM Element tree from the attributes of theEPPRegistryDomain
instance.- Specified by:
encode
in interfaceEPPCodecComponent
- Parameters:
aDocument
- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPRegistryDomain
instance. - Throws:
EPPEncodeException
- - Unable to encodeEPPRegistryDomain
instance.
-
decode
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
Decode theEPPRegistryDomain
attributes from the aElement DOM Element tree.- Specified by:
decode
in interfaceEPPCodecComponent
- Parameters:
aElement
- Root DOM Element to decodeEPPRegistryDomain
from.- Throws:
EPPDecodeException
- Unable to decode aElement
-
equals
public boolean equals(java.lang.Object aObject)
implements a deepEPPRegistryDomain
compare.- Overrides:
equals
in classjava.lang.Object
- Parameters:
aObject
-EPPRegistryDomain
instance to compare with- Returns:
true
if this object is the same as the aObject argument;false
otherwise
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
CloneEPPRegistryDomain
.- Specified by:
clone
in interfaceEPPCodecComponent
- Overrides:
clone
in classjava.lang.Object
- Returns:
- clone of
EPPRegistryDomain
- Throws:
java.lang.CloneNotSupportedException
- standard Object.clone exception
-
toString
public java.lang.String toString()
Implementation ofObject.toString
, which will result in an indented XMLString
representation of the concreteEPPCodecComponent
.- Overrides:
toString
in classjava.lang.Object
- Returns:
- Indented XML
String
if successful;ERROR
otherwise.
-
hasDomainNames
public boolean hasDomainNames()
Is the domain name policies defined?- Returns:
true
if the domain name policies is defined;false
otherwise.
-
getDomainNames
public java.util.List<EPPRegistryDomainName> getDomainNames()
Get theList
ofEPPRegistryDomainName
that specifies the domain name object policy.- Returns:
- the
List
ofEPPRegistryDomainName
that specifies the domain name object policy
-
setDomainNames
public void setDomainNames(java.util.List<EPPRegistryDomainName> aDomainNames)
Set theList
ofEPPRegistryDomainName
that specifies the domain name object policy.- Parameters:
aDomainNames
- theList
ofEPPRegistryDomainName
that specifies the domain name object policy
-
addDomainName
public void addDomainName(EPPRegistryDomainName aDomainName)
Add a domain name object policy to the list of domain name policies.- Parameters:
aDomainName
- Domain name policy to add
-
getIdn
public EPPRegistryIDN getIdn()
Get the Internationalized Domain Name (IDN) policy information.- Returns:
- Internationalized Domain Name (IDN) policy information
-
setIdn
public void setIdn(EPPRegistryIDN idn)
Set the Internationalized Domain Name (IDN) policy information.- Parameters:
idn
- the Internationalized Domain Name (IDN) policy information.
-
hasPremiumSupport
public boolean hasPremiumSupport()
Is the premium support flag defined?- Returns:
true
if the premium support flag is defined;false
otherwise.
-
getPremiumSupport
public java.lang.Boolean getPremiumSupport()
Get premium support flag.- Returns:
- flag that indicates whether the server supports premium domain names
-
setPremiumSupport
public void setPremiumSupport(java.lang.Boolean aPremiumSupport)
Set premium support flag.- Parameters:
aPremiumSupport
- flag that indicates whether the server supports premium domain names
-
hasContactsSupported
public boolean hasContactsSupported()
Is the contact supported flag flag defined?- Returns:
true
if the contact supported flag is defined;false
otherwise.
-
getContactsSupported
public java.lang.Boolean getContactsSupported()
Get the contact supported flag.- Returns:
- flag that indicates whether contacts are supported
-
setContactsSupported
public void setContactsSupported(java.lang.Boolean aContactsSupported)
Set the contact supported flag.- Parameters:
aContactsSupported
- flag that indicates whether contacts are supported
-
hasContacts
public boolean hasContacts()
Is the contacts defined?- Returns:
true
if the contacts is defined;false
otherwise.
-
getContacts
public java.util.List<EPPRegistryDomainContact> getContacts()
Get domain contact policy.- Returns:
List
of domain contact policy
-
setContacts
public void setContacts(java.util.List<EPPRegistryDomainContact> aContacts)
Set domain contact policy.- Parameters:
aContacts
-List
of domain contact policy
-
addContact
public void addContact(EPPRegistryDomainContact aContact)
Append a domain contact policy to the existing list.- Parameters:
aContact
- domain contact policy for one of the "admin", "tech", or "billing" contact.
-
getNameServerLimit
public EPPRegistryDomainNSLimit getNameServerLimit()
Get NS limit definition.- Returns:
- instance of
EPPRegistryDomainNSLimit
that defines min/max number of delegated host objects (name servers) that can be associated with a domain object
-
setNameServerLimit
public void setNameServerLimit(EPPRegistryDomainNSLimit nameServerLimit)
Set NS limit definition.- Parameters:
nameServerLimit
- instance ofEPPRegistryDomainNSLimit
that defines min/max number of delegated host objects (name servers) that can be associated with a domain object
-
getChildHostLimit
public EPPRegistryDomainHostLimit getChildHostLimit()
Get child host limit.- Returns:
- Instance of
EPPRegistryDomainHostLimit
that defines the minimum and maximum number of subordinate host objects (child hosts) for a domain object.
-
setChildHostLimit
public void setChildHostLimit(EPPRegistryDomainHostLimit childHostLimit)
Set child host limit.- Parameters:
childHostLimit
- Instance ofEPPRegistryDomainHostLimit
that defines the minimum and maximum number of subordinate host objects (child hosts) for a domain object.
-
hasPeriods
public boolean hasPeriods()
Is the periods defined?- Returns:
true
if the periods is defined;false
otherwise.
-
getPeriods
public java.util.List<EPPRegistryDomainPeriod> getPeriods()
GetList
ofEPPRegistryDomainPeriod
instances that define the supported min/max/default registration periods by command type. Command type must be one of "create, "renew" and "transfer".- Returns:
List
ofEPPRegistryDomainPeriod
instances
-
setPeriods
public void setPeriods(java.util.List<EPPRegistryDomainPeriod> aPeriods)
SetList
ofEPPRegistryDomainPeriod
instances that define the supported min/max/default periods by command type. Command type must be one of "create, "renew" and "transfer".- Parameters:
aPeriods
-List
ofEPPRegistryDomainPeriod
instances
-
addPeriod
public void addPeriod(EPPRegistryDomainPeriod aPeriod)
Adds a supported period to the list of periods.- Parameters:
aPeriod
- A period to add to the list
-
hasExceedMaxExDates
public boolean hasExceedMaxExDates()
Is the exceed maximum expiration dates defined?- Returns:
true
if the exceed maximum expiration dates is defined;false
otherwise.
-
getExceedMaxExDates
public java.util.List<EPPRegistryExceedMaxExDate> getExceedMaxExDates()
Gets theList
ofEPPRegistryExceedMaxExDate
instances that the policy with exceeding the maximum expiration date for renewable commands.- Returns:
List
ofEPPRegistryExceedMaxExDate
instances if defined;null
otherwise.
-
setExceedMaxExDates
public void setExceedMaxExDates(java.util.List<EPPRegistryExceedMaxExDate> aExceedMaxExDates)
Sets theList
ofEPPRegistryExceedMaxExDate
instances that the policy with exceeding the maximum expiration date for renewable commands.- Parameters:
aExceedMaxExDates
-List
ofEPPRegistryExceedMaxExDate
instances
-
addExceedMaxExDate
public void addExceedMaxExDate(EPPRegistryExceedMaxExDate aExceedMaxExDate)
Adds a exceed maximum expiration date policy to the list.- Parameters:
aExceedMaxExDate
- A exceed maximum expiration date policy to add
-
getTransferHoldPeriod
public EPPRegistryTransferHoldPeriodType getTransferHoldPeriod()
Get the period of time a domain object is in the pending transfer before the transfer is auto approved by the server- Returns:
- instance of
EPPRegistryTransferHoldPeriodType
-
setTransferHoldPeriod
public void setTransferHoldPeriod(EPPRegistryTransferHoldPeriodType transferHoldPeriod)
Set the period of time a domain object is in the pending transfer before the transfer is auto approved by the server- Parameters:
transferHoldPeriod
- instance ofEPPRegistryTransferHoldPeriodType
-
hasGracePeriods
public boolean hasGracePeriods()
Is the grace periods defined?- Returns:
true
if the grace periods is defined;false
otherwise.
-
addGracePeriod
public void addGracePeriod(EPPRegistryGracePeriod aGracePeriod)
Append one instance ofEPPRegistryGracePeriod
to the existingList
.- Parameters:
aGracePeriod
- instance ofEPPRegistryGracePeriod
-
getGracePeriods
public java.util.List<EPPRegistryGracePeriod> getGracePeriods()
Get theList
of attributes that defines the grace periods by operation type.- Returns:
List
ofEPPRegistryGracePeriod
-
setGracePeriods
public void setGracePeriods(java.util.List<EPPRegistryGracePeriod> aGracePeriods)
Set theList
of attributes that defines the grace periods by operation type.- Parameters:
aGracePeriods
-List
ofEPPRegistryGracePeriod
-
getRgp
public EPPRegistryRGP getRgp()
Get the information about Registry Grace Period (RGP).- Returns:
- instance of
EPPRegistryRGP
.
-
setRgp
public void setRgp(EPPRegistryRGP rgp)
Set the information about Registry Grace Period (RGP).- Parameters:
rgp
- instance ofEPPRegistryRGP
.
-
getDnssec
public EPPRegistryDNSSEC getDnssec()
Get the DNS Security Extensions (DNSSEC) policies.- Returns:
- instance of
EPPRegistryDNSSEC
that defines the DNS Security Extensions (DNSSEC) policies.
-
setDnssec
public void setDnssec(EPPRegistryDNSSEC dnssec)
Set the DNS Security Extensions (DNSSEC) policies.- Parameters:
dnssec
- instance ofEPPRegistryDNSSEC
that defines the DNS Security Extensions (DNSSEC) policies.
-
getMaxCheckDomain
public java.lang.Integer getMaxCheckDomain()
Get the attribute that defines the maximum number of domain names (<domain:name> elements) that can be included in a domain check command defined in RFC 5731.- Returns:
- maximum number of domain names (<domain:name> elements) that can be included in a domain check command defined in RFC 5731.
-
setMaxCheckDomain
public void setMaxCheckDomain(java.lang.Integer maxCheckDomain)
Set the attribute that defines the maximum number of domain names (<domain:name> elements) that can be included in a domain check command defined in RFC 5731.- Parameters:
maxCheckDomain
- maximum number of domain names (<domain:name> elements) that can be included in a domain check command defined in RFC 5731.
-
getAuthInfoRegex
public EPPRegistryRegex getAuthInfoRegex()
Get info about regular expression used to validate the domain object authorization information value.- Returns:
- instance of
EPPRegistryRegex
that specifies regular expression used to validate the domain object authorization information value
-
setAuthInfoRegex
public void setAuthInfoRegex(EPPRegistryRegex authInfoRegex)
Set info about regular expression used to validate the domain object authorization information value.- Parameters:
authInfoRegex
- instance ofEPPRegistryRegex
that specifies regular expression used to validate the domain object authorization information value
-
hasNullAuthInfoSupported
public boolean hasNullAuthInfoSupported()
Is the null auth info supported flag defined?- Returns:
true
if the null auth info supported flag is defined;false
otherwise.
-
getNullAuthInfoSupported
public java.lang.Boolean getNullAuthInfoSupported()
Get null auth info supported flag.- Returns:
- flag that indicates whether the server supports the
<domain:null> element in [RFC5731] if defined;
null
otherwise.
-
setNullAuthInfoSupported
public void setNullAuthInfoSupported(java.lang.Boolean aNullAuthInfoSupported)
Set null auth info supported flag.- Parameters:
aNullAuthInfoSupported
- flag that indicates whether the server supports the <domain:null> element in [RFC5731]
-
getSupportedStatus
public EPPRegistrySupportedStatus getSupportedStatus()
Get domain status supported by the server.- Returns:
- instance of
EPPRegistrySupportedStatus
that contains a list of supported domain status by the server
-
setSupportedStatus
public void setSupportedStatus(EPPRegistrySupportedStatus supportedStatus)
Set domain status supported by the server.- Parameters:
supportedStatus
- instance ofEPPRegistrySupportedStatus
that contains a list of supported domain status by the server
-
getHostModelSupported
public EPPRegistryDomain.HostModelSupported getHostModelSupported()
Gets the host model supported from RFC 5731, with the default set toEPPRegistryDomain.HostModelSupported.hostObj
.- Returns:
- Host model supported
-
setHostModelSupported
public void setHostModelSupported(EPPRegistryDomain.HostModelSupported aHostModelSupported)
Sets the host model supported from RFC 5731, with the default set toEPPRegistryDomain.HostModelSupported.hostObj
.- Parameters:
aHostModelSupported
- Host model supported enumerated value. If set tonull
, the default value ofEPPRegistryDomain.HostModelSupported.hostObj
will be used.
-
getNamespace
public java.lang.String getNamespace()
Returns the XML namespace associated with theEPPCodecComponent
.- Specified by:
getNamespace
in interfaceEPPCodecComponent
- Returns:
- XML namespace for the
EPPCodecComponent
.
-
-