|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.gen.EPPStatement
public class EPPStatement
Describe data collection purposes, data recipients, and data retention. Each
<statement> element MUST contain a <purpose> element, a
<recipient> element, and a <retention> element
Use methods getPurpose
and setPurpose
to get and
set the purpose element(s), Use getRecipient
and
setRecipient
to get and set the recipient element. Use
methods getRetention>
and setRetention
to get and
set the retention element.
EPPDcp
,
Serialized FormField Summary | |
---|---|
static short |
RETENTION_BUSINESS
Constant used with the Retention attribute that means data persists per business practices. |
static short |
RETENTION_INDEFINITE
Constant used with the Retention attribute that means data persists indefinitely. |
static short |
RETENTION_LEGAL
Constant used with the Retention attribute that means data persists per legal requirements. |
static short |
RETENTION_NONE
Constant used with the Retention attribute that means Data is not persistent, and is not retained for more than a brief period of time necessary to make use of it during the course of a single online interaction |
static short |
RETENTION_STATED
Constant used with the Retention attribute that means Data persists to meet the stated purpose |
Constructor Summary | |
---|---|
EPPStatement()
Default constructor. |
|
EPPStatement(EPPRecipient aRecipient,
EPPPurpose aPurpose,
short aRetention)
Allocates a new EPPStatement and sets all of the required
attributes to the arguments values. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone EPPStatement . |
void |
decode(org.w3c.dom.Element aElement)
decode EPPStatement from a DOM element tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
encode EPPStatement into a DOM element tree. |
boolean |
equals(java.lang.Object aObject)
implements a EPPStatment compare. |
EPPPurpose |
getPurpose()
|
EPPRecipient |
getRecipient()
|
short |
getRetention()
|
void |
setPurpose(EPPPurpose apurpouse)
|
void |
setRecipient(EPPRecipient aRecipient)
|
void |
setRetention(short aRetention)
|
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 short RETENTION_BUSINESS
public static final short RETENTION_INDEFINITE
public static final short RETENTION_LEGAL
public static final short RETENTION_NONE
public static final short RETENTION_STATED
Constructor Detail |
---|
public EPPStatement()
public EPPStatement(EPPRecipient aRecipient, EPPPurpose aPurpose, short aRetention)
EPPStatement
and sets all of the required
attributes to the arguments values.
aRecipient
- Describes the recipients of collected dataaPurpose
- Describe the purposes for which data is collectedaRetention
- Describes data retention practices using one of the
RETENTION_
constants.Method Detail |
---|
public EPPRecipient getRecipient()
public void setRecipient(EPPRecipient aRecipient)
public EPPPurpose getPurpose()
public void setPurpose(EPPPurpose apurpouse)
public short getRetention()
public void setRetention(short aRetention)
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPStatement
into a DOM element tree. The
"statment" element is created and the attribute nodes are appended
as children.
encode
in interface EPPCodecComponent
aDocument
- DOM Document being built
EPPEncodeException
- Error encoding the DOM element tree.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPStatement
from a DOM element tree. The
aElement
argument needs to be the <statement> element
decode
in interface EPPCodecComponent
aElement
- root element tree.
EPPDecodeException
- Error decoding the DOM element tree.public boolean equals(java.lang.Object aObject)
EPPStatment
compare.
equals
in class java.lang.Object
aObject
- EPPStatement
instance to compare with
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPStatement
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPStatement
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 java.lang.Object
String
if successful;
ERROR
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |