Class EPPStatusSetCreate
java.lang.Object
com.verisign.epp.codec.statusset.v02.EPPStatusSetAuthTokenList
com.verisign.epp.codec.statusset.v02.EPPStatusSetCreate
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
Status Set Create Extension that enables a client to pass an optional list of
authentication tokens to authorize the create with an optional list of
status set names to initially assign.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor forEPPStatusSetCreate.EPPStatusSetCreate(EPPAuthTokenData aAuthToken) Constructor forEPPStatusSetCreatethat takes a single authentication token.EPPStatusSetCreate(EPPStatusSet aStatusSet) Constructor forEPPStatusSetCreatethat assigns a single status set.EPPStatusSetCreate(String aStatusSet) Constructor forEPPStatusSetCreatethat assigns a single status set by name.EPPStatusSetCreate(List<EPPAuthTokenData> aAuthTokens) Constructor forEPPStatusSetCreatethat a list of authentication token.EPPStatusSetCreate(List<EPPAuthTokenData> aAuthTokens, List<EPPStatusSet> aStatusSets) Constructor forEPPStatusSetCreatethat a list of authentication tokens and a list of status sets to initially set. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStatusSet(EPPStatusSet aStatusSet) Adds a status set to the list of status sets.voidaddStatusSet(String aStatusSet) Adds a status set by name to the list of status sets.clone()clone anEPPCodecComponent.voidDecode a DOM element tree to initialize the instance attributes.Encode of aEPPStatusSetCreateinstancebooleanCompare an instance ofEPPStatusSetCreatewith this instance.protected StringReturns the local name "create" for the create extension.Returns the XML namespace associated with theEPPCodecComponent.Gets the list of status sets if defined.booleanAre the status sets defined?voidsetStatusSets(List<EPPStatusSet> aStatusSets) Sets the list of status sets.Methods inherited from class com.verisign.epp.codec.statusset.v02.EPPStatusSetAuthTokenList
addAuthToken, getAuthTokens, hasAuthTokens, setAuthTokens, toString
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPStatusSetCreate.- See Also:
-
ELM_NAME
XML root tag forEPPStatusSetCreate.- See Also:
-
-
Constructor Details
-
EPPStatusSetCreate
public EPPStatusSetCreate()Default constructor forEPPStatusSetCreate. -
EPPStatusSetCreate
Constructor forEPPStatusSetCreatethat assigns a single status set by name.- Parameters:
aStatusSet- A single status set name
-
EPPStatusSetCreate
Constructor forEPPStatusSetCreatethat assigns a single status set.- Parameters:
aStatusSet- A single status set
-
EPPStatusSetCreate
Constructor forEPPStatusSetCreatethat a list of authentication tokens and a list of status sets to initially set.- Parameters:
aAuthTokens- A list of authentication tokens. Can be set tonullaStatusSets- A list of status sets to initially set
-
EPPStatusSetCreate
Constructor forEPPStatusSetCreatethat takes a single authentication token.- Parameters:
aAuthToken- A single authentication token
-
EPPStatusSetCreate
Constructor forEPPStatusSetCreatethat a list of authentication token.- Parameters:
aAuthTokens- A list of authentication tokens
-
-
Method Details
-
getLocalName
Returns the local name "create" for the create extension.- Specified by:
getLocalNamein classEPPStatusSetAuthTokenList- Returns:
- Local name "create" for the create 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; empty list otherwise.
-
addStatusSet
Adds a status set by name to the list of status sets.- Parameters:
aStatusSet- The status set name to add.
-
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.
-
encode
Encode of aEPPStatusSetCreateinstance- Specified by:
encodein interfaceEPPCodecComponent- Overrides:
encodein classEPPStatusSetAuthTokenList- Parameters:
aDocument- DOM Document, which acts is an Element factory- Returns:
- Element Root element associated with the object
- Throws:
EPPEncodeException- Error encodingEPPStatusSetCreate
-
decode
Decode 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- Overrides:
decodein classEPPStatusSetAuthTokenList- Parameters:
aElement-Elementto decode- Throws:
EPPDecodeException- Error decodingElement
-
equals
Compare an instance ofEPPStatusSetCreatewith this instance.- Overrides:
equalsin classEPPStatusSetAuthTokenList- Parameters:
aObject- Object to compare with.- Returns:
trueif equal;falseotherwise.
-
clone
clone anEPPCodecComponent.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPStatusSetAuthTokenList- Returns:
- clone of concrete
EPPStatusSetExtension - Throws:
CloneNotSupportedException- standard Object.clone exception
-
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Returns:
- XML namespace for the
EPPCodecComponent.
-