|
EPP 0.4.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.neulevel.epp.core.EppEntity
com.neulevel.epp.core.EppDataCollectionStatement
public class EppDataCollectionStatement
This EppDataCollectionStatement class implements EPP Data
Collection Statement for the Data Collection Policy (DCP) entity.
An EPP Data Collection Statement object contains 3 components:
| Field Summary | |
|---|---|
static java.lang.String |
PURPOSE_ADMIN
DCP Statement Purpose Type - admin |
static java.lang.String |
PURPOSE_CONTACT
DCP Statement Purpose Type - contact |
static java.lang.String |
PURPOSE_OTHER
DCP Statement Purpose Type - other |
static java.lang.String |
PURPOSE_PROV
DCP Statement Purpose Type - prov |
static java.lang.String |
RECIPIENT_OTHER
DCP Statement Recipient Type - other |
static java.lang.String |
RECIPIENT_OURS
DCP Statement Recipient Type - ours |
static java.lang.String |
RECIPIENT_PUBLIC
DCP Statement Recipient Type - public |
static java.lang.String |
RECIPIENT_SAME
DCP Statement Recipient Type - same |
static java.lang.String |
RECIPIENT_UNRELATED
DCP Statement Recipient Type - unrelated |
static java.lang.String |
RETENTION_BUSINESS
DCP Statement Retention Type - business |
static java.lang.String |
RETENTION_INDEFINITE
DCP Statement Retention Type - indefinite |
static java.lang.String |
RETENTION_LEGAL
DCP Statement Retention Type - legal |
static java.lang.String |
RETENTION_NONE
DCP Statement Retention Type - none |
static java.lang.String |
RETENTION_STATED
DCP Statement Retention Type - stated |
| Constructor Summary | |
|---|---|
EppDataCollectionStatement()
Creates an EppDataCollectionStatement object |
|
| Method Summary | |
|---|---|
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppDataCollectionStatement object. |
java.lang.String |
getOursReceiptientDesc()
Gets the description of "ours" recipient, when the RECIPIENT_OURS flag is set. |
boolean |
getPurpose(java.lang.String purpose)
Gets the flag of a statement purpose, for one of the following purpose types: PURPOSE_ADMIN PURPOSE_CONTACT PURPOSE_OTHER PURPOSE_PROV |
boolean |
getRecipient(java.lang.String recipient)
Gets the flag of a statement recipient, for one of the following recipient types: RECIPIENT_OTHER RECIPIENT_OURS RECIPIENT_PUBLIC RECIPIENT_SAME RECIPIENT_UNRELATED |
java.lang.String |
getRetention()
Gets the retention type, with one of the following values; RETENTION_BUSINESS RETENTION_INDEFINITE RETENTION_LEGAL RETENTION_NONE RETENTION_STATED |
void |
setOursRecipientDesc(java.lang.String desc)
Sets the description of "ours" recipient, when the RECIPIENT_OURS flag is set. |
void |
setPurpose(java.lang.String purpose,
boolean flag)
Sets the flag of a statement purpose, for one of the following purpose types: PURPOSE_ADMIN PURPOSE_CONTACT PURPOSE_OTHER PURPOSE_PROV |
void |
setRecipient(java.lang.String recipient,
boolean flag)
Sets the flag of a statement recipient, for one of the following recipient types: RECIPIENT_OTHER RECIPIENT_OURS RECIPIENT_PUBLIC RECIPIENT_SAME RECIPIENT_UNRELATED |
void |
setRetention(java.lang.String type)
Sets the retention type, with one of the following values: RETENTION_BUSINESS RETENTION_INDEFINITE RETENTION_LEGAL RETENTION_NONE RETENTION_STATED |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppDataCollectionStatement object into an XML element |
| Methods inherited from class com.neulevel.epp.core.EppEntity |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PURPOSE_ADMIN
Administrative purposes. Information can be used for administrative and technical support of the provisioning system.
public static final java.lang.String PURPOSE_CONTACT
Contact for marketing purposes. Information can be used to contact individuals, through a communications channel other than the protocol, for the promotion of a product or service.
public static final java.lang.String PURPOSE_PROV
Object provisioning purposes. Information can be used to identify objects and inter-object relationships.
public static final java.lang.String PURPOSE_OTHER
Other purposes. Information may be used in other ways not captured by the above definitions.
public static final java.lang.String RECIPIENT_OTHER
Other entities following unknown practices.
public static final java.lang.String RECIPIENT_OURS
Server operator and/or entities acting as agents or entities for whom the server operator is acting as an agent. An agent in this instance is defined as a third party that processes data only on behalf of the service provider for the completion of the stated purposes. An optional description string can be used to describe the recipient.
public static final java.lang.String RECIPIENT_PUBLIC
Public forums.
public static final java.lang.String RECIPIENT_SAME
Other entities following server practices.
public static final java.lang.String RECIPIENT_UNRELATED
Unrelated third parties.
public static final java.lang.String RETENTION_BUSINESS
Data persists per business practices.
public static final java.lang.String RETENTION_INDEFINITE
Data persists indefinitely.
public static final java.lang.String RETENTION_LEGAL
Data persists per legal requirements.
public static final java.lang.String RETENTION_NONE
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.
public static final java.lang.String RETENTION_STATED
Data persists to meet the stated purpose.
| Constructor Detail |
|---|
public EppDataCollectionStatement()
EppDataCollectionStatement object
| Method Detail |
|---|
public boolean getPurpose(java.lang.String purpose)
public void setPurpose(java.lang.String purpose,
boolean flag)
public boolean getRecipient(java.lang.String recipient)
public void setRecipient(java.lang.String recipient,
boolean flag)
public java.lang.String getOursReceiptientDesc()
public void setOursRecipientDesc(java.lang.String desc)
public java.lang.String getRetention()
public void setRetention(java.lang.String type)
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
java.lang.String tag)
EppDataCollectionStatement object into an XML element
toXML in class EppEntitydoc - the XML Document objecttag - the tag/element name for the EppDataCollectionStatement object
Element objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppDataCollectionStatement object.
The caller of this method must make sure that the root node is of
the EPP Data Collection Statment.type.
root - root node for an EppDataCollectionStatement object in
XML format
EppDataCollectionStatement object, or null if the node is
invalidpublic java.lang.String toString()
toString in class EppEntity
|
EPP 0.4.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||