public class EPPDefRegCreateCmd extends EPPCreateCmd
getName and setName to
get and set the defReg object.
getRegistrant and setRegistrant to get and
set the elements.
getPeriod and
setPeriod to get and set the element. If return
null, period has not been specified yet.
EPPDefRegCreateResp is the concrete EPPReponse
associated with EPPDefRegCreateCmd. EPPDefRegCreateResp,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
ATTR_LEVELID
XML Element roid attribute name of
EPPAuthInfo root
element. |
extensions, OP_APPROVE, OP_CANCEL, OP_QUERY, OP_REJECT, OP_REQUEST, transId, TYPE_CHECK, TYPE_CREATE, TYPE_DELETE, TYPE_INFO, TYPE_LOGIN, TYPE_LOGOUT, TYPE_POLL, TYPE_RENEW, TYPE_TRANSFER, TYPE_UPDATE| Constructor and Description |
|---|
EPPDefRegCreateCmd()
Allocates a new
EPPDefRegCreateCmd with default attribute
values. |
EPPDefRegCreateCmd(java.lang.String aTransId,
EPPDefRegName aDefRegName,
java.lang.String aRegistrant,
java.lang.String aTm,
java.lang.String aTmCountry,
java.util.Date aTmDate,
java.lang.String aAdminContact,
EPPDefRegPeriod aPeriod,
EPPAuthInfo aAuthInfo)
Allocates a new
EPPDefRegCreateCmd with all attributes
specified by the arguments. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clone
EPPDefRegCreateCmd. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the EPPDefRegCreateCmd attributes from the aElement DOM Element
tree.
|
protected org.w3c.dom.Element |
doEncode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the EPPDefRegCreateCmd
instance.
|
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPDefRegCreateCmd with this
instance. |
java.lang.String |
getAdminContact()
Get the AdminContact information.
|
EPPAuthInfo |
getAuthInfo()
Get authorization information
|
EPPDefRegName |
getDefRegName()
Get the EPPDefRegName information.
|
java.lang.String |
getNamespace()
Get the EPP command Namespace associated with EPPDefRegCreateCmd.
|
EPPDefRegPeriod |
getPeriod()
Gets the registration period in years.
|
java.lang.String |
getRegistrant()
Get the registrant information.
|
java.lang.String |
getTm()
Get the trademark information.
|
java.lang.String |
getTmCountry()
Get the trademark country information.
|
java.util.Date |
getTmDate()
Get the trademark date information.
|
void |
setAuthInfo(EPPAuthInfo newAuthInfo)
Set authorization information
|
void |
setDefRegName(EPPDefRegName aName)
Set the defRegName information.
|
void |
setPeriod(EPPDefRegPeriod aPeriod)
Sets the registration period in years.
|
void |
setRegistrant(java.lang.String aRegistrant)
Set the registrant information.
|
void |
setTm(java.lang.String aTm)
Set the trademark information.
|
void |
setTmCountry(java.lang.String aTmCountry)
Set the trademark country information.
|
void |
setTmDate(java.util.Date aTmDate)
Set the trademark date information.
|
java.lang.String |
toString()
Implementation of
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent. |
doGenDecode, doGenEncode, getTypeaddExtension, decode, encode, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransIdprotected static final java.lang.String ATTR_LEVELID
EPPAuthInfo root
element.public EPPDefRegCreateCmd()
EPPDefRegCreateCmd with default attribute
values. the defaults include the following: null
null
UNSPEC_PERIOD
null.
null.
null.
null.
encode.public EPPDefRegCreateCmd(java.lang.String aTransId,
EPPDefRegName aDefRegName,
java.lang.String aRegistrant,
java.lang.String aTm,
java.lang.String aTmCountry,
java.util.Date aTmDate,
java.lang.String aAdminContact,
EPPDefRegPeriod aPeriod,
EPPAuthInfo aAuthInfo)
EPPDefRegCreateCmd with all attributes
specified by the arguments.aTransId - Transaction Id associated with command.aDefRegName - EPPDefRegName nameaRegistrant - DefReg RegistrantaTm - DefReg TradeMarkaTmCountry - DefReg TradeMarkCountryaTmDate - DefReg TradeMarkDateaAdminContact - DefReg AdminContactaPeriod - DefReg Registration Period.aAuthInfo - EPPAuthInfo authorization informationpublic java.lang.String getNamespace()
getNamespace in interface EPPCodecComponentgetNamespace in interface EPPMessagegetNamespace in class EPPCommandEPPDefRegMapFactory.NSpublic EPPDefRegName getDefRegName()
public void setDefRegName(EPPDefRegName aName)
aName - EPPDefRegName name objectpublic java.lang.String getRegistrant()
public void setRegistrant(java.lang.String aRegistrant)
aRegistrant - DefReg registrantpublic 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 EPPAuthInfo getAuthInfo()
public EPPDefRegPeriod getPeriod()
public void setAuthInfo(EPPAuthInfo newAuthInfo)
newAuthInfo - java.lang.Stringpublic void setPeriod(EPPDefRegPeriod aPeriod)
aPeriod - Registration Period in years.public boolean equals(java.lang.Object aObject)
EPPDefRegCreateCmd with this
instance.equals in class EPPCreateCmdaObject - Object to compare with.public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPDefRegCreateCmd.clone in interface EPPCodecComponentclone in class EPPCommandEPPDefRegCreateCmdjava.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 EPPCommandString if successful;
ERROR otherwise.protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
doEncode in class EPPCreateCmdaDocument - DOM Document that is being built. Used as an Element
factory.EPPEncodeException - Unable to encode EPPDefRegCreateCmd
instance.protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
doDecode in class EPPCreateCmdaElement - Root DOM Element to decode EPPDefELM_DEFREGRegCreateCmd
from.EPPDecodeException - Unable to decode aElementCopyright © VeriSign Inc. All Rights Reserved.