org.csapi.jr.se
Class SimpleAttributeTypeInfo

java.lang.Object
  extended byorg.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 _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 SimpleAttributeTypeInfo BOOLEAN
          Attribute type is type TpBoolean.
static SimpleAttributeTypeInfo CHAR
          Attribute type is type TpChar.
static SimpleAttributeTypeInfo DOUBLE
          Attribute type is type TpDouble.
static SimpleAttributeTypeInfo FLOAT
          Attribute type is type TpFloat.
static SimpleAttributeTypeInfo INT16
          Attribute type is type TpInt16.
static SimpleAttributeTypeInfo INT32
          Attribute type is type TpInt32.
static SimpleAttributeTypeInfo INT64
          Attribute type is type TpInt64
static SimpleAttributeTypeInfo OCTET
          Attribute type is type TpOctet.
static SimpleAttributeTypeInfo STRING
          Attribute type is type TpString.
static SimpleAttributeTypeInfo UNSIGNED_INT16
          Attribute type is type TpUnsignedInt16.
static SimpleAttributeTypeInfo UNSIGNED_INT32
          Attribute type is type TpUnsignedInt32.
static SimpleAttributeTypeInfo UNSIGNED_INT64
          Attribute type is type TpUnsignedInt64.
static SimpleAttributeTypeInfo WCHAR
          Attribute type is type TpWChar.
static 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 SimpleAttributeTypeInfo getObject(int value)
          Accepts values in the range of 0 to 13
 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
clone, finalize, 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 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 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 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 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 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 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 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 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 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 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 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 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 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 SimpleAttributeTypeInfo DOUBLE
Attribute type is type TpDouble.

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 SimpleAttributeTypeInfo getObject(int value)
                                         throws InvalidEnumValueException
Accepts values in the range of 0 to 13

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.


hashCode

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