Class EPPLaunchPolicyPollPolicy
- java.lang.Object
-
- com.verisign.epp.codec.launchpolicy.v01.EPPLaunchPolicyPollPolicy
-
- All Implemented Interfaces:
EPPCodecComponent,java.io.Serializable,java.lang.Cloneable
public class EPPLaunchPolicyPollPolicy extends java.lang.Object implements EPPCodecComponent
EPPLaunchPolicyPollPolicydefines the poll messaging policy for the phase. The poll policy contains the following required boolean attributes:
intermediateStatus- A boolean value indicating whether the server will insert poll messages, per [RFC5730], for the applicable intermediate statuses, including the "pendingValidation", "validated", "pendingAllocation", and "invalid" statuses, using the <domain:infData> element with the <launch:infData> extension.nonMandatoryInfo- A boolean value indicating whether the server will include non-mandatory information in the <domain:infData> element of the poll message.extensionInfo- A boolean value indicating whether the server will include further extensions that would normally be included in the response to the <domain:info> command, per [RFC5731], in the poll message
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELM_LOCALNAMEXML local name forEPPLaunchPolicyPollPolicy.static java.lang.StringELM_NAMEXML root tag forEPPLaunchPolicyPollPolicy.
-
Constructor Summary
Constructors Constructor Description EPPLaunchPolicyPollPolicy()Default constructor forEPPLaunchPolicyPollPolicy.EPPLaunchPolicyPollPolicy(java.lang.Boolean aIntermediateStatus, java.lang.Boolean aNonMandatoryInfo, java.lang.Boolean aExtensionInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()clone anEPPCodecComponent.voiddecode(org.w3c.dom.Element aElement)decode a DOM element tree to initialize the instance attributes.org.w3c.dom.Elementencode(org.w3c.dom.Document aDocument)encode instance into a DOM element tree.booleanequals(java.lang.Object aObject)Compare an instance ofEPPOrgExtwith this instance.java.lang.BooleangetExtensionInfo()Gets the boolean value indicating whether the server will include further extensions that would normally be included in the response to the <domain:info> command, per [RFC5731], in the poll message.java.lang.BooleangetIntermediateStatus()Gets the boolean value indicating whether the server will insert poll messages, per [RFC5730], for the applicable intermediate statuses, including the "pendingValidation", "validated", "pendingAllocation", and "invalid" statuses, using the <domain:infData> element with the <launch:infData> extension.java.lang.StringgetNamespace()Returns the XML namespace associated with theEPPCodecComponent.java.lang.BooleangetNonMandatoryInfo()Gets the boolean value indicating whether the server will include non-mandatory information in the <domain:infData> element of the poll message.voidsetExtensionInfo(java.lang.Boolean aExtensionInfo)Gets the boolean value indicating whether the server will include further extensions that would normally be included in the response to the <domain:info> command, per [RFC5731], in the poll message.voidsetIntermediateStatus(java.lang.Boolean aIntermediateStatus)Sets the boolean value indicating whether the server will insert poll messages, per [RFC5730], for the applicable intermediate statuses, including the "pendingValidation", "validated", "pendingAllocation", and "invalid" statuses, using the <domain:infData> element with the <launch:infData> extension.voidsetNonMandatoryInfo(java.lang.Boolean aNonMandatoryInfo)Sets the boolean value indicating whether the server will include non-mandatory information in the <domain:infData> element of the poll message.java.lang.StringtoString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
-
-
Field Detail
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
XML local name forEPPLaunchPolicyPollPolicy.- See Also:
- Constant Field Values
-
ELM_NAME
public static final java.lang.String ELM_NAME
XML root tag forEPPLaunchPolicyPollPolicy.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPLaunchPolicyPollPolicy
public EPPLaunchPolicyPollPolicy()
Default constructor forEPPLaunchPolicyPollPolicy. All of the boolean attributes must be set prior to callingencode(Document).
-
EPPLaunchPolicyPollPolicy
public EPPLaunchPolicyPollPolicy(java.lang.Boolean aIntermediateStatus, java.lang.Boolean aNonMandatoryInfo, java.lang.Boolean aExtensionInfo)- Parameters:
aIntermediateStatus- Boolean indication of whether the intermediate status poll messages are included if definedaNonMandatoryInfo- Boolean value indicating whether the server will include non-mandatory information in the <domain:infData> element of the poll message.aExtensionInfo- Boolean value indicating whether the server will include further extensions that would normally be included in the response to the <domain:info> command, per [RFC5731], in the poll message.
-
-
Method Detail
-
encode
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeExceptionencode instance into a DOM element tree. A DOM Document is passed as an argument and functions as a factory for DOM objects. The root element associated with the instance is created and each instance attribute is appended as a child node.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- DOM Document, which acts is an Element factory- Returns:
- Element Root element associated with the object
- Throws:
EPPEncodeException- Error encodingEPPLaunchPolicyPollPolicy
-
decode
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeExceptiondecode a DOM element tree to initialize the instance attributes. TheaElementargument represents the root DOM element and is used to traverse the DOM nodes for instance attribute values.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement-Elementto decode- Throws:
EPPDecodeException- Error decodingElement
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionclone anEPPCodecComponent.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classjava.lang.Object- Returns:
- clone of concrete
EPPOrgExt - Throws:
java.lang.CloneNotSupportedException- standard Object.clone exception
-
toString
public java.lang.String toString()
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classjava.lang.Object- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-
equals
public boolean equals(java.lang.Object aObject)
Compare an instance ofEPPOrgExtwith this instance.- Overrides:
equalsin classjava.lang.Object- Parameters:
aObject- Object to compare with.- Returns:
trueif equal;falseotherwise.
-
getIntermediateStatus
public java.lang.Boolean getIntermediateStatus()
Gets the boolean value indicating whether the server will insert poll messages, per [RFC5730], for the applicable intermediate statuses, including the "pendingValidation", "validated", "pendingAllocation", and "invalid" statuses, using the <domain:infData> element with the <launch:infData> extension.- Returns:
- Boolean indication of whether the intermediate status poll
messages are included if defined;
nullotherwise.
-
setIntermediateStatus
public void setIntermediateStatus(java.lang.Boolean aIntermediateStatus)
Sets the boolean value indicating whether the server will insert poll messages, per [RFC5730], for the applicable intermediate statuses, including the "pendingValidation", "validated", "pendingAllocation", and "invalid" statuses, using the <domain:infData> element with the <launch:infData> extension.- Parameters:
aIntermediateStatus- The intermediate status boolean value
-
getNonMandatoryInfo
public java.lang.Boolean getNonMandatoryInfo()
Gets the boolean value indicating whether the server will include non-mandatory information in the <domain:infData> element of the poll message.- Returns:
- The intermediate status boolean value if defined;
nullotherwise.
-
setNonMandatoryInfo
public void setNonMandatoryInfo(java.lang.Boolean aNonMandatoryInfo)
Sets the boolean value indicating whether the server will include non-mandatory information in the <domain:infData> element of the poll message.- Parameters:
aNonMandatoryInfo- The non-mandatory information boolean value
-
getExtensionInfo
public java.lang.Boolean getExtensionInfo()
Gets the boolean value indicating whether the server will include further extensions that would normally be included in the response to the <domain:info> command, per [RFC5731], in the poll message.- Returns:
- The extension info boolean value if defined;
nullotherwise.
-
setExtensionInfo
public void setExtensionInfo(java.lang.Boolean aExtensionInfo)
Gets the boolean value indicating whether the server will include further extensions that would normally be included in the response to the <domain:info> command, per [RFC5731], in the poll message.- Parameters:
aExtensionInfo- The extension info boolean value
-
getNamespace
public java.lang.String getNamespace()
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-
-