|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.gen.EPPCommand
com.verisign.epp.codec.gen.EPPCreateCmd
com.verisign.epp.codec.emailFwd.EPPEmailFwdCreateCmd
public class EPPEmailFwdCreateCmd
Represents an EPP EmailFwd <create> command, which provides a
transform operation that allows a client to create a emailFwd object.
In addition to the standard EPP command elements, the <create>
command MUST contain a <emailFwd:create> element that identifies the
emailFwd namespace and the location of the emailFwd schema. The
<emailFwd:create> element MUST contain the following child
elements:
getName and
setName to get and set the element.
getEmailForwardTo and setEmailForwardTo to
get and set the forwardTo addresses.
getPeriod and
setPeriod to get and set the element. If return
null, period has not been specified yet.
getRegistrant and
setRegistrant to get and set the elements.
getContacts and setContacts to get and set
the elements. Contacts should only be specified if the Contact Mapping
is supported.
EPPEmailFwdCreateResp is the concrete EPPReponse
associated with EPPEmailFwdCreateCmd.
EPPEmailFwdCreateResp,
Serialized Form| Field Summary |
|---|
| Fields inherited from class com.verisign.epp.codec.gen.EPPCommand |
|---|
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 Summary | |
|---|---|
EPPEmailFwdCreateCmd()
Allocates a new EPPEmailFwdCreateCmd with default attribute
values. |
|
EPPEmailFwdCreateCmd(java.lang.String aTransId,
java.lang.String aName,
java.lang.String aForwardTo,
EPPAuthInfo aAuthInfo)
Allocates a new EPPEmailFwdCreateCmd with a emailFwd name. |
|
EPPEmailFwdCreateCmd(java.lang.String aTransId,
java.lang.String aName,
java.lang.String aForwardTo,
java.util.Vector someContacts,
EPPEmailFwdPeriod aPeriod,
EPPAuthInfo aAuthInfo)
Allocates a new EPPEmailFwdCreateCmd with all attributes
specified by the arguments. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone EPPEmailFwdCreateCmd. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the EPPEmailFwdCreateCmd 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 EPPEmailFwdCreateCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPEmailFwdCreateCmd with this
instance. |
EPPAuthInfo |
getAuthInfo()
Get authorization information |
java.util.Vector |
getContacts()
Gets the contacts. |
java.lang.String |
getForwardTo()
Get the emailFwd to. |
java.lang.String |
getName()
Get the emailFwd name to create. |
java.lang.String |
getNamespace()
Get the EPP command Namespace associated with EPPEmailFwdCreateCmd. |
EPPEmailFwdPeriod |
getPeriod()
Gets the registration period in years. |
java.lang.String |
getRegistrant()
Get registrant. |
void |
setAuthInfo(EPPAuthInfo newAuthInfo)
Set authorization information |
void |
setContacts(java.util.Vector aContacts)
Sets the contacts. |
void |
setForwardTo(java.lang.String aForwardTo)
Set the emailFwd name to create. |
void |
setName(java.lang.String aName)
Set the emailFwd name to create. |
void |
setPeriod(EPPEmailFwdPeriod aPeriod)
Sets the registration period in years. |
void |
setRegistrant(java.lang.String newRegistrant)
Set registrant. |
java.lang.String |
toString()
Implementation of Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent. |
| Methods inherited from class com.verisign.epp.codec.gen.EPPCreateCmd |
|---|
doGenDecode, doGenEncode, getType |
| Methods inherited from class com.verisign.epp.codec.gen.EPPCommand |
|---|
addExtension, decode, encode, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransId |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EPPEmailFwdCreateCmd()
EPPEmailFwdCreateCmd with default attribute
values. the defaults include the following: null
null
UNSPEC_PERIOD
null
null.
encode.
public EPPEmailFwdCreateCmd(java.lang.String aTransId,
java.lang.String aName,
java.lang.String aForwardTo,
EPPAuthInfo aAuthInfo)
EPPEmailFwdCreateCmd with a emailFwd name.
The other attributes are initialized as follows: UNSPEC_PERIOD
null
null
aTransId - Transaction Id associated with command.aName - EmailFwd nameaForwardTo - EmailFwdTo addressaAuthInfo - EPPAuthInfo authorization information
public EPPEmailFwdCreateCmd(java.lang.String aTransId,
java.lang.String aName,
java.lang.String aForwardTo,
java.util.Vector someContacts,
EPPEmailFwdPeriod aPeriod,
EPPAuthInfo aAuthInfo)
EPPEmailFwdCreateCmd with all attributes
specified by the arguments.
aTransId - Transaction Id associated with command.aName - EmailFwd nameaForwardTo - EmailFwdTo namesomeContacts - EmailFwd contacts. Should be null if
the Contact Mapping is not supported.aPeriod - Value greater than or equal to MIN_PERIOD or
less than or equal to MAX_PERIOD.aAuthInfo - EPPAuthInfo authorization information| Method Detail |
|---|
public java.lang.String getNamespace()
getNamespace in interface EPPMessagegetNamespace in class EPPCommandEPPEmailFwdMapFactory.NSpublic java.lang.String getName()
public java.lang.String getForwardTo()
public void setName(java.lang.String aName)
aName - EmailFwd Namepublic void setForwardTo(java.lang.String aForwardTo)
aForwardTo - EmailFwd Namepublic java.util.Vector getContacts()
EPPEmailFwdContact instances if defined;
null otherwise.public void setContacts(java.util.Vector aContacts)
aContacts - DOCUMENT ME!public boolean equals(java.lang.Object aObject)
EPPEmailFwdCreateCmd with this
instance.
equals in class EPPCreateCmdaObject - Object to compare with.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPEmailFwdCreateCmd.
clone in interface EPPCodecComponentclone in class EPPCommandEPPEmailFwdCreateCmd
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 EPPCommandString if successful;
ERROR otherwise.public EPPAuthInfo getAuthInfo()
public EPPEmailFwdPeriod getPeriod()
public java.lang.String getRegistrant()
public void setAuthInfo(EPPAuthInfo newAuthInfo)
newAuthInfo - java.lang.Stringpublic void setPeriod(EPPEmailFwdPeriod aPeriod)
aPeriod - Registration Period in years.public void setRegistrant(java.lang.String newRegistrant)
newRegistrant - java.lang.String
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 EPPEmailFwdCreateCmd
instance.
protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
doDecode in class EPPCreateCmdaElement - Root DOM Element to decode EPPEmailFwdCreateCmd from.
EPPDecodeException - Unable to decode aElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||