EPP RTK
for Java v 0.7.2

org.openrtk.idl.epp0705
Class epp_ExtResultValue

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

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

Extension to the epp_ResultValue class (though, not a subclass by the IDL). Incorporate the data of the epp_ResultValue via a "has-a" relation and adds a reason text.

$Header: /cvsroot/epp-rtk/epp-rtk/java/src/org/openrtk/idl/epp0705/epp_ExtResultValue.java,v 1.1 2003/03/20 22:42:18 tubadanm Exp $
$Revision: 1.1 $
$Date: 2003/03/20 22:42:18 $

See Also:
epp_Result.setExtValues(epp_ExtResultValue[]), Serialized Form

Field Summary
 java.lang.String m_reason
          The free-text reason for the error.
 epp_ResultValue m_value
          The offending XML element which caused the error response from the EPP server.
 
Constructor Summary
epp_ExtResultValue()
          The empty constructor
epp_ExtResultValue(epp_ResultValue _m_value, java.lang.String _m_reason)
          The constructor with parameters
 
Method Summary
 java.lang.String getReason()
          The accessor for retrieving the reason for the error.
 epp_ResultValue getValue()
          The accessor for retrieving the offencing XML element.
 void setReason(java.lang.String value)
          The accessor for setting the reason for the error.
 void setValue(epp_ResultValue value)
          The accessor for setting the offencing XML element.
 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_value

public epp_ResultValue m_value
The offending XML element which caused the error response from the EPP server.


m_reason

public java.lang.String m_reason
The free-text reason for the error.

Constructor Detail

epp_ExtResultValue

public epp_ExtResultValue()
The empty constructor


epp_ExtResultValue

public epp_ExtResultValue(epp_ResultValue _m_value,
                          java.lang.String _m_reason)
The constructor with parameters

Parameters:
_m_value - The offending XML element.
_m_reason - The reason for the error.
Method Detail

setValue

public void setValue(epp_ResultValue value)
The accessor for setting the offencing XML element.

Parameters:
value - The offending XML element

getValue

public epp_ResultValue getValue()
The accessor for retrieving the offencing XML element.

Returns:
value The offending XML element

setReason

public void setReason(java.lang.String value)
The accessor for setting the reason for the error.

Parameters:
value - The reason text

getReason

public java.lang.String getReason()
The accessor for retrieving the reason for the error.


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

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