EPP RTK
for Java v 0.7.2

org.openrtk.idl.epp0402
Class epp_Result

java.lang.Object
  |
  +--org.openrtk.idl.epp0402.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/epp0402/epp_Result.java,v 1.1 2003/03/21 16:35:39 tubadanm Exp $
$Revision: 1.1 $
$Date: 2003/03/21 16:35:39 $

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.
 java.lang.String m_id
          The identifier of the service message dequeued from the server by the client.
 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.
 java.lang.String[] m_values
          The array of messages 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, java.lang.String _m_id, java.lang.String[] _m_values)
          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
 java.lang.String getId()
          Accessor method for the identifier of the service message dequeued from the server by the client
 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
 java.lang.String[] 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 setId(java.lang.String value)
          Accessor method for the identifier of the service message dequeued from the server by the client
 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(java.lang.String[] value)
          Accessor method for the array of messages 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_id

public java.lang.String m_id
The identifier of the service message dequeued from the server by the client. Normally be present when responding to an EPP poll command.

See Also:
setId(String), getId()

m_values

public java.lang.String[] m_values
The array of messages that provide server error details.

See Also:
setValues(String[]), getValues()
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,
                  java.lang.String _m_id,
                  java.lang.String[] _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_id - The identifier of the service message dequeued from the server by the client
_m_values - The array of messages that provide server error details
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

setId

public void setId(java.lang.String value)
Accessor method for the identifier of the service message dequeued from the server by the client

Parameters:
value - The service message identifier
See Also:
m_id

getId

public java.lang.String getId()
Accessor method for the identifier of the service message dequeued from the server by the client

Returns:
The service message identifier
See Also:
m_id

setValues

public void setValues(java.lang.String[] value)
Accessor method for the array of messages that provide server error details

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

getValues

public java.lang.String[] getValues()
Accessor method for the array of messages that provide server error details

Returns:
The array of error details
See Also:
m_values

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