Class EPPStatusSetInfo
java.lang.Object
com.verisign.epp.codec.statusset.v01.EPPStatusSetAuthTokenList
com.verisign.epp.codec.statusset.v01.EPPStatusSetInfo
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
TTL Info Extension that enables a client to indicate whether to include the
TTL policy attributes in the response.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumSets attribute enumeration with the values:
ASSIGNED- return the Status Sets directly assigned to or inherited by the EPP objectALL- return the Status Sets that are assigned to and available for the EPP object -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor forEPPStatusSetInfo.EPPStatusSetInfo(EPPAuthTokenData aAuthToken) Constructor forEPPStatusSetInfothat takes a single authentication token.Constructor forEPPStatusSetInfothat takes a single TTL.EPPStatusSetInfo(List<EPPAuthTokenData> aAuthTokens) Constructor forEPPStatusSetInfothat a list of authentication tokens -
Method Summary
Modifier and TypeMethodDescriptionclone()clone anEPPCodecComponent.voidDecode a DOM element tree to initialize the instance attributes.Encode of aEPPStatusSetInfoinstance that includes checks of the TTLs.booleanCompare an instance ofEPPStatusSetInfowith this instance.protected StringReturns the local name "info" for the info extension.Returns the XML namespace associated with theEPPCodecComponent.getSets()Gets the value of the sets attribute.voidsetSets(EPPStatusSetInfo.Sets aSets) sets the value of the sets attribute.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.Methods inherited from class com.verisign.epp.codec.statusset.v01.EPPStatusSetAuthTokenList
addAuthToken, getAuthTokens, hasAuthTokens, setAuthTokens
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPStatusSetInfo.- See Also:
-
ELM_NAME
XML root tag forEPPStatusSetInfo.- See Also:
-
-
Constructor Details
-
EPPStatusSetInfo
public EPPStatusSetInfo()Default constructor forEPPStatusSetInfo. -
EPPStatusSetInfo
Constructor forEPPStatusSetInfothat a list of authentication tokens- Parameters:
aAuthTokens- A list of authentication tokens. Can be set tonull
-
EPPStatusSetInfo
Constructor forEPPStatusSetInfothat takes a single authentication token.- Parameters:
aAuthToken- A single authentication token
-
EPPStatusSetInfo
Constructor forEPPStatusSetInfothat takes a single TTL.- Parameters:
aSets- Gets the assigned status sets or all possible status sets
-
-
Method Details
-
getLocalName
Returns the local name "info" for the info extension.- Specified by:
getLocalNamein classEPPStatusSetAuthTokenList- Returns:
- Local name "info" for the info extension.
-
getSets
Gets the value of the sets attribute.- Returns:
- One of the
Setsenumerated values with a default ofSets.ASSIGNED.
-
setSets
sets the value of the sets attribute.- Parameters:
aSets- One of theSetsenumerated values
-
encode
Encode of aEPPStatusSetInfoinstance that includes checks of the TTLs.- 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 encodingEPPStatusSetExtension
-
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
-
clone
clone anEPPCodecComponent.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPStatusSetAuthTokenList- Returns:
- clone of concrete
EPPStatusSetExtension - Throws:
CloneNotSupportedException- standard Object.clone exception
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classEPPStatusSetAuthTokenList- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-
equals
Compare an instance ofEPPStatusSetInfowith this instance.- Overrides:
equalsin classEPPStatusSetAuthTokenList- Parameters:
aObject- Object to compare with.- Returns:
trueif equal;falseotherwise.
-
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Returns:
- XML namespace for the
EPPCodecComponent.
-