EPP RTK
for Java v 0.7.2

org.openrtk.idl.epp0604
Class epp_dcpRetentionType

java.lang.Object
  |
  +--org.openrtk.idl.epp0604.epp_dcpRetentionType
All Implemented Interfaces:
org.omg.CORBA.portable.IDLEntity, java.io.Serializable

public class epp_dcpRetentionType
extends java.lang.Object
implements org.omg.CORBA.portable.IDLEntity

Class defining constant instances of data retention types which describes EPP server's policy of data collection and management.

Five retention types are defined: BUSINESS, INDEFINITE, LEGAL, NONE and STATED.

$Header: /cvsroot/epp-rtk/epp-rtk/java/src/org/openrtk/idl/epp0604/epp_dcpRetentionType.java,v 1.1 2003/03/21 15:54:41 tubadanm Exp $
$Revision: 1.1 $
$Date: 2003/03/21 15:54:41 $

See Also:
epp_dcpStatement, com.tucows.oxrs.epp.rtk.xml.EPPGreeting, Serialized Form

Field Summary
static int _BUSINESS
          Integer value representing the BUSINESS retention type.
static int _INDEFINITE
          Integer value representing the INDEFINITE retention type.
static int _LEGAL
          Integer value representing the LEGAL retention type.
static int _NONE
          Integer value representing the NONE retention type.
static int _STATED
          Integer value representing the STATED retention type.
static epp_dcpRetentionType BUSINESS
          Instance of epp_dcpRetentionType representing the BUSINESS retention type.
static epp_dcpRetentionType INDEFINITE
          Instance of epp_dcpRetentionType representing the INDEFINITE retention type.
static epp_dcpRetentionType LEGAL
          Instance of epp_dcpRetentionType representing the LEGAL retention type.
static epp_dcpRetentionType NONE
          Instance of epp_dcpRetentionType representing the NONE retention type.
static epp_dcpRetentionType STATED
          Instance of epp_dcpRetentionType representing the STATED retention type.
 
Constructor Summary
protected epp_dcpRetentionType(int value)
          For internal use only.
 
Method Summary
static epp_dcpRetentionType from_int(int value)
          Transform an integer into a epp_dcpRetentionType constant.
 java.lang.String toString()
           
 int value()
          Accessor method for the internal integer representing the data retention type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_BUSINESS

public static final int _BUSINESS
Integer value representing the BUSINESS retention type.

See Also:
BUSINESS, Constant Field Values

BUSINESS

public static final epp_dcpRetentionType BUSINESS
Instance of epp_dcpRetentionType representing the BUSINESS retention type.


_INDEFINITE

public static final int _INDEFINITE
Integer value representing the INDEFINITE retention type.

See Also:
INDEFINITE, Constant Field Values

INDEFINITE

public static final epp_dcpRetentionType INDEFINITE
Instance of epp_dcpRetentionType representing the INDEFINITE retention type.


_LEGAL

public static final int _LEGAL
Integer value representing the LEGAL retention type.

See Also:
LEGAL, Constant Field Values

LEGAL

public static final epp_dcpRetentionType LEGAL
Instance of epp_dcpRetentionType representing the LEGAL retention type.


_NONE

public static final int _NONE
Integer value representing the NONE retention type.

See Also:
NONE, Constant Field Values

NONE

public static final epp_dcpRetentionType NONE
Instance of epp_dcpRetentionType representing the NONE retention type.


_STATED

public static final int _STATED
Integer value representing the STATED retention type.

See Also:
STATED, Constant Field Values

STATED

public static final epp_dcpRetentionType STATED
Instance of epp_dcpRetentionType representing the STATED retention type.

Constructor Detail

epp_dcpRetentionType

protected epp_dcpRetentionType(int value)
For internal use only. Initializes the internal retention type array.

Parameters:
value - The integer value for the desired retention type
Method Detail

value

public int value()
Accessor method for the internal integer representing the data retention type.

Returns:
The integer value of this retention type

from_int

public static epp_dcpRetentionType from_int(int value)
Transform an integer into a epp_dcpRetentionType constant. Given the integer representation of the retention type, returns one of the retention type constants.

Parameters:
value - The integer value for the desired retention type

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

EPP RTK
for Java v 0.7.2

Copyright ? 2001-2002 - Tucows, Inc., 2003 - LibertyRMS