Class EPPSecDNSExtUpdate
- java.lang.Object
-
- com.verisign.epp.codec.secdnsext.v10.EPPSecDNSExtUpdate
-
- All Implemented Interfaces:
EPPCodecComponent,java.io.Serializable,java.lang.Cloneable
public class EPPSecDNSExtUpdate extends java.lang.Object implements EPPCodecComponent
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) 2006
Company: VeriSign
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringADD_ELM_NAMEElement tag name for the addstatic java.lang.StringCHG_ELM_NAMEElement tag name for the chgstatic java.lang.StringELM_NAMEElement tag name for the updatestatic java.lang.StringREM_ELM_NAMEElement tag name for the rem
-
Constructor Summary
Constructors Constructor Description EPPSecDNSExtUpdate()Instantiate a new instance of EPPSecDNSExtUpdateEPPSecDNSExtUpdate(java.util.List addDsData, java.util.List chgDsData, java.util.List remKeyTag)Creates a new instance of theEPPSecDNSExtUpdatewith the add, chg, and rem elements.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendAdd(EPPSecDNSExtDsData dsData)Add/Append to theListof DS DataEPPSecDNSExtDsDatainstances to addvoidappendChg(EPPSecDNSExtDsData dsData)Add/Append to theListof DS DataEPPSecDNSExtDsDatainstances to chgvoidappendRem(int keyTag)Add/Append to theListof DS keyTagIntegerinstances specifying keyTag to remvoidappendRem(EPPSecDNSExtDsData dsData)Add/Append to theListof DS keyTagIntegerinstances specifying keyTag to rem.voidappendRem(java.lang.Integer keyTag)Add/Append to theListof DS keyTagIntegerinstances specifying keyTag to remjava.lang.Objectclone()CloneEPPSecDNSExtUpdate.voiddecode(org.w3c.dom.Element aElement)Populate the data of this instance with the data stored in the given Element of the DOM treeorg.w3c.dom.Elementencode(org.w3c.dom.Document aDocument)Append all data from this secDNS update to the given DOM Documentbooleanequals(java.lang.Object aObject)implements a deepEPPSecDNSExtUpdatecompare.java.util.ListgetAdd()Get theListof DS DataEPPSecDNSExtDsDatainstances to addjava.util.ListgetChg()Get theListof DS DataEPPSecDNSExtDsDatainstances to chgjava.lang.StringgetNamespace()The namespace associated with this secDNS update.java.util.ListgetRem()Get theListof DS keyTagIntegerinstances specifying keyTag to rembooleanisUrgent()Is the update request urgent?voidsetAdd(java.util.List addDsData)Set theListof DS DataEPPSecDNSExtDsDatainstances to addvoidsetChg(java.util.List chgDsData)Set theListof DS DataEPPSecDNSExtDsDatainstances to chgvoidsetRem(java.util.List remKeyTag)Set theListof DS keyTagIntegerinstances specifying keyTag to remvoidsetUrgent(boolean urgent)Sets the urgent attribute.
-
-
-
Field Detail
-
ELM_NAME
public static final java.lang.String ELM_NAME
Element tag name for the update- See Also:
- Constant Field Values
-
ADD_ELM_NAME
public static final java.lang.String ADD_ELM_NAME
Element tag name for the add- See Also:
- Constant Field Values
-
CHG_ELM_NAME
public static final java.lang.String CHG_ELM_NAME
Element tag name for the chg- See Also:
- Constant Field Values
-
REM_ELM_NAME
public static final java.lang.String REM_ELM_NAME
Element tag name for the rem- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPSecDNSExtUpdate
public EPPSecDNSExtUpdate()
Instantiate a new instance of EPPSecDNSExtUpdate
-
EPPSecDNSExtUpdate
public EPPSecDNSExtUpdate(java.util.List addDsData, java.util.List chgDsData, java.util.List remKeyTag)Creates a new instance of theEPPSecDNSExtUpdatewith the add, chg, and rem elements.- Parameters:
addDsData-Listof DS DataEPPSecDNSExtDsDatainstances to addchgDsData-Listof DS DataEPPSecDNSExtDsDatainstances to chgremKeyTag-Listof DS keyTagIntegerinstances specifying keyTag to rem
-
-
Method Detail
-
getNamespace
public java.lang.String getNamespace()
The namespace associated with this secDNS update.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- The namespace associated with secDNS component
-
encode
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeExceptionAppend 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
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeExceptionPopulate 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
public boolean equals(java.lang.Object aObject)
implements a deepEPPSecDNSExtUpdatecompare.- Overrides:
equalsin classjava.lang.Object- Parameters:
aObject-EPPSecDNSExtUpdateinstance to compare with- Returns:
- true if equal false otherwise
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionCloneEPPSecDNSExtUpdate.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classjava.lang.Object- Returns:
- clone of
EPPSecDNSExtUpdate - Throws:
java.lang.CloneNotSupportedException- standard Object.clone exception
-
getAdd
public java.util.List getAdd()
Get theListof DS DataEPPSecDNSExtDsDatainstances to add- Returns:
ListofEPPSecDNSExtDsDatainstances
-
setAdd
public void setAdd(java.util.List addDsData)
Set theListof DS DataEPPSecDNSExtDsDatainstances to add- Parameters:
addDsData-ListofEPPSecDNSExtDsDatainstances
-
appendAdd
public void appendAdd(EPPSecDNSExtDsData dsData)
Add/Append to theListof DS DataEPPSecDNSExtDsDatainstances to add- Parameters:
dsData-EPPSecDNSExtDsDatainstance
-
getChg
public java.util.List getChg()
Get theListof DS DataEPPSecDNSExtDsDatainstances to chg- Returns:
ListofEPPSecDNSExtDsDatainstances
-
setChg
public void setChg(java.util.List chgDsData)
Set theListof DS DataEPPSecDNSExtDsDatainstances to chg- Parameters:
chgDsData-ListofEPPSecDNSExtDsDatainstances
-
appendChg
public void appendChg(EPPSecDNSExtDsData dsData)
Add/Append to theListof DS DataEPPSecDNSExtDsDatainstances to chg- Parameters:
dsData-EPPSecDNSExtDsDatainstance
-
getRem
public java.util.List getRem()
Get theListof DS keyTagIntegerinstances specifying keyTag to rem- Returns:
ListofIntegerinstances specifying keyTag to rem
-
setRem
public void setRem(java.util.List remKeyTag)
Set theListof DS keyTagIntegerinstances specifying keyTag to rem- Parameters:
remKeyTag-ListofIntegerinstances specifying keyTag to rem
-
appendRem
public void appendRem(java.lang.Integer keyTag)
Add/Append to theListof DS keyTagIntegerinstances specifying keyTag to rem- Parameters:
keyTag- anIntegerinstance representing secDNS:keyTag
-
appendRem
public void appendRem(int keyTag)
Add/Append to theListof DS keyTagIntegerinstances specifying keyTag to rem- Parameters:
keyTag- anintvalue representing secDNS:keyTag
-
appendRem
public void appendRem(EPPSecDNSExtDsData dsData)
Add/Append to theListof DS keyTagIntegerinstances specifying keyTag to rem. This convenience method will extract the secDNS:keyTag element from theEPPSecDNSExtDsDataprovided.- Parameters:
dsData-EPPSecDNSExtDsDatainstance specifying keyTag to rem
-
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.
-
-