|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.launch.EPPLaunchNotice
public class EPPLaunchNotice
Class to hold the launch notice information including the notice identifier, the expiration (not after) date and time, and the date and time the claims notice was accepted.
Field Summary | |
---|---|
static java.lang.String |
ELM_LOCALNAME
Constant for the local name |
static java.lang.String |
ELM_NAME
Constant for the tag name |
Constructor Summary | |
---|---|
EPPLaunchNotice()
Default constructor for EPPLaunchNotice . |
|
EPPLaunchNotice(java.lang.String aNoticeId,
java.util.Date aNotAfterDate,
java.util.Date aAcceptedDate)
Constructor that takes all of he attributes of the EPPLaunchNotice . |
|
EPPLaunchNotice(java.lang.String aNoticeId,
java.util.Date aNotAfterDate,
java.util.Date aAcceptedDate,
java.lang.String aValidatorId)
Constructor that takes all of he attributes of the EPPLaunchNotice . |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone EPPLaunchNotice . |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPLaunchNotice component |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Sets all this instance's data in the given XML document |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPLaunchNotice compare. |
java.util.Date |
getAcceptedDate()
Gets the date and time that the claims notice was displayed or accepted. |
java.util.Date |
getNotAfterDate()
Gets the date and time of expiration of the claims notice. |
java.lang.String |
getNoticeId()
Gets the unique notice identifier of the claims notice. |
java.lang.String |
getValidatorId()
Gets the OPTIONAL Validator Identifier, which is the unique identifier for the Trademark Validator used for the Trademark Claims Notice information. |
boolean |
hasValidatorId()
Is the Validator Identifier defined? |
void |
setAcceptedDate(java.util.Date aAcceptedDate)
Sets the date and time that the claims notice was displayed or accepted. |
void |
setNotAfterDate(java.util.Date aNotAfterDate)
Sets the date and time of expiration of the claims notice. |
void |
setNoticeId(java.lang.String aNoticeId)
Sets the unique notice identifier of the claims notice. |
void |
setValidatorId(java.lang.String aValidatorId)
Sets the OPTIONAL Validator Identifier, which is the unique identifier for the Trademark Validator used for the Trademark Claims Notice information. |
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 java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ELM_LOCALNAME
public static final java.lang.String ELM_NAME
Constructor Detail |
---|
public EPPLaunchNotice()
EPPLaunchNotice
.
public EPPLaunchNotice(java.lang.String aNoticeId, java.util.Date aNotAfterDate, java.util.Date aAcceptedDate)
EPPLaunchNotice
.
aNoticeId
- Unique notice identifier of the claims noticeaNotAfterDate
- Date and time of the expiration of the claims noticeaAcceptedDate
- Date and time when the notice was displayed or acceptedpublic EPPLaunchNotice(java.lang.String aNoticeId, java.util.Date aNotAfterDate, java.util.Date aAcceptedDate, java.lang.String aValidatorId)
EPPLaunchNotice
.
aNoticeId
- Unique notice identifier of the claims noticeaNotAfterDate
- Date and time of the expiration of the claims noticeaAcceptedDate
- Date and time when the notice was displayed or acceptedaValidatorId
- Identifier of the Trademark Validator used to query for
the Claims Notice information.Method Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPLaunchNotice
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPLaunchNotice
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
encode
in interface EPPCodecComponent
aDocument
- a DOM Document to attach data to.
EPPEncodeException
- Thrown if any errors prevent encoding.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPLaunchNotice
component
decode
in interface EPPCodecComponent
aElement
- Root element of the EPPLaunchNotice
EPPDecodeException
- Error decoding the EPPLaunchNotice
public boolean equals(java.lang.Object aObject)
EPPLaunchNotice
compare.
equals
in class java.lang.Object
aObject
- EPPLaunchNotice
instance to compare with
public java.lang.String getNoticeId()
null
otherwise.public void setNoticeId(java.lang.String aNoticeId)
aNoticeId
- Unique notice identifierpublic java.lang.String getValidatorId()
null
otherwise
to indicate to use the ICANN TMCH.public void setValidatorId(java.lang.String aValidatorId)
aValidatorId
- Validator Identifier, where null
or a value
of "tmch" can be specified to indicate the use of the ICANN TMCH.public boolean hasValidatorId()
true
if the Validator Identifier is defined;
false
otherwise.public java.util.Date getNotAfterDate()
null
otherwise.public void setNotAfterDate(java.util.Date aNotAfterDate)
aNotAfterDate
- Date and time of expiration of the claims notice.public java.util.Date getAcceptedDate()
null
otherwise.public void setAcceptedDate(java.util.Date aAcceptedDate)
aAcceptedDate
- Date and time that the claims notice was displayed or
accepted.public 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |