CICS® Transaction Gateway Base API Programming Reference v8.1.0.2

com.ibm.ctg.epi
Class Terminal.EPISignOnType

java.lang.Object
  extended by com.ibm.ctg.epi.Terminal.EPISignOnType
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Terminal

public static class Terminal.EPISignOnType
extends java.lang.Object
implements java.io.Serializable

Class to allow for compile time checking of signon enumerations. The Terminal class provides the enumerations to use for signon capability.


Method Summary
 int asInt()
          Returns the int value of the EPISignOnType.
 boolean equals(java.lang.Object obj)
          Compares this EPISignOnType to the specified object to determine if they are equal.
 int hashCode()
          Returns a hash code for this EPISignOnType.
 java.lang.String toString()
          Returns a string representation of this EPISignOnType.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

asInt

public int asInt()
Returns the int value of the EPISignOnType.

Returns:
int value: SIGNON_CAPABLE, SIGNON_INCAPABLE, SIGNON_UNKNOWN

hashCode

public int hashCode()
Returns a hash code for this EPISignOnType.

Overrides:
hashCode in class java.lang.Object
Returns:
A hash code for this EPISignOnType

equals

public boolean equals(java.lang.Object obj)
Compares this EPISignOnType to the specified object to determine if they are equal.

Overrides:
equals in class java.lang.Object
Parameters:
obj - The object to compare with this EPISignOnType
Returns:
true if obj is an EPISignOnType instance which represents the same signon capability as this EPISignOnType; otherwise false

toString

public java.lang.String toString()
Returns a string representation of this EPISignOnType.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of the signon capability

©Copyright IBM Corp. 1994, 2012
Legal