public class EPPValidateCheckCmd extends EPPCheckCmd
EPPValidateCheckCmd is used for the Validate Check Command, that
is used for the validation of contact and eligibility data.EPPValidateCheckResp,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_LOCALNAME
Constant for the name verification check command
|
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 |
|---|
EPPValidateCheckCmd()
EPPValidateCheckCmd default constructor. |
EPPValidateCheckCmd(java.lang.String aTransId)
EPPValidateCheckCmd constructor with just the client transaction
identifier. |
EPPValidateCheckCmd(java.lang.String aTransId,
EPPValidateContact aContact)
EPPValidateCheckCmd constructor that will check an individual
contact. |
EPPValidateCheckCmd(java.lang.String aTransId,
java.util.List<EPPValidateContact> aContacts)
EPPValidateCheckCmd constructor that will check a list of
contacts. |
| Modifier and Type | Method and Description |
|---|---|
void |
addContact(EPPValidateContact aContact)
Add a contact to the list of contacts to validate.
|
java.lang.Object |
clone()
Clone
EPPValidateCheckCmd. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPValidateCheckCmd 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
EPPValidateCheckCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPValidateCheckCmd with this instance. |
java.util.List<EPPValidateContact> |
getContacts()
Gets contacts to validate.
|
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with
EPPValidateCheckCmd
. |
boolean |
hasContacts()
Is there any contacts set?
|
void |
setContact(EPPValidateContact aContact)
Sets individual contact to validate.
|
void |
setLabels(java.util.List<EPPValidateContact> aContacts)
Sets contacts to validate.
|
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, findDuplicateExtNamespaces, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransIdpublic static final java.lang.String ELM_LOCALNAME
public EPPValidateCheckCmd()
EPPValidateCheckCmd default constructor.public EPPValidateCheckCmd(java.lang.String aTransId)
EPPValidateCheckCmd constructor with just the client transaction
identifier.aTransId - Transaction Id associated with command.public EPPValidateCheckCmd(java.lang.String aTransId,
EPPValidateContact aContact)
EPPValidateCheckCmd constructor that will check an individual
contact.aTransId - Transaction Id associated with command.aContact - Contact to validatepublic EPPValidateCheckCmd(java.lang.String aTransId,
java.util.List<EPPValidateContact> aContacts)
EPPValidateCheckCmd constructor that will check a list of
contacts.aTransId - Transaction Id associated with command.aContacts - List of labels to checkpublic java.lang.String getNamespace()
EPPValidateCheckCmd
.getNamespace in interface EPPCodecComponentgetNamespace in interface EPPMessagegetNamespace in class EPPCommandEPPValidateMapFactory.NSpublic boolean equals(java.lang.Object aObject)
EPPValidateCheckCmd with this instance.equals in class EPPCheckCmdaObject - Object to compare with.true if equal; false otherwise.public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPValidateCheckCmd.clone in interface EPPCodecComponentclone in class EPPCommandEPPValidateCheckCmdjava.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.public boolean hasContacts()
true if there is at least one EPPValidateContact
set; false otherwise.public void setContact(EPPValidateContact aContact)
aContact - Contact to validatepublic java.util.List<EPPValidateContact> getContacts()
public void setLabels(java.util.List<EPPValidateContact> aContacts)
aContacts - Contacts to validate.public void addContact(EPPValidateContact aContact)
aContact - Contact to addprotected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPValidateCheckCmd instance.doEncode in class EPPCheckCmdaDocument - DOM Document that is being built. Used as an Element factory.EPPValidateCheckCmd instance.EPPEncodeException - Unable to encode EPPValidateCheckCmd instance.protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPValidateCheckCmd attributes from the aElement DOM
Element tree.doDecode in class EPPCheckCmdaElement - Root DOM Element to decode EPPValidateCheckCmd from.EPPDecodeException - Unable to decode aElement