org.openrtk.idl.epp0705

Class epp_dcpPurposeType

Implemented Interfaces:
org.omg.CORBA.portable.IDLEntity

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/epp0705/epp_dcpPurposeType.java,v 1.2 2003/09/10 21:29:59 tubadanm Exp $
$Revision: 1.2 $
$Date: 2003/09/10 21:29:59 $
See Also:
epp_dcpStatement, EPPGreeting

Field Summary

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.
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.

Constructor Summary

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.
String
toString()
int
value()
Accessor method for the internal integer representing the data collection purpose type.

Field Details

ADMIN

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

CONTACT

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

OTHER_PURPOSE

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

PROV

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

_ADMIN

public static final int _ADMIN
Integer value representing the ADMIN purpose type.
Field Value:
0

_CONTACT

public static final int _CONTACT
Integer value representing the CONTACT purpose type.
Field Value:
1

_OTHER_PURPOSE

public static final int _OTHER_PURPOSE
Integer value representing the OTHER_PURPOSE purpose type.
Field Value:
2

_PROV

public static final int _PROV
Integer value representing the PROV purpose type.
Field Value:
3

Constructor Details

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 Details

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 String toString()

value

public int value()
Accessor method for the internal integer representing the data collection purpose type.
Returns:
The integer value of this purpose type

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