org.openrtk.idl.epp0402

Class epp_Result

Implemented Interfaces:
org.omg.CORBA.portable.IDLEntity

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

Field Summary

short
m_code
The decimal number that describes the success or failure of an EPP command.
String
m_id
The identifier of the service message dequeued from the server by the client.
String
m_lang
The language used to express the response message.
String
m_msg
The human-readable description of the response code.
String[]
m_values
The array of messages that provide server error details.

Constructor Summary

epp_Result()
Empty constructor
epp_Result(short _m_code, String _m_msg, String _m_lang, String _m_id, 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
String
getId()
Accessor method for the identifier of the service message dequeued from the server by the client
String
getLang()
Accessor method for the language used to express the response message
String
getMsg()
Accessor method for the human-readable description of the response code
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(String value)
Accessor method for the identifier of the service message dequeued from the server by the client
void
setLang(String value)
Accessor method for the language used to express the response message
void
setMsg(String value)
Accessor method for the human-readable description of the response code
void
setValues(String[] value)
Accessor method for the array of messages that provide server error details
String
toString()
Converts this class into a string.

Field Details

m_code

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

m_id

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

m_lang

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

m_msg

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

m_values

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

Constructor Details

epp_Result

public epp_Result()
Empty constructor

epp_Result

public epp_Result(short _m_code,
                  String _m_msg,
                  String _m_lang,
                  String _m_id,
                  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 Details

getCode

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

getId

public String getId()
Accessor method for the identifier of the service message dequeued from the server by the client
Returns:
The service message identifier

getLang

public String getLang()
Accessor method for the language used to express the response message
Returns:
The language of the response message

getMsg

public String getMsg()
Accessor method for the human-readable description of the response code
Returns:
The response code description

getValues

public String[] getValues()
Accessor method for the array of messages that provide server error details
Returns:
The array of error details

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

setId

public void setId(String value)
Accessor method for the identifier of the service message dequeued from the server by the client
Parameters:
value - The service message identifier

setLang

public void setLang(String value)
Accessor method for the language used to express the response message
Parameters:
value - The language of the response message

setMsg

public void setMsg(String value)
Accessor method for the human-readable description of the response code
Parameters:
value - The reponse code description

setValues

public void setValues(String[] value)
Accessor method for the array of messages that provide server error details
Parameters:
value - The array of error details

toString

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

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