org.csapi.jr.se.mm
Class BindingEntryType

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

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

Defines the type of binding information.

See Also:
Serialized Form

Field Summary
static int _UB_CONTACT_ADDRESS
          The address representing the user's contact address
static int _UB_EXPIRES
          A number indicating the number of seconds the binding is valid
static int _UB_PREFERENCE
          A number between 0 and 1 indicating the contact address' relative preference
static int _UB_UNDEFINED
          Undefined
static BindingEntryType UB_CONTACT_ADDRESS
          The address representing the user's contact address
static BindingEntryType UB_EXPIRES
          A number indicating the number of seconds the binding is valid
static BindingEntryType UB_PREFERENCE
          A number between 0 and 1 indicating the contact address' relative preference
static BindingEntryType UB_UNDEFINED
          Undefined
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static BindingEntryType getObject(int value)
          Accepts values in the range of 0 to 3
 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

_UB_UNDEFINED

public static final int _UB_UNDEFINED
Undefined

See Also:
Constant Field Values

UB_UNDEFINED

public static final BindingEntryType UB_UNDEFINED
Undefined


_UB_EXPIRES

public static final int _UB_EXPIRES
A number indicating the number of seconds the binding is valid

See Also:
Constant Field Values

UB_EXPIRES

public static final BindingEntryType UB_EXPIRES
A number indicating the number of seconds the binding is valid


_UB_CONTACT_ADDRESS

public static final int _UB_CONTACT_ADDRESS
The address representing the user's contact address

See Also:
Constant Field Values

UB_CONTACT_ADDRESS

public static final BindingEntryType UB_CONTACT_ADDRESS
The address representing the user's contact address


_UB_PREFERENCE

public static final int _UB_PREFERENCE
A number between 0 and 1 indicating the contact address' relative preference

See Also:
Constant Field Values

UB_PREFERENCE

public static final BindingEntryType UB_PREFERENCE
A number between 0 and 1 indicating the contact address' relative preference

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

getObject

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

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.