EPP RTK
for Java v 0.5.0

org.openrtk.idl.epp.domain
Class epp_DomainPeriod

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

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

Class that contains the elements used to represent domain registration period.

$Header: /cvsroot/epp-rtk/epp-rtk/java/src/org/openrtk/idl/epp/domain/epp_DomainPeriod.java,v 1.7 2001/12/04 22:31:06 lyin Exp $
$Revision: 1.7 $
$Date: 2001/12/04 22:31:06 $

See Also:
epp_DomainCreateReq, epp_DomainRenewReq, epp_DomainTransferReq, Serialized Form

Field Summary
 epp_DomainPeriodUnitType m_unit
          The unit type of the domain registration period.
 short m_value
          The value of the domain registration period.
 
Constructor Summary
epp_DomainPeriod()
          Empty constructor
epp_DomainPeriod(epp_DomainPeriodUnitType _m_unit, short _m_value)
          The constructor with initializing variables.
 
Method Summary
 epp_DomainPeriodUnitType getUnit()
          Accessor method for the unit type of the domain registration period
 short getValue()
          Accessor method for the value of the domain registration period
 void setUnit(epp_DomainPeriodUnitType value)
          Accessor method for the unit type of the domain registration period
 void setValue(int value)
          Accessor method for the value of the domain registration period
 void setValue(short value)
          Accessor method for the value of the domain registration period
 java.lang.String toString()
          Converts this class into a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_unit

public epp_DomainPeriodUnitType m_unit
The unit type of the domain registration period.
See Also:
setUnit(org.openrtk.idl.epp.domain.epp_DomainPeriodUnitType), getUnit()

m_value

public short m_value
The value of the domain registration period.
See Also:
setValue(short), getValue()
Constructor Detail

epp_DomainPeriod

public epp_DomainPeriod()
Empty constructor

epp_DomainPeriod

public epp_DomainPeriod(epp_DomainPeriodUnitType _m_unit,
                        short _m_value)
The constructor with initializing variables.
Parameters:
_m_unit - The unit type of the domain registration period
_m_value - The value of the domain registration period
Method Detail

setUnit

public void setUnit(epp_DomainPeriodUnitType value)
Accessor method for the unit type of the domain registration period
Parameters:
value - The unit type of period
See Also:
m_unit

getUnit

public epp_DomainPeriodUnitType getUnit()
Accessor method for the unit type of the domain registration period
Returns:
The unit type of period
See Also:
m_unit

setValue

public void setValue(short value)
Accessor method for the value of the domain registration period
Parameters:
value - The value of period
See Also:
m_value

setValue

public void setValue(int value)
Accessor method for the value of the domain registration period
Parameters:
value - The value of period
See Also:
m_value

getValue

public short getValue()
Accessor method for the value of the domain registration period
Returns:
The value of period
See Also:
m_value

toString

public java.lang.String toString()
Converts this class into a string. Typically used to view the object in debug output.
Overrides:
toString in class java.lang.Object
Returns:
The string representation of this object instance

EPP RTK
for Java v 0.5.0

Copyright © 2001 - Tucows, Inc.