public class EPPLaunchNotice extends java.lang.Object implements EPPCodecComponent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
Constant for the local name
|
static java.lang.String |
ELM_NAME
Constant for the tag name
|
Constructor and Description |
---|
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 . |
Modifier and Type | Method and Description |
---|---|
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.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
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 . |
public static final java.lang.String ELM_LOCALNAME
public static final java.lang.String ELM_NAME
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.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
componentdecode
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 withpublic 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.public java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.