org.csapi.jr.se.policy
Class PolicyTypeInfo

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

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

TpPolicyTypeInfo is an enumerated type used as a discriminator for the TpPolicyType structure.

See Also:
Serialized Form

Field Summary
static int _PM_SIMPLE_TYPE
          Simple type
static int _PM_STRUCTURED_TYPE
          Structured Type
static int _PM_TYPE_LIST
          List type
static int _PM_TYPE_RECORD
          Record type
static int _PM_XML_TYPE
          XML Type
static org.csapi.jr.se.policy.PolicyTypeInfo PM_SIMPLE_TYPE
          Simple type
static org.csapi.jr.se.policy.PolicyTypeInfo PM_STRUCTURED_TYPE
          Structured Type
static org.csapi.jr.se.policy.PolicyTypeInfo PM_TYPE_LIST
          List type
static org.csapi.jr.se.policy.PolicyTypeInfo PM_TYPE_RECORD
          Record type
static org.csapi.jr.se.policy.PolicyTypeInfo PM_XML_TYPE
          XML Type
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static org.csapi.jr.se.policy.PolicyTypeInfo getObject(int value)
          Accepts values in the range of 0 to 4
 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

_PM_SIMPLE_TYPE

public static final int _PM_SIMPLE_TYPE
Simple type

See Also:
Constant Field Values

PM_SIMPLE_TYPE

public static final org.csapi.jr.se.policy.PolicyTypeInfo PM_SIMPLE_TYPE
Simple type


_PM_TYPE_RECORD

public static final int _PM_TYPE_RECORD
Record type

See Also:
Constant Field Values

PM_TYPE_RECORD

public static final org.csapi.jr.se.policy.PolicyTypeInfo PM_TYPE_RECORD
Record type


_PM_TYPE_LIST

public static final int _PM_TYPE_LIST
List type

See Also:
Constant Field Values

PM_TYPE_LIST

public static final org.csapi.jr.se.policy.PolicyTypeInfo PM_TYPE_LIST
List type


_PM_STRUCTURED_TYPE

public static final int _PM_STRUCTURED_TYPE
Structured Type

See Also:
Constant Field Values

PM_STRUCTURED_TYPE

public static final org.csapi.jr.se.policy.PolicyTypeInfo PM_STRUCTURED_TYPE
Structured Type


_PM_XML_TYPE

public static final int _PM_XML_TYPE
XML Type

See Also:
Constant Field Values

PM_XML_TYPE

public static final org.csapi.jr.se.policy.PolicyTypeInfo PM_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 PolicyTypeInfo object

getObject

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

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