public class EPPDefRegAddRemove extends java.lang.Object implements EPPCodecComponent
EPPDefRegUpdateCmd. In EPPDefRegUpdateCmd, an
instance of EPPDefRegAddRemove is used to specify the
attributes to add; an instance of EPPDefRegAddRemove is used
to specify the attributes to remove, and an instance of
EPPDefRegAddRemove is used to specify the attributes to changechange only, A optional <defReg:registrant> element
that contains the identifier for the human or organizational social
information (contact) object to be associated with the defReg object as the
object registrant. This object identifier MUST be known to the server
before the contact object can be associated with the defReg object. Use
getRegistrant and setRegistrant to get and set
the element.
change only, A optional <defReg:tm> element that
contains trademark information to be associated with the defReg object. Use
getTm and setTm to get and set the element.
change only, A optional <defReg:tmcountry> element
that contains trademark country information to be associated with the
defReg object. Use getTmCountry and setTmCountry
to get and set the element.
change only, A optional <defReg:tmdate> element that
contains tradeamark date information to be associated with the defReg
object. Use getTmDate and setTmDate to get and
set the element.
change only, An OPTIONAL <defReg:admincontact>
element that contains the defreg forwardTo addresses. Use
getAdminContact and setAdminContact to get and
set the Admin Contacts.
change only, An OPTIONAL <defReg:authInfo> element
that contains authorization information to be associated with the defReg
object.
EPPDefRegAddRemove will delegate the
validation of the cardinality of the defReg attributes elements to the
EPP Server.EPPDefRegUpdateCmd,
Serialized Form| Constructor and Description |
|---|
EPPDefRegAddRemove()
Default constructor for
EPPDefRegAddRemove. |
EPPDefRegAddRemove(java.lang.String aRegistrant,
java.lang.String aTm,
java.lang.String aTmCountry,
java.util.Date aTmDate,
java.lang.String aAdminContact,
EPPAuthInfo aAuthInfo)
Constructor for
EPPDefRegAddRemove that includes the
attributes as arguments. |
EPPDefRegAddRemove(java.util.Vector aStatuses)
Constructor for
EPPDefRegAddRemove that includes the
attributes as arguments. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clone
EPPDefRegAddRemove. |
void |
decode(org.w3c.dom.Element aElement)
Decode the
EPPDefRegAddRemove attributes from the aElement
DOM Element tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the
EPPDefRegAddRemove instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPDefRegAddRemove compare. |
java.lang.String |
getAdminContact()
Get AdminContact Address
|
EPPAuthInfo |
getAuthInfo()
Get authorization information for the change mode
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent. |
java.lang.String |
getRegistrant()
Get registrant for the change mode
|
java.util.Vector |
getStatuses()
Gets the statuses to add or remove.
|
java.lang.String |
getTm()
Get the trademark informnation.
|
java.lang.String |
getTmCountry()
Get the trademark country informnation.
|
java.util.Date |
getTmDate()
Get the trademark date informnation.
|
void |
setAdminContact(java.lang.String newAdminContact)
Set forwardTo Address for the change mode
|
void |
setAuthInfo(EPPAuthInfo newAuthInfo)
Set authorization information for the change mode
|
void |
setRegistrant(java.lang.String newRegistrant)
Set registrant for the change mode
|
void |
setStatuses(java.util.Vector aStatuses)
Sets the statuses to add or remove.
|
void |
setTm(java.lang.String aTm)
Set the trademark informnation.
|
void |
setTmCountry(java.lang.String aTmCountry)
Set the trademark country informnation.
|
void |
setTmDate(java.util.Date aTmDate)
Set the trademark date informnation.
|
java.lang.String |
toString()
Implementation of
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent. |
public EPPDefRegAddRemove()
EPPDefRegAddRemove. All of the
attribute default to null to indicate no modification.public EPPDefRegAddRemove(java.util.Vector aStatuses)
EPPDefRegAddRemove that includes the
attributes as arguments.aStatuses - Vector statusespublic EPPDefRegAddRemove(java.lang.String aRegistrant,
java.lang.String aTm,
java.lang.String aTmCountry,
java.util.Date aTmDate,
java.lang.String aAdminContact,
EPPAuthInfo aAuthInfo)
EPPDefRegAddRemove that includes the
attributes as arguments.aRegistrant - String registrant for the change
modeaTm - DefReg TradeMarkaTmCountry - DefReg TradeMarkCountryaTmDate - DefReg TradeMarkDateaAdminContact - String registrant AdminContactaAuthInfo - EPPAuthInfo authorization information
for the change modepublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPDefRegAddRemove instance.encode in interface EPPCodecComponentaDocument - DOM Document that is being built. Used as an Element
factory.EPPDefRegAddRemove instance.EPPEncodeException - Unable to encode
EPPDefRegAddRemove instance.public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPDefRegAddRemove attributes from the aElement
DOM Element tree.decode in interface EPPCodecComponentaElement - Root DOM Element to decode
EPPDefRegAddRemove from.EPPDecodeException - Unable to decode aElement.public boolean equals(java.lang.Object aObject)
EPPDefRegAddRemove compare.equals in class java.lang.ObjectaObject - EPPDefRegAddRemove instance to compare withpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPDefRegAddRemove.clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPDefRegAddRemovejava.lang.CloneNotSupportedException - standard Object.clone exceptionpublic java.lang.String toString()
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent.toString in class java.lang.ObjectString if successful;
ERROR otherwise.public EPPAuthInfo getAuthInfo()
public java.lang.String getRegistrant()
public java.lang.String getTm()
public void setTm(java.lang.String aTm)
aTm - DefReg registrantpublic java.lang.String getTmCountry()
public void setTmCountry(java.lang.String aTmCountry)
aTmCountry - DefReg trademark countrypublic java.util.Date getTmDate()
public void setTmDate(java.util.Date aTmDate)
aTmDate - DefReg trademark datepublic java.lang.String getAdminContact()
public void setAuthInfo(EPPAuthInfo newAuthInfo)
newAuthInfo - com.verisign.epp.codec.defReg.EPPDefRegAuthInfopublic void setRegistrant(java.lang.String newRegistrant)
newRegistrant - java.lang.Stringpublic void setAdminContact(java.lang.String newAdminContact)
newAdminContact - java.lang.Stringpublic java.util.Vector getStatuses()
EPPDefRegStatus.STATUS_ constants can be used for the
statuses.String instances.public void setStatuses(java.util.Vector aStatuses)
EPPDefRegStatus.STATUS_ constants can be used for the
statuses.aStatuses - Vector of status String instances.public java.lang.String getNamespace()
EPPCodecComponent.getNamespace in interface EPPCodecComponentEPPCodecComponent.Copyright © VeriSign Inc. All Rights Reserved.