org.csapi.jr.se.termcap
Class TerminalCapabilitiesError

java.lang.Object
  |
  +--org.csapi.jr.se.termcap.TerminalCapabilitiesError
All Implemented Interfaces:
java.io.Serializable

public final class TerminalCapabilitiesError
extends java.lang.Object
implements java.io.Serializable

Defines an error that is reported by the Terminal Capabilities SCF.

See Also:
Serialized Form

Field Summary
static int _TERMCAP_ERROR_UNDEFINED
          Undefined.
static int _TERMCAP_INFO_UNAVAILABLE
          The terminal capability information is not available.
static int _TERMCAP_INVALID_TERMINALID
          The request can not be handled because the terminal id specified is not valid.
static int _TERMCAP_SYSTEM_FAILURE
          System failure.
static org.csapi.jr.se.termcap.TerminalCapabilitiesError TERMCAP_ERROR_UNDEFINED
          Undefined.
static org.csapi.jr.se.termcap.TerminalCapabilitiesError TERMCAP_INFO_UNAVAILABLE
          The terminal capability information is not available.
static org.csapi.jr.se.termcap.TerminalCapabilitiesError TERMCAP_INVALID_TERMINALID
          The request can not be handled because the terminal id specified is not valid.
static org.csapi.jr.se.termcap.TerminalCapabilitiesError TERMCAP_SYSTEM_FAILURE
          System failure.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static org.csapi.jr.se.termcap.TerminalCapabilitiesError getObject(int value)
          Accepts values in the range of 0 to 3
 int getValue()
          Number representing enum type
 java.lang.String getValueText()
          getValueText method, overrides the getValueText() method in class java.lang.Object
 int hashCode()
          Returns a hashcode value for the object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_TERMCAP_ERROR_UNDEFINED

public static final int _TERMCAP_ERROR_UNDEFINED
Undefined.

See Also:
Constant Field Values

TERMCAP_ERROR_UNDEFINED

public static final org.csapi.jr.se.termcap.TerminalCapabilitiesError TERMCAP_ERROR_UNDEFINED
Undefined.


_TERMCAP_INVALID_TERMINALID

public static final int _TERMCAP_INVALID_TERMINALID
The request can not be handled because the terminal id specified is not valid.

See Also:
Constant Field Values

TERMCAP_INVALID_TERMINALID

public static final org.csapi.jr.se.termcap.TerminalCapabilitiesError TERMCAP_INVALID_TERMINALID
The request can not be handled because the terminal id specified is not valid.


_TERMCAP_SYSTEM_FAILURE

public static final int _TERMCAP_SYSTEM_FAILURE
System failure. The request cannot be handled because of a general problem in the terminal capabilities service or the underlying network.

See Also:
Constant Field Values

TERMCAP_SYSTEM_FAILURE

public static final org.csapi.jr.se.termcap.TerminalCapabilitiesError TERMCAP_SYSTEM_FAILURE
System failure. The request cannot be handled because of a general problem in the terminal capabilities service or the underlying network.


_TERMCAP_INFO_UNAVAILABLE

public static final int _TERMCAP_INFO_UNAVAILABLE
The terminal capability information is not available.

See Also:
Constant Field Values

TERMCAP_INFO_UNAVAILABLE

public static final org.csapi.jr.se.termcap.TerminalCapabilitiesError TERMCAP_INFO_UNAVAILABLE
The terminal capability information is not available.

Method Detail

getValue

public int getValue()
Number representing enum type

Returns:
int number representing type of object, this is defined within the class

getValueText

public java.lang.String getValueText()
getValueText method, overrides the getValueText() method in class java.lang.Object

Returns:
String The stringified version of the TerminalCapabilitiesError object

getObject

public static org.csapi.jr.se.termcap.TerminalCapabilitiesError getObject(int value)
                                                                   throws InvalidEnumValueException
Accepts values in the range of 0 to 3

Parameters:
value - number representing type of object, this is defined within the class
Throws:
InvalidEnumValueException - thrown if invalid value is passed into method

equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object