org.openrtk.idl.epp0503.domain
Class epp_DomainPeriodUnitType
java.lang.Object
org.openrtk.idl.epp0503.domain.epp_DomainPeriodUnitType
- org.omg.CORBA.portable.IDLEntity
public class epp_DomainPeriodUnitType
extends java.lang.Object
implements org.omg.CORBA.portable.IDLEntity
Class defining constant instances of period unit types for domains.
Used in conjunction with the epp_DomainPeriod class to indicate the domain period.
$Header: /cvsroot/epp-rtk/epp-rtk/java/src/org/openrtk/idl/epp0503/domain/epp_DomainPeriodUnitType.java,v 1.1 2003/03/21 16:18:30 tubadanm Exp $
$Revision: 1.1 $
$Date: 2003/03/21 16:18:30 $
static epp_DomainPeriodUnitType | MONTH - Instance of epp_DomainPeriodUnitType representing the MONTH period unit type.
|
static epp_DomainPeriodUnitType | YEAR - Instance of epp_DomainPeriodUnitType representing the YEAR period unit type.
|
static int | _MONTH - Integer value representing the MONTH period unit type.
|
static int | _YEAR - Integer value representing the YEAR period unit type.
|
MONTH
public static final epp_DomainPeriodUnitType MONTH
Instance of epp_DomainPeriodUnitType representing the MONTH period unit type.
Used directly with epp_DomainPeriod.
YEAR
public static final epp_DomainPeriodUnitType YEAR
Instance of epp_DomainPeriodUnitType representing the YEAR period unit type.
Used directly with epp_DomainPeriod.
_MONTH
public static final int _MONTH
Integer value representing the MONTH period unit type.
_YEAR
public static final int _YEAR
Integer value representing the YEAR period unit type.
epp_DomainPeriodUnitType
protected epp_DomainPeriodUnitType(int value)
For internal use only.
Initializes the internal period unit type array.
value
- The integer value for the desired period unit type
from_int
public static epp_DomainPeriodUnitType from_int(int value)
Transform an integer into a epp_DomainPeriodUnitType constant.
Given the integer representation of the period unit type, returns
one of the period unit type constants.
value
- The integer value for the desired period unit type
toString
public String toString()
value
public int value()
Accessor method for the internal integer representing the unit type of period.
Would compared with _YEAR, _MONTH.
- The integer value of this domain registration period unit type
Copyright © 2001-2002 - Tucows, Inc., 2003 - LibertyRMS