org.csapi.jr.se.ui
Class UIVariablePartType

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

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

Defines the type of the variable parts in the information to send to the user.

See Also:
Serialized Form

Field Summary
static int _UI_VARIABLE_PART_ADDRESS
          Variable part is of type address
static int _UI_VARIABLE_PART_DATE
          Variable part is of type date
static int _UI_VARIABLE_PART_INT
          Variable part is of type integer
static int _UI_VARIABLE_PART_PRICE
          Variable part is of type price
static int _UI_VARIABLE_PART_TIME
          Variable part is of type time
static org.csapi.jr.se.ui.UIVariablePartType UI_VARIABLE_PART_ADDRESS
          Variable part is of type address
static org.csapi.jr.se.ui.UIVariablePartType UI_VARIABLE_PART_DATE
          Variable part is of type date
static org.csapi.jr.se.ui.UIVariablePartType UI_VARIABLE_PART_INT
          Variable part is of type integer
static org.csapi.jr.se.ui.UIVariablePartType UI_VARIABLE_PART_PRICE
          Variable part is of type price
static org.csapi.jr.se.ui.UIVariablePartType UI_VARIABLE_PART_TIME
          Variable part is of type time
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static org.csapi.jr.se.ui.UIVariablePartType 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

_UI_VARIABLE_PART_INT

public static final int _UI_VARIABLE_PART_INT
Variable part is of type integer

See Also:
Constant Field Values

UI_VARIABLE_PART_INT

public static final org.csapi.jr.se.ui.UIVariablePartType UI_VARIABLE_PART_INT
Variable part is of type integer


_UI_VARIABLE_PART_ADDRESS

public static final int _UI_VARIABLE_PART_ADDRESS
Variable part is of type address

See Also:
Constant Field Values

UI_VARIABLE_PART_ADDRESS

public static final org.csapi.jr.se.ui.UIVariablePartType UI_VARIABLE_PART_ADDRESS
Variable part is of type address


_UI_VARIABLE_PART_TIME

public static final int _UI_VARIABLE_PART_TIME
Variable part is of type time

See Also:
Constant Field Values

UI_VARIABLE_PART_TIME

public static final org.csapi.jr.se.ui.UIVariablePartType UI_VARIABLE_PART_TIME
Variable part is of type time


_UI_VARIABLE_PART_DATE

public static final int _UI_VARIABLE_PART_DATE
Variable part is of type date

See Also:
Constant Field Values

UI_VARIABLE_PART_DATE

public static final org.csapi.jr.se.ui.UIVariablePartType UI_VARIABLE_PART_DATE
Variable part is of type date


_UI_VARIABLE_PART_PRICE

public static final int _UI_VARIABLE_PART_PRICE
Variable part is of type price

See Also:
Constant Field Values

UI_VARIABLE_PART_PRICE

public static final org.csapi.jr.se.ui.UIVariablePartType UI_VARIABLE_PART_PRICE
Variable part is of type price

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

getObject

public static org.csapi.jr.se.ui.UIVariablePartType 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