EPP RTK
for Java v 0.7.2

org.openrtk.idl.epp0604
Class epp_Result

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

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

Class that contains the elements necessary to document the success or failure of an EPP command execution.

$Header: /cvsroot/epp-rtk/epp-rtk/java/src/org/openrtk/idl/epp0604/epp_Result.java,v 1.1 2003/03/21 15:54:24 tubadanm Exp $
$Revision: 1.1 $
$Date: 2003/03/21 15:54:24 $

See Also:
epp_Exception, epp_Response, Serialized Form

Field Summary
 short m_code
          The decimal number that describes the success or failure of an EPP command.
 epp_ResultData m_data
          The generic Result data.
 java.lang.String m_lang
          The language used to express the response message.
 java.lang.String m_msg
          The human-readable description of the response code.
 epp_ResultValue[] m_values
          The array of values that provide server error details.
 
Constructor Summary
epp_Result()
          Empty constructor
epp_Result(short _m_code, java.lang.String _m_msg, java.lang.String _m_lang, epp_ResultValue[] _m_values)
          The constructor with initializing variables.
epp_Result(short _m_code, java.lang.String _m_msg, java.lang.String _m_lang, epp_ResultValue[] _m_values, epp_ResultData _m_data)
          The constructor with initializing variables.
 
Method Summary
 short getCode()
          Accessor method for the decimal number that describes the success or failure of an EPP command
 epp_ResultData getData()
          Accessor method for the result data
 java.lang.String getLang()
          Accessor method for the language used to express the response message
 java.lang.String getMsg()
          Accessor method for the human-readable description of the response code
 epp_ResultValue[] getValues()
          Accessor method for the array of messages that provide server error details
 void setCode(short value)
          Accessor method for the decimal number that describes the success or failure of an EPP command
 void setData(epp_ResultData value)
          Accessor method for the result data
 void setLang(java.lang.String value)
          Accessor method for the language used to express the response message
 void setMsg(java.lang.String value)
          Accessor method for the human-readable description of the response code
 void setValues(epp_ResultValue[] value)
          Accessor method for the array of value that provide server error details
 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_code

public short m_code
The decimal number that describes the success or failure of an EPP command.

See Also:
setCode(short), getCode()

m_msg

public java.lang.String m_msg
The human-readable description of the response code.

See Also:
setMsg(String), getMsg()

m_lang

public java.lang.String m_lang
The language used to express the response message.

See Also:
setLang(String), getLang()

m_values

public epp_ResultValue[] m_values
The array of values that provide server error details.

See Also:
setValues(epp_ResultValue[]), getValues()

m_data

public epp_ResultData m_data
The generic Result data.

See Also:
setData(org.openrtk.idl.epp0604.epp_ResultData), getData()
Constructor Detail

epp_Result

public epp_Result()
Empty constructor


epp_Result

public epp_Result(short _m_code,
                  java.lang.String _m_msg,
                  java.lang.String _m_lang,
                  epp_ResultValue[] _m_values)
The constructor with initializing variables.

Parameters:
_m_code - The decimal number that describes the success or failure of an EPP command
_m_msg - The human-readable description of the response code
_m_lang - The language used to express the response message
_m_values - The array of messages that provide server error details

epp_Result

public epp_Result(short _m_code,
                  java.lang.String _m_msg,
                  java.lang.String _m_lang,
                  epp_ResultValue[] _m_values,
                  epp_ResultData _m_data)
The constructor with initializing variables.

Parameters:
_m_code - The decimal number that describes the success or failure of an EPP command
_m_msg - The human-readable description of the response code
_m_lang - The language used to express the response message
_m_values - The array of messages that provide server error details
_m_data - The generic result data.
Method Detail

setCode

public void setCode(short value)
Accessor method for the decimal number that describes the success or failure of an EPP command

Parameters:
value - The response code
See Also:
m_code

getCode

public short getCode()
Accessor method for the decimal number that describes the success or failure of an EPP command

Returns:
The response code
See Also:
m_code

setMsg

public void setMsg(java.lang.String value)
Accessor method for the human-readable description of the response code

Parameters:
value - The reponse code description
See Also:
m_msg

getMsg

public java.lang.String getMsg()
Accessor method for the human-readable description of the response code

Returns:
The response code description
See Also:
m_msg

setLang

public void setLang(java.lang.String value)
Accessor method for the language used to express the response message

Parameters:
value - The language of the response message
See Also:
m_lang

getLang

public java.lang.String getLang()
Accessor method for the language used to express the response message

Returns:
The language of the response message
See Also:
m_lang

setValues

public void setValues(epp_ResultValue[] value)
Accessor method for the array of value that provide server error details

Parameters:
value - The array of error details
See Also:
m_values

getValues

public epp_ResultValue[] getValues()
Accessor method for the array of messages that provide server error details

Returns:
The array of error details
See Also:
m_values

setData

public void setData(epp_ResultData value)
Accessor method for the result data

Parameters:
value - The generic result data
See Also:
m_data

getData

public epp_ResultData getData()
Accessor method for the result data

Returns:
The generic result data
See Also:
m_data

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