EPP RTK
for Java v 0.7.2

org.openrtk.idl.epp0604.host
Class epp_HostAddressType

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

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

Class defining constant instances of IP address types for host.

Used in conjunction with the epp_HostAddress class to indicate the type of the host IP address: IPV4, IPV6.

$Header: /cvsroot/epp-rtk/epp-rtk/java/src/org/openrtk/idl/epp0604/host/epp_HostAddressType.java,v 1.1 2003/03/21 15:55:22 tubadanm Exp $
$Revision: 1.1 $
$Date: 2003/03/21 15:55:22 $

See Also:
epp_HostAddress, Serialized Form

Field Summary
static int _IPV4
          Integer value representing the IPV4 address type.
static int _IPV6
          Integer value representing the IPV6 address type.
static epp_HostAddressType IPV4
          Instance of epp_HostAddressType representing the IPV4 address type.
static epp_HostAddressType IPV6
          Instance of epp_HostAddressType representing the IPV6 address type.
 
Constructor Summary
protected epp_HostAddressType(int value)
          For internal use only.
 
Method Summary
static epp_HostAddressType from_int(int value)
          Transform an integer into a epp_HostAddressType constant.
 java.lang.String toString()
           
 int value()
          Accessor method for the internal integer representing the type of address.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_IPV4

public static final int _IPV4
Integer value representing the IPV4 address type.

See Also:
IPV4, Constant Field Values

IPV4

public static final epp_HostAddressType IPV4
Instance of epp_HostAddressType representing the IPV4 address type. Used directly with epp_HostAddress.

See Also:
epp_HostAddress

_IPV6

public static final int _IPV6
Integer value representing the IPV6 address type.

See Also:
IPV6, Constant Field Values

IPV6

public static final epp_HostAddressType IPV6
Instance of epp_HostAddressType representing the IPV6 address type. Used directly with epp_HostAddress.

See Also:
epp_HostAddress
Constructor Detail

epp_HostAddressType

protected epp_HostAddressType(int value)
For internal use only. Initializes the internal address type array.

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

value

public int value()
Accessor method for the internal integer representing the type of address.

Returns:
The integer value of this host address type

from_int

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

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