public class EPPRelatedDomainExtDomainData extends java.lang.Object implements EPPCodecComponent
Title: EPP 1.0 Related Domain - domain tag
Description: The EPPRelatedDomainExtDomainData object represents the
collection of domains that had been processed atomically. As XML, it is
represented by a
Copyright: Copyright (c) 2013
Company: VeriSign
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DELETE_DELETED
Constant for the delete result when the domain is deleted.
|
static java.lang.String |
DELETE_PENDING_DELETE |
Constructor and Description |
---|
EPPRelatedDomainExtDomainData()
EPPRelatedDomainExtDomainData default constructor. |
EPPRelatedDomainExtDomainData(java.lang.String aName)
Constructor which takes the name of domain.
|
EPPRelatedDomainExtDomainData(java.lang.String aName,
java.util.Date aExpirationDate)
Constructor which takes the name of domain and expiration date
|
EPPRelatedDomainExtDomainData(java.lang.String aName,
java.util.Date aCreationDate,
java.util.Date aExpirationDate)
Constructor which takes the name of domain, creation date and expiration
date
|
EPPRelatedDomainExtDomainData(java.lang.String aName,
java.lang.String aDeleteResult)
Constructor which takes the name of domain and deletion result
|
EPPRelatedDomainExtDomainData(java.lang.String aName,
java.lang.String aTransferStatus,
java.lang.String aRequestClient,
java.util.Date aRequestDate,
java.lang.String aActionClient,
java.util.Date aActionDate,
java.util.Date aExpirationDate)
Constructor which takes the name of domain, transfer status, request
client, request date, action client, action date and expiration date.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPRelatedDomainExtDomainData . |
void |
decode(org.w3c.dom.Element aElement)
Decode the
EPPRelatedDomainExtDomainData 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
EPPRelatedDomainExtDomainData instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPRelatedDomainExtDomainData with this
instance. |
java.lang.String |
getActionClient()
Gets the identifier of the client that SHOULD respond to the transfer
request.
|
java.util.Date |
getActionDate()
Gets the date and time of a required or completed response.
|
java.util.Date |
getCreatedDate()
Returns the createdDate
|
java.lang.String |
getDeleteResult()
Returns the deleteResult
|
java.util.Date |
getExpirationDate()
Gets the optional attribute that contains the end of the domain's validity
period if the transfer command caused or causes a change in the validity
period.
|
java.lang.String |
getName()
Gets the domain name
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
java.lang.String |
getRequestClient()
Gets the identifier of the client that initiated the transfer request.
|
java.util.Date |
getRequestDate()
Gets the date and time that the transfer was requested.
|
java.lang.String |
getTransferStatus()
Gets the state of the most recent transfer request.
|
boolean |
hasActionClient() |
boolean |
hasActionDate() |
boolean |
hasCreatedDate() |
boolean |
hasDeleteResult() |
boolean |
hasExpirationDate() |
boolean |
hasName() |
boolean |
hasRequestClient() |
boolean |
hasRequestDate() |
boolean |
hasTransferStatus() |
void |
setActionClient(java.lang.String aActionClient)
Sets the identifier of the client that SHOULD respond to the transfer
request.
|
void |
setActionDate(java.util.Date aActionDate)
Sets the date and time of a required or completed response.
|
void |
setCreatedDate(java.util.Date aCreatedDate)
Sets createdDate value to createdDate
|
void |
setDeleteResult(java.lang.String aDeleteResult)
Sets deleteResult value to deleteResult
|
void |
setExpirationDate(java.util.Date aExpirationDate)
Sets the optional attribute that contains the end of the domain's validity
period if the transfer command caused or causes a change in the validity
period.
|
void |
setName(java.lang.String aName)
Sets the domain name.
|
void |
setRequestClient(java.lang.String aRequestClient)
Sets the identifier of the client that initiated the transfer request.
|
void |
setRequestDate(java.util.Date aRequestDate)
Sets the date and time that the transfer was requested.
|
void |
setTransferStatus(java.lang.String aTransferStatus)
Sets the state of the most recent transfer request.
|
java.lang.String |
toString()
Implementation of
Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
public static final java.lang.String DELETE_DELETED
public static final java.lang.String DELETE_PENDING_DELETE
public EPPRelatedDomainExtDomainData()
EPPRelatedDomainExtDomainData
default constructor. Must call
required setter methods before invoking encode
, which
may include:setName
setRequestClient
setActionClient
setTransferStatus
setReqeustDate
setActionDate
setExpirationDate
setCreatedDate
setDeleteResult
public EPPRelatedDomainExtDomainData(java.lang.String aName)
aName
- public EPPRelatedDomainExtDomainData(java.lang.String aName, java.util.Date aCreationDate, java.util.Date aExpirationDate)
aName
- aCreationDate
- aExpirationDate
- public EPPRelatedDomainExtDomainData(java.lang.String aName, java.util.Date aExpirationDate)
aName
- aExpirationDate
- public EPPRelatedDomainExtDomainData(java.lang.String aName, java.lang.String aDeleteResult)
aName
- aDeleteResult
- public EPPRelatedDomainExtDomainData(java.lang.String aName, java.lang.String aTransferStatus, java.lang.String aRequestClient, java.util.Date aRequestDate, java.lang.String aActionClient, java.util.Date aActionDate, java.util.Date aExpirationDate)
aName
- aTransferStatus
- aRequestClient
- aRequestDate
- aActionClient
- aActionDate
- aExpirationDate
- public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPRelatedDomainExtDomainData
instance.encode
in interface EPPCodecComponent
aDocument
- DOM Document that is being built. Used as an Element factory.EPPRelatedDomainExtDomainData
instance.EPPEncodeException
- Unable to encode EPPRelatedDomainExtDomainData
instance.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPRelatedDomainExtDomainData
attributes from the
aElement DOM Element tree.decode
in interface EPPCodecComponent
aElement
- Root DOM Element to decode
EPPRelatedDomainExtDomainData
from.EPPDecodeException
- Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPRelatedDomainExtDomainData
with this
instance.equals
in class java.lang.Object
aObject
- Object to compare with.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPRelatedDomainExtDomainData
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPRelatedDomainExtDomainData
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 java.lang.Object
String
if successful; ERROR
otherwise.public java.lang.String getName()
null
otherwise.public void setName(java.lang.String aName)
aName
- Domain Namepublic java.lang.String getRequestClient()
String
if defined;
null
otherwise.public void setRequestClient(java.lang.String aRequestClient)
aRequestClient
- The Request Client Id String
public java.lang.String getActionClient()
String
if defined;
null
otherwise.public void setActionClient(java.lang.String aActionClient)
aActionClient
- The Action Client Id String
public java.lang.String getTransferStatus()
EPPResponse.TRANSFER
constants.String
if defined;
null
otherwise.public void setTransferStatus(java.lang.String aTransferStatus)
EPPResponse.TRANSFER
constants.aTransferStatus
- The transfer status String (EPPResponse.TRANSFER
)public java.util.Date getRequestDate()
null
otherwise.public void setRequestDate(java.util.Date aRequestDate)
aRequestDate
- The request date and timepublic java.util.Date getActionDate()
null
otherwise.public void setActionDate(java.util.Date aActionDate)
aActionDate
- The required or complete response data and time.public java.util.Date getExpirationDate()
null
otherwise.public void setExpirationDate(java.util.Date aExpirationDate)
aExpirationDate
- Transfer expiration data and time.public java.util.Date getCreatedDate()
public void setCreatedDate(java.util.Date aCreatedDate)
aCreatedDate
- the createdDate to setpublic java.lang.String getDeleteResult()
public void setDeleteResult(java.lang.String aDeleteResult)
aDeleteResult
- the deleteResult to setpublic boolean hasExpirationDate()
true
if expirationDate is not null.public boolean hasActionDate()
true
if actionDate is not null.public boolean hasActionClient()
true
if actionClient is not null.public boolean hasRequestDate()
true
if requestDate is not null.public boolean hasRequestClient()
true
if requestClient is not null.public boolean hasTransferStatus()
true
if transferStatus is not null.public boolean hasDeleteResult()
true
if deleteResult is not null.public boolean hasCreatedDate()
true
if createdDate is not null.public boolean hasName()
true
if name is not null.public java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.Copyright © VeriSign Inc. All Rights Reserved.