EPP RTK
for Java v 0.7.2

org.openrtk.idl.epp0503.domain
Class epp_DomainContactType

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

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

Class defining constant instances of contact types for domains.

Used in conjunction with the epp_DomainContact class to indicate the type of the domain contact: ADMIN, BILLING, TECH.

Note that the registrant "contact" is not an epp_DomainContact. The registrant's contact id is associated with a domain directly as a String in such classes as epp_DomainCreateReq and epp_DomainUpdateChange.

$Header: /cvsroot/epp-rtk/epp-rtk/java/src/org/openrtk/idl/epp0503/domain/epp_DomainContactType.java,v 1.1 2003/03/21 16:18:28 tubadanm Exp $
$Revision: 1.1 $
$Date: 2003/03/21 16:18:28 $

See Also:
epp_DomainContact, Serialized Form

Field Summary
static int _ADMIN
          Integer value representing the ADMIN contact type.
static int _BILLING
          Integer value representing the BILLING contact type.
static int _TECH
          Integer value representing the TECH contact type.
static epp_DomainContactType ADMIN
          Contact instance of epp_DomainContactType representing the ADMIN contact type.
static epp_DomainContactType BILLING
          Contact instance of epp_DomainContactType representing the BILLING contact type.
static epp_DomainContactType TECH
          Contact instance of epp_DomainContactType representing the TECH contact type.
 
Constructor Summary
protected epp_DomainContactType(int value)
          For internal use only.
 
Method Summary
static epp_DomainContactType from_int(int value)
          Transform an integer into a epp_DomainContactType constant.
 java.lang.String toString()
           
 int value()
          Accessor method for the internal integer represent the type of contact.
 
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 contact type.

See Also:
ADMIN, Constant Field Values

ADMIN

public static final epp_DomainContactType ADMIN
Contact instance of epp_DomainContactType representing the ADMIN contact type. Used directly with epp_DomainContact.

See Also:
epp_DomainContact

_BILLING

public static final int _BILLING
Integer value representing the BILLING contact type.

See Also:
BILLING, Constant Field Values

BILLING

public static final epp_DomainContactType BILLING
Contact instance of epp_DomainContactType representing the BILLING contact type. Used directly with epp_DomainContact.

See Also:
epp_DomainContact

_TECH

public static final int _TECH
Integer value representing the TECH contact type.

See Also:
TECH, Constant Field Values

TECH

public static final epp_DomainContactType TECH
Contact instance of epp_DomainContactType representing the TECH contact type. Used directly with epp_DomainContact.

See Also:
epp_DomainContact
Constructor Detail

epp_DomainContactType

protected epp_DomainContactType(int value)
For internal use only. Initializes the internal contact type array.

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

value

public int value()
Accessor method for the internal integer represent the type of contact. Would compared with _ADMIN, _BILLING, _TECH.

Returns:
The integer value of this domain contact type

from_int

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

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