public class EPPDefRegInfoResp extends EPPResponse
EPPDefRegInfoCmd
. When an <info> command has been
processed successfully, the EPP <resData> element MUST contain a
child <defReg:infData> element that identifies the defReg namespace
and the location of the defReg schema. The <defReg:infData> element
contains the following child elements: getName
and setName
to
get and set the defReg object.
getRoid
and setRoid
to get and
set the Roid.
getRegistrant
and setRegistrant
to get and
set the elements.
getTm
and
setTm
to get and set the trademark elements.
getTmCountry
and setTmCountry
to get and set
the elements.
getTmDate
and setTmDate
to get and set the
elements.
getAdminContact
and setAdminContact
to get and set the elements.
EPPDefRegStatus
description for a list of valid status values.
Use getStatus
and setStatus
to get and set
the elements.
getCreatedBy
and
setCreatedBy
to get and set the element.
getCreatedDate
and setCreatedDate
to get and set the element.
getExpirationDate
and setExpirationDate
to
get and set the element.
getLastUpdatedBy
and
setLastUpdatedBy
to get and set the element.
getLastUpdatedDate
and
setLastUpdatedDate
to get and set the element.
getLastTransferDate
and setLastTransferDate
to get and set the element.
getAuthInfo
and setAuthInfo
to get and set the
elements.
EPPDefRegInfoCmd
,
Serialized Formextensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED
Constructor and Description |
---|
EPPDefRegInfoResp()
EPPDefRegInfoResp default constructor. |
EPPDefRegInfoResp(EPPTransId aTransId,
EPPDefRegName aName,
java.lang.String aRoid,
java.lang.String aClientId)
EPPDefRegInfoResp constuctor that takes the required
attribute values as parameters. |
EPPDefRegInfoResp(EPPTransId aTransId,
EPPDefRegName aName,
java.lang.String aRoid,
java.lang.String aRegistrant,
java.lang.String aTm,
java.lang.String aTmCountry,
java.util.Date aTmDate,
java.lang.String aAdminContact,
java.util.Vector aSomeStatuses,
java.lang.String aClientId,
java.lang.String aCreatedBy,
java.util.Date aCreatedDate,
EPPAuthInfo aAuthInfo)
EPPDefRegInfoResp constuctor that takes the required
attribute and most used optional values as parameters. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPDefRegInfoResp . |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPDefRegInfoResp 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
EPPDefRegInfoResp instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPDefRegInfoResp with this
instance. |
java.lang.String |
getAdminContact()
Get the AdminContact informnation.
|
EPPAuthInfo |
getAuthInfo()
Get authorization information
|
java.lang.String |
getClientId()
Gets Client Id that created the defReg.
|
java.lang.String |
getCreatedBy()
Gets Create Id that created the defReg.
|
java.util.Date |
getCreatedDate()
Gets the date and time the defReg was created.
|
java.util.Date |
getExpirationDate()
Gets the expiration date and time of the defReg.
|
java.util.Date |
getLastTransferDate()
Gets the date and time of the last successful defReg transfer.
|
java.lang.String |
getLastUpdatedBy()
Gets the Client Id that last updated the defReg.
|
java.util.Date |
getLastUpdatedDate()
Gets the date and time of the last defReg update.
|
EPPDefRegName |
getName()
Gets the defReg name
|
java.lang.String |
getNamespace()
Gets the EPP command namespace associated with
EPPDefRegInfoResp . |
java.lang.String |
getRegistrant()
Get the registrant informnation.
|
java.lang.String |
getRoid()
Get roid.
|
java.util.Vector |
getStatuses()
Get the current associated statuses
|
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.
|
java.lang.String |
getType()
Gets the EPP response type associated with
EPPDefRegInfoResp . |
void |
setAdminContact(java.lang.String aAdminContact)
Set the AdminContact informnation.
|
void |
setAuthInfo(EPPAuthInfo newAuthInfo)
Set authorization information
|
void |
setClientId(java.lang.String aClientId)
Sets Client Id that created the defReg.
|
void |
setCreatedBy(java.lang.String aCreatedBy)
Sets Client Id that created the defReg.
|
void |
setCreatedDate(java.util.Date aDate)
Sets the date and time the defReg was created.
|
void |
setExpirationDate(java.util.Date aExpirationDate)
Sets the expiration date and time of the defReg.
|
void |
setLastTransferDate(java.util.Date aLastTransferDate)
Sets the last date and time the defReg was successfully transferred.
|
void |
setLastUpdatedBy(java.lang.String aLastUpdatedBy)
Sets the Client Id that last updated the defReg.
|
void |
setLastUpdatedDate(java.util.Date aLastUpdatedDate)
Sets the last date and time the defReg was updated.
|
void |
setName(EPPDefRegName aName)
Sets the defReg name.
|
void |
setRegistrant(java.lang.String aRegistrant)
Set the registrant informnation.
|
void |
setRoid(java.lang.String newRoid)
Set roid.
|
void |
setStatuses(java.util.Vector newStatuses)
Set associated statuses.
|
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 . |
addExtension, decode, encode, findDuplicateExtNamespaces, getExtension, getExtension, getExtensions, getMessageQueue, getMsgQueue, getMsgQueueCount, getMsgQueueDate, getMsgQueueMsg, getQDate, getResult, getResults, getTransId, hasExtension, hasExtensions, hasMessageQueue, hasMsgQueue, hasResultCode, isSuccess, setExtension, setExtensions, setMsgQueue, setResult, setResult, setResult, setResult, setResults, setTransId
public EPPDefRegInfoResp()
EPPDefRegInfoResp
default constructor. Must call required
setter methods before invoking encode
, which
include:setName
null
UNSPEC_PERIOD
null
.
null
.
null
.
null
.
setRoid
setStatuses
setCreatedBy
setCreatedDate
setTransId
public EPPDefRegInfoResp(EPPTransId aTransId, EPPDefRegName aName, java.lang.String aRoid, java.lang.String aClientId)
EPPDefRegInfoResp
constuctor that takes the required
attribute values as parameters.
The setter methods of the optional
attributes can be called before invoking encode
.aTransId
- Transaction Id associated with response.aName
- DefReg nameaRoid
- roidaClientId
- Expirate date of the defRegpublic EPPDefRegInfoResp(EPPTransId aTransId, EPPDefRegName aName, java.lang.String aRoid, java.lang.String aRegistrant, java.lang.String aTm, java.lang.String aTmCountry, java.util.Date aTmDate, java.lang.String aAdminContact, java.util.Vector aSomeStatuses, java.lang.String aClientId, java.lang.String aCreatedBy, java.util.Date aCreatedDate, EPPAuthInfo aAuthInfo)
EPPDefRegInfoResp
constuctor that takes the required
attribute and most used optional values as parameters.
The setter methods of the optional
attributes can be called before invoking encode
.aTransId
- Transaction Id associated with response.aName
- DefReg nameaRoid
- roidaRegistrant
- DefReg RegistrantaTm
- DefReg TradeMarkaTmCountry
- DefReg TradeMarkCountryaTmDate
- DefReg TradeMarkDateaAdminContact
- DefReg AdminContactaSomeStatuses
- Current status descriptors associated with the
defReg.aClientId
- Expirate date of the defRegaCreatedBy
- Client Id of Registrar that created the defRegaCreatedDate
- Date the defReg was createdaAuthInfo
- DOCUMENT ME!public java.util.Vector getStatuses()
public void setStatuses(java.util.Vector newStatuses)
newStatuses
- java.util.Vectorpublic java.lang.String getType()
EPPDefRegInfoResp
.getType
in class EPPResponse
EPPDefRegInfoResp.ELM_NAME
public java.lang.String getNamespace()
EPPDefRegInfoResp
.getNamespace
in interface EPPCodecComponent
getNamespace
in interface EPPMessage
getNamespace
in class EPPResponse
EPPDefRegMapFactory.NS
public boolean equals(java.lang.Object aObject)
EPPDefRegInfoResp
with this
instance.equals
in class EPPResponse
aObject
- Object to compare with.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPDefRegInfoResp
.clone
in interface EPPCodecComponent
clone
in class EPPResponse
EPPDefRegInfoResp
java.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 EPPResponse
String
if successful;
ERROR
otherwise.public EPPDefRegName getName()
null
otherwise.public void setName(EPPDefRegName aName)
aName
- DefReg Namepublic 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 void setAdminContact(java.lang.String aAdminContact)
aAdminContact
- DefReg AdminContactpublic EPPAuthInfo getAuthInfo()
public void setAuthInfo(EPPAuthInfo newAuthInfo)
newAuthInfo
- java.lang.Stringpublic void setClientId(java.lang.String aClientId)
aClientId
- Client Id that associated with the defReg.public java.lang.String getClientId()
null
otherwise.public java.lang.String getCreatedBy()
null
otherwise.public void setCreatedBy(java.lang.String aCreatedBy)
aCreatedBy
- Client Id that created the defReg.public java.util.Date getCreatedDate()
null
otherwise.public void setCreatedDate(java.util.Date aDate)
aDate
- Date and time the defReg was created.public java.util.Date getExpirationDate()
null
otherwise.public void setExpirationDate(java.util.Date aExpirationDate)
aExpirationDate
- Expiration date and time of the defReg.public java.lang.String getLastUpdatedBy()
null
otherwise.public void setLastUpdatedBy(java.lang.String aLastUpdatedBy)
aLastUpdatedBy
- Client Id String that last updated the defReg.public java.util.Date getLastUpdatedDate()
null
if the defReg has not been updated since
creation.null
otherwise.public void setLastUpdatedDate(java.util.Date aLastUpdatedDate)
aLastUpdatedDate
- Date and time of the last defReg update.public java.util.Date getLastTransferDate()
null
if the defReg has not been successfully
transferred since creation.null
otherwise.public void setLastTransferDate(java.util.Date aLastTransferDate)
aLastTransferDate
- Date and time of the last succesful transferpublic java.lang.String getRoid()
public void setRoid(java.lang.String newRoid)
newRoid
- java.lang.Stringprotected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPDefRegInfoResp
instance.doEncode
in class EPPResponse
aDocument
- DOM Document that is being built. Used as an Element
factory.EPPEncodeException
- Unable to encode EPPDefRegInfoResp
instance.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPDefRegInfoResp
attributes from the aElement
DOM Element tree.doDecode
in class EPPResponse
aElement
- Root DOM Element to decode
EPPDefRegInfoResp
from.EPPDecodeException
- Unable to decode aElement