Class EPPStatusSetInfData
java.lang.Object
com.verisign.epp.codec.statusset.v02.EPPStatusSetInfData
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
Status Status Info Data Extension that extends the object info response with
status set information.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor forEPPStatusSetInfData.EPPStatusSetInfData(EPPStatusSetData aStatusSet) Constructor forEPPStatusSetInfDatathat takes a single authentication token.EPPStatusSetInfData(List<EPPStatusSetData> aStatusSets) Constructor forEPPStatusSetInfDatathat a list of status sets. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStatusSet(EPPStatusSetData aStatusSet) Adds a status set to the list of status sets.clone()A deep clone of theEPPStatusSetInfData.voidPopulate the data of this instance with the data stored in the given Element of the DOM treeEncode of aEPPStatusSetInfDatainstance.booleanCompare an instance ofEPPStatusSetInfDatawith this instance.protected StringReturns the local name "infData" for the info response extension.Returns the XML namespace associated with theEPPCodecComponent.Gets the list of status sets if defined.booleanAre the status sets defined?voidsetStatusSets(List<EPPStatusSetData> aStatusSets) Sets the list of status sets.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPStatusSetInfData.- See Also:
-
ELM_NAME
XML root tag forEPPStatusSetInfData.- See Also:
-
-
Constructor Details
-
EPPStatusSetInfData
public EPPStatusSetInfData()Default constructor forEPPStatusSetInfData. -
EPPStatusSetInfData
Constructor forEPPStatusSetInfDatathat takes a single authentication token.- Parameters:
aStatusSet- A single status set
-
EPPStatusSetInfData
Constructor forEPPStatusSetInfDatathat a list of status sets.- Parameters:
aStatusSets- A list of status sets. Set tonullto unset.
-
-
Method Details
-
getLocalName
Returns the local name "infData" for the info response extension.- Returns:
- Local name "infData" for the info response extension.
-
hasStatusSets
public boolean hasStatusSets()Are the status sets defined?- Returns:
trueif the status sets are defined;falseotherwise.
-
getStatusSets
Gets the list of status sets if defined.- Returns:
- List of status sets if defined;
nullotherwise.
-
addStatusSet
Adds a status set to the list of status sets.- Parameters:
aStatusSet- The status set to add.
-
setStatusSets
Sets the list of status sets.- Parameters:
aStatusSets- The status sets to set. Set tonullto unset.
-
encode
Encode of aEPPStatusSetInfDatainstance.- 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 encodingEPPStatusSetInfData
-
decode
Populate the data of this instance with the data stored in the given Element of the DOM tree- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- The root element of the report fragment of XML- Throws:
EPPDecodeException- Thrown if any errors occur during decoding.
-
equals
Compare an instance ofEPPStatusSetInfDatawith this instance. -
clone
A deep clone of theEPPStatusSetInfData.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of concrete
EPPCodecComponent - Throws:
CloneNotSupportedException- standard Object.clone exception- See Also:
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent. -
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-