org.csapi.jr.se
Class AttributeTagInfo

java.lang.Object
  extended byorg.csapi.jr.se.AttributeTagInfo
All Implemented Interfaces:
java.io.Serializable

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

TpAttributeTagInfo is an enumerated type used as a discriminator for the TpAttributeValue structure.

See Also:
Serialized Form

Field Summary
static int _SIMPLE_TYPE
          Simple type
static int _STRUCTURED_TYPE
          Structured type
static int _XML_TYPE
          XML type
static AttributeTagInfo SIMPLE_TYPE
          Simple type
static AttributeTagInfo STRUCTURED_TYPE
          Structured type
static AttributeTagInfo XML_TYPE
          XML type
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static AttributeTagInfo getObject(int value)
          Accepts values in the range of 0 to 2
 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

_SIMPLE_TYPE

public static final int _SIMPLE_TYPE
Simple type

See Also:
Constant Field Values

SIMPLE_TYPE

public static final AttributeTagInfo SIMPLE_TYPE
Simple type


_STRUCTURED_TYPE

public static final int _STRUCTURED_TYPE
Structured type

See Also:
Constant Field Values

STRUCTURED_TYPE

public static final AttributeTagInfo STRUCTURED_TYPE
Structured type


_XML_TYPE

public static final int _XML_TYPE
XML type

See Also:
Constant Field Values

XML_TYPE

public static final AttributeTagInfo XML_TYPE
XML type

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

getObject

public static AttributeTagInfo getObject(int value)
                                  throws InvalidEnumValueException
Accepts values in the range of 0 to 2

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.