|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.verificationcode.RevokedVerificationCode
public class RevokedVerificationCode
A revoked verification code that includes the attributes:
Constructor Summary | |
---|---|
RevokedVerificationCode()
Default constructor. |
|
RevokedVerificationCode(java.lang.String aCode,
java.util.Date aRevokedDate)
Constructor that takes the required code and
revokedDate attribute values. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone RevokedVerificationCode . |
void |
decode(java.lang.String aLine)
|
java.lang.String |
encode()
Encodes the revoked verification code attributes into a revoked verification code line. |
boolean |
equals(java.lang.Object aObject)
Implements a deep RevokedVerificationCode compare. |
java.lang.String |
getCode()
Gets the revoked verification code value. |
java.util.Date |
getRevokedDate()
Gets the revocation datetime of the signed mark. |
void |
setCode(java.lang.String aCode)
Sets the revoked verification code value. |
void |
setRevokedDate(java.util.Date aRevokedDate)
Sets the revocation datetime of the signed mark. |
java.lang.String |
toString()
Implementation of Object.toString , which will result in
encoding the revoked verification code attributes into a revoked
verification code line. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RevokedVerificationCode()
code
and the
revokedDate
attributes must be set prior to calling
encode()
.
public RevokedVerificationCode(java.lang.String aCode, java.util.Date aRevokedDate)
code
and
revokedDate
attribute values.
aCode
- Verification codeaRevokedDate
- Revocation datetime of the verification code.Method Detail |
---|
public java.lang.String getCode()
public void setCode(java.lang.String aCode)
aCode
- Verification code valuepublic java.util.Date getRevokedDate()
public void setRevokedDate(java.util.Date aRevokedDate)
aRevokedDate
- Revocation datetime of the signed mark.public java.lang.String encode() throws EPPEncodeException
EPPEncodeException
- Error encoding the verification code line.public void decode(java.lang.String aLine) throws EPPDecodeException
EPPDecodeException
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
RevokedVerificationCode
.
clone
in class java.lang.Object
RevokedVerificationCode
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic boolean equals(java.lang.Object aObject)
RevokedVerificationCode
compare.
equals
in class java.lang.Object
aObject
- RevokedVerificationCode
instance to compare with
true
if equal false
otherwisepublic java.lang.String toString()
Object.toString
, which will result in
encoding the revoked verification code attributes into a revoked
verification code line. If there is an error encoding the verification
code line, a RuntimeException
is thrown.
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |