EPP RTK
for Java v 0.7.2

org.openrtk.idl.epp0604
Class epp_dcpPurposeType

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

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

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

Four purpose types are defined: ADMIN, CONTACT, OTHER_PURPOSE, and PROV.

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

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

Field Summary
static int _ADMIN
          Integer value representing the ADMIN purpose type.
static int _CONTACT
          Integer value representing the CONTACT purpose type.
static int _OTHER_PURPOSE
          Integer value representing the OTHER_PURPOSE purpose type.
static int _PROV
          Integer value representing the PROV purpose type.
static epp_dcpPurposeType ADMIN
          Instance of epp_dcpPurposeType representing the CONTACT purpose type.
static epp_dcpPurposeType CONTACT
          Instance of epp_dcpPurposeType representing the CONTACT purpose type.
static epp_dcpPurposeType OTHER_PURPOSE
          Instance of epp_dcpPurposeType representing the OTHER_PURPOSE purpose type.
static epp_dcpPurposeType PROV
          Instance of epp_dcpPurposeType representing the PROV purpose type.
 
Constructor Summary
protected epp_dcpPurposeType(int value)
          For internal use only.
 
Method Summary
static epp_dcpPurposeType from_int(int value)
          Transform an integer into a epp_dcpPurposeType constant.
 java.lang.String toString()
           
 int value()
          Accessor method for the internal integer representing the data collection purpose type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_ADMIN

public static final int _ADMIN
Integer value representing the ADMIN purpose type.

See Also:
ADMIN, Constant Field Values

ADMIN

public static final epp_dcpPurposeType ADMIN
Instance of epp_dcpPurposeType representing the CONTACT purpose type.


_CONTACT

public static final int _CONTACT
Integer value representing the CONTACT purpose type.

See Also:
CONTACT, Constant Field Values

CONTACT

public static final epp_dcpPurposeType CONTACT
Instance of epp_dcpPurposeType representing the CONTACT purpose type.


_OTHER_PURPOSE

public static final int _OTHER_PURPOSE
Integer value representing the OTHER_PURPOSE purpose type.

See Also:
OTHER_PURPOSE, Constant Field Values

OTHER_PURPOSE

public static final epp_dcpPurposeType OTHER_PURPOSE
Instance of epp_dcpPurposeType representing the OTHER_PURPOSE purpose type.


_PROV

public static final int _PROV
Integer value representing the PROV purpose type.

See Also:
PROV, Constant Field Values

PROV

public static final epp_dcpPurposeType PROV
Instance of epp_dcpPurposeType representing the PROV purpose type.

Constructor Detail

epp_dcpPurposeType

protected epp_dcpPurposeType(int value)
For internal use only. Initializes the internal purpose type array.

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

value

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

Returns:
The integer value of this purpose type

from_int

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

Parameters:
value - The integer value for the desired purpose 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