Class EPPSecDNSExtUpdate
java.lang.Object
com.verisign.epp.codec.secdnsext.v11.EPPSecDNSExtUpdate
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
The EPPSecDNSExtUpdate is the EPPCodecComponent that knows how to encode and
decode secDNS update elements from/to XML and object instance.
Title: EPP 1.0 secDNS
Description: secDNS Extension to the EPP SDK
Copyright: Copyright (c) 2010
Company: VeriSign
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringElement tag name for the addstatic final StringElement tag name for the chgstatic final StringThe element tag name for maxSigLifestatic final StringElement tag name for the updatestatic final StringElement tag name for the remstatic final intMaximum maxSigLife valuestatic final intMinimum maxSigLife valuestatic final intUnspecified maxSigLife value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendAddDsData(EPPSecDNSExtDsData aDsData) Appends to theListof DS DataEPPSecDNSExtDsDatainstances to add.voidappendAddKeyData(EPPSecDNSExtKeyData aKeyData) Appends to theListof Key DataEPPSecDNSExtKeyDatainstances to add.voidappendRemDsData(EPPSecDNSExtDsData aDsData) Appends to theListof DS DataEPPSecDNSExtDsDatainstances to remove.voidappendRemKeyData(EPPSecDNSExtKeyData aKeyData) Appends to theListof Key DataEPPSecDNSExtKeyDatainstances to remove.clone()CloneEPPSecDNSExtUpdate.voidPopulate the data of this instance with the data stored in the given Element of the DOM treeAppend all data from this secDNS update to the given DOM Documentbooleanimplements a deepEPPSecDNSExtUpdatecompare.Gets the dsData add list.Gets the keyData add list.intGet secDNS:maxSigLife valueThe namespace associated with this secDNS update.Gets the dsData remove list.Gets the keyData remove list.booleanIs there dsData contained in the dsData add list?booleanIs there keyData contained in the keyData add list?booleanhasChg()Is there are change (chg) element included in the update.booleanDoes secDNS:chg include optional secDNS:maxSigLife?booleanIs there dsData contained in the dsData remove list?booleanIs there keyData contained in the keyData remove list?booleanRemove all DS / Key Data?booleanisUrgent()Is the update request urgent?voidsetAddDsData(List<EPPSecDNSExtDsData> aAddDsData) Sets theListof DS DataEPPSecDNSExtDsDatainstances to add.voidsetAddKeyData(List<EPPSecDNSExtKeyData> aAddKeyData) Sets theListof Key DataEPPSecDNSExtKeyDatainstances to add.voidsetMaxSigLife(int maxSigLife) Set secDNS:maxSigLife valuevoidsetRemAllData(boolean aRemAllData) Sets the flag for removing all DS / Key Data.voidsetRemDsData(List<EPPSecDNSExtDsData> aRemDsData) Sets theListof DS DataEPPSecDNSExtDsDatainstances to remove.voidsetRemKeyData(List<EPPSecDNSExtKeyData> aRemKeyData) Sets theListof Key DataEPPSecDNSExtKeyDatainstances to remove.voidsetUrgent(boolean urgent) Sets the urgent attribute.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
UNSPEC_MAX_SIG_LIFE
public static final int UNSPEC_MAX_SIG_LIFEUnspecified maxSigLife value- See Also:
-
MIN_MAX_SIG_LIFE
public static final int MIN_MAX_SIG_LIFEMinimum maxSigLife value- See Also:
-
MAX_MAX_SIG_LIFE
public static final int MAX_MAX_SIG_LIFEMaximum maxSigLife value- See Also:
-
ELM_NAME
Element tag name for the update- See Also:
-
ELM_ADD
Element tag name for the add- See Also:
-
ELM_CHG
Element tag name for the chg- See Also:
-
ELM_REM
Element tag name for the rem- See Also:
-
ELM_MAX_SIG_LIFE
The element tag name for maxSigLife- See Also:
-
-
Constructor Details
-
EPPSecDNSExtUpdate
public EPPSecDNSExtUpdate()Instantiate a new instance of EPPSecDNSExtUpdate
-
-
Method Details
-
getNamespace
The namespace associated with this secDNS update.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- The namespace associated with secDNS component
-
encode
Append all data from this secDNS update to the given DOM Document- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- The DOM Document to append data to- Returns:
- Encoded DOM
Element - Throws:
EPPEncodeException- Thrown when errors occur during the encode attempt or if the instance is invalid.
-
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
implements a deepEPPSecDNSExtUpdatecompare. -
clone
CloneEPPSecDNSExtUpdate.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPSecDNSExtUpdate - Throws:
CloneNotSupportedException- standard Object.clone exception
-
hasAddDsData
public boolean hasAddDsData()Is there dsData contained in the dsData add list?- Returns:
trueif add list ofEPPSecDNSExtDsDatais notnulland not empty;falseotherwise.
-
getAddDsData
Gets the dsData add list.- Returns:
Listof dsDataEPPSecDNSExtDsDatainstances if defined;nullotherwise.
-
setAddDsData
Sets theListof DS DataEPPSecDNSExtDsDatainstances to add.- Parameters:
aAddDsData-ListofEPPSecDNSExtDsDatainstances
-
appendAddDsData
Appends to theListof DS DataEPPSecDNSExtDsDatainstances to add.- Parameters:
aDsData-EPPSecDNSExtDsDatainstance
-
hasRemDsData
public boolean hasRemDsData()Is there dsData contained in the dsData remove list?- Returns:
trueif remove list ofEPPSecDNSExtDsDatais notnulland not empty;falseotherwise.
-
getRemDsData
Gets the dsData remove list.- Returns:
Listof dsDataEPPSecDNSExtDsDatainstances if defined;nullotherwise.
-
setRemDsData
Sets theListof DS DataEPPSecDNSExtDsDatainstances to remove.- Parameters:
aRemDsData-ListofEPPSecDNSExtDsDatainstances
-
appendRemDsData
Appends to theListof DS DataEPPSecDNSExtDsDatainstances to remove.- Parameters:
aDsData-EPPSecDNSExtDsDatainstance
-
setRemAllData
public void setRemAllData(boolean aRemAllData) Sets the flag for removing all DS / Key Data.- Parameters:
aRemAllData-trueto remove all DS / Key Data;falseotherwise.
-
isRemAllData
public boolean isRemAllData()Remove all DS / Key Data?- Returns:
trueto remove all DS / Key Data;falseotherwise.
-
hasAddKeyData
public boolean hasAddKeyData()Is there keyData contained in the keyData add list?- Returns:
trueif add list ofEPPSecDNSExtKeyDatais notnulland not empty;falseotherwise.
-
getAddKeyData
Gets the keyData add list.- Returns:
Listof keyDataEPPSecDNSExtKeyDatainstances if defined;nullotherwise.
-
setAddKeyData
Sets theListof Key DataEPPSecDNSExtKeyDatainstances to add.- Parameters:
aAddKeyData-ListofEPPSecDNSExtKeyDatainstances
-
appendAddKeyData
Appends to theListof Key DataEPPSecDNSExtKeyDatainstances to add.- Parameters:
aKeyData-EPPSecDNSExtKeyDatainstance
-
hasRemKeyData
public boolean hasRemKeyData()Is there keyData contained in the keyData remove list?- Returns:
trueif remove list ofEPPSecDNSExtKeyDatais notnulland not empty;falseotherwise.
-
getRemKeyData
Gets the keyData remove list.- Returns:
Listof dsDataEPPSecDNSExtKeyDatainstances if defined;nullotherwise.
-
setRemKeyData
Sets theListof Key DataEPPSecDNSExtKeyDatainstances to remove.- Parameters:
aRemKeyData-ListofEPPSecDNSExtKeyDatainstances
-
appendRemKeyData
Appends to theListof Key DataEPPSecDNSExtKeyDatainstances to remove.- Parameters:
aKeyData-EPPSecDNSExtKeyDatainstance
-
isUrgent
public boolean isUrgent()Is the update request urgent?- Returns:
- Returns
trueif the client has asked the server operator to process the update command with a high priority;falseotherwise.
-
setUrgent
public void setUrgent(boolean urgent) Sets the urgent attribute.- Parameters:
urgent- The urgent value to set.
-
getMaxSigLife
public int getMaxSigLife()Get secDNS:maxSigLife value- Returns:
- an
intvalue representing secDNS:maxSigLife - See Also:
-
setMaxSigLife
public void setMaxSigLife(int maxSigLife) Set secDNS:maxSigLife value- Parameters:
maxSigLife- anintvalue representing secDNS:maxSigLife
-
hasMaxSigLife
public boolean hasMaxSigLife()Does secDNS:chg include optional secDNS:maxSigLife?- Returns:
- true if secDNS:maxSigLife is specified, otherwise false
- See Also:
-
hasChg
public boolean hasChg()Is there are change (chg) element included in the update. Currently the only change element is secDNS:maxSigLife.- Returns:
trueif a change element is defined;falseotherwise.
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-