org.csapi.jr.se
Class SimpleAttributeTypeInfo

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

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

TpSimpleAttributeTypeInfo is an enumerated type used as a discriminator for the TpSimpleAttributeValue structure.

See Also:
Serialized Form

Field Summary
static int _BOOLEAN
          Attribute type is type TpBoolean.
static int _CHAR
          Attribute type is type TpChar.
static int _DOUBLE
          Attribute type is type TpDouble.
static int _FIXED
          Attribute type is type TpFixed.
static int _FLOAT
          Attribute type is type TpFloat.
static int _INT16
          Attribute type is type TpInt16.
static int _INT32
          Attribute type is type TpInt32.
static int _INT64
          Attribute type is type TpInt64
static int _OCTET
          Attribute type is type TpOctet.
static int _STRING
          Attribute type is type TpString.
static int _UNSIGNED_INT16
          Attribute type is type TpUnsignedInt16.
static int _UNSIGNED_INT32
          Attribute type is type TpUnsignedInt32.
static int _UNSIGNED_INT64
          Attribute type is type TpUnsignedInt64.
static int _WCHAR
          Attribute type is type TpWChar.
static int _WSTRING
          Attribute type is type TpWString.
static org.csapi.jr.se.SimpleAttributeTypeInfo BOOLEAN
          Attribute type is type TpBoolean.
static org.csapi.jr.se.SimpleAttributeTypeInfo CHAR
          Attribute type is type TpChar.
static org.csapi.jr.se.SimpleAttributeTypeInfo DOUBLE
          Attribute type is type TpDouble.
static org.csapi.jr.se.SimpleAttributeTypeInfo FIXED
          Attribute type is type TpFixed.
static org.csapi.jr.se.SimpleAttributeTypeInfo FLOAT
          Attribute type is type TpFloat.
static org.csapi.jr.se.SimpleAttributeTypeInfo INT16
          Attribute type is type TpInt16.
static org.csapi.jr.se.SimpleAttributeTypeInfo INT32
          Attribute type is type TpInt32.
static org.csapi.jr.se.SimpleAttributeTypeInfo INT64
          Attribute type is type TpInt64
static org.csapi.jr.se.SimpleAttributeTypeInfo OCTET
          Attribute type is type TpOctet.
static org.csapi.jr.se.SimpleAttributeTypeInfo STRING
          Attribute type is type TpString.
static org.csapi.jr.se.SimpleAttributeTypeInfo UNSIGNED_INT16
          Attribute type is type TpUnsignedInt16.
static org.csapi.jr.se.SimpleAttributeTypeInfo UNSIGNED_INT32
          Attribute type is type TpUnsignedInt32.
static org.csapi.jr.se.SimpleAttributeTypeInfo UNSIGNED_INT64
          Attribute type is type TpUnsignedInt64.
static org.csapi.jr.se.SimpleAttributeTypeInfo WCHAR
          Attribute type is type TpWChar.
static org.csapi.jr.se.SimpleAttributeTypeInfo WSTRING
          Attribute type is type TpWString.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static org.csapi.jr.se.SimpleAttributeTypeInfo getObject(int value)
          Accepts values in the range of 0 to 14
 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

_BOOLEAN

public static final int _BOOLEAN
Attribute type is type TpBoolean.

See Also:
Constant Field Values

BOOLEAN

public static final org.csapi.jr.se.SimpleAttributeTypeInfo BOOLEAN
Attribute type is type TpBoolean.


_OCTET

public static final int _OCTET
Attribute type is type TpOctet.

See Also:
Constant Field Values

OCTET

public static final org.csapi.jr.se.SimpleAttributeTypeInfo OCTET
Attribute type is type TpOctet.


_CHAR

public static final int _CHAR
Attribute type is type TpChar.

See Also:
Constant Field Values

CHAR

public static final org.csapi.jr.se.SimpleAttributeTypeInfo CHAR
Attribute type is type TpChar.


_WCHAR

public static final int _WCHAR
Attribute type is type TpWChar.

See Also:
Constant Field Values

WCHAR

public static final org.csapi.jr.se.SimpleAttributeTypeInfo WCHAR
Attribute type is type TpWChar.


_STRING

public static final int _STRING
Attribute type is type TpString.

See Also:
Constant Field Values

STRING

public static final org.csapi.jr.se.SimpleAttributeTypeInfo STRING
Attribute type is type TpString.


_WSTRING

public static final int _WSTRING
Attribute type is type TpWString.

See Also:
Constant Field Values

WSTRING

public static final org.csapi.jr.se.SimpleAttributeTypeInfo WSTRING
Attribute type is type TpWString.


_INT16

public static final int _INT16
Attribute type is type TpInt16.

See Also:
Constant Field Values

INT16

public static final org.csapi.jr.se.SimpleAttributeTypeInfo INT16
Attribute type is type TpInt16.


_UNSIGNED_INT16

public static final int _UNSIGNED_INT16
Attribute type is type TpUnsignedInt16.

See Also:
Constant Field Values

UNSIGNED_INT16

public static final org.csapi.jr.se.SimpleAttributeTypeInfo UNSIGNED_INT16
Attribute type is type TpUnsignedInt16.


_INT32

public static final int _INT32
Attribute type is type TpInt32.

See Also:
Constant Field Values

INT32

public static final org.csapi.jr.se.SimpleAttributeTypeInfo INT32
Attribute type is type TpInt32.


_UNSIGNED_INT32

public static final int _UNSIGNED_INT32
Attribute type is type TpUnsignedInt32.

See Also:
Constant Field Values

UNSIGNED_INT32

public static final org.csapi.jr.se.SimpleAttributeTypeInfo UNSIGNED_INT32
Attribute type is type TpUnsignedInt32.


_INT64

public static final int _INT64
Attribute type is type TpInt64

See Also:
Constant Field Values

INT64

public static final org.csapi.jr.se.SimpleAttributeTypeInfo INT64
Attribute type is type TpInt64


_UNSIGNED_INT64

public static final int _UNSIGNED_INT64
Attribute type is type TpUnsignedInt64.

See Also:
Constant Field Values

UNSIGNED_INT64

public static final org.csapi.jr.se.SimpleAttributeTypeInfo UNSIGNED_INT64
Attribute type is type TpUnsignedInt64.


_FLOAT

public static final int _FLOAT
Attribute type is type TpFloat.

See Also:
Constant Field Values

FLOAT

public static final org.csapi.jr.se.SimpleAttributeTypeInfo FLOAT
Attribute type is type TpFloat.


_DOUBLE

public static final int _DOUBLE
Attribute type is type TpDouble.

See Also:
Constant Field Values

DOUBLE

public static final org.csapi.jr.se.SimpleAttributeTypeInfo DOUBLE
Attribute type is type TpDouble.


_FIXED

public static final int _FIXED
Attribute type is type TpFixed.

See Also:
Constant Field Values

FIXED

public static final org.csapi.jr.se.SimpleAttributeTypeInfo FIXED
Attribute type is type TpFixed.

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 SimpleAttributeTypeInfo object

getObject

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

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