org.csapi.jr.se.pam
Class PAMPreferenceType

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

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

This specifies the names of privacy and access control mechanisms supported by the service.

See Also:
Serialized Form

Field Summary
static int _PAM_ACCESS_LIST
          The control data contains additions or modifications to access control list of who is authorized to access the presence information or subscribe to it.
static int _PAM_EXTERNAL_CONTROL
          The access control and availability computations are done external to the presence service.
static org.csapi.jr.se.pam.PAMPreferenceType PAM_ACCESS_LIST
          The control data contains additions or modifications to access control list of who is authorized to access the presence information or subscribe to it.
static org.csapi.jr.se.pam.PAMPreferenceType PAM_EXTERNAL_CONTROL
          The access control and availability computations are done external to the presence service.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static org.csapi.jr.se.pam.PAMPreferenceType getObject(int value)
          Accepts values in the range of 0 to 1
 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

_PAM_ACCESS_LIST

public static final int _PAM_ACCESS_LIST
The control data contains additions or modifications to access control list of who is authorized to access the presence information or subscribe to it.

See Also:
Constant Field Values

PAM_ACCESS_LIST

public static final org.csapi.jr.se.pam.PAMPreferenceType PAM_ACCESS_LIST
The control data contains additions or modifications to access control list of who is authorized to access the presence information or subscribe to it.


_PAM_EXTERNAL_CONTROL

public static final int _PAM_EXTERNAL_CONTROL
The access control and availability computations are done external to the presence service.

See Also:
Constant Field Values

PAM_EXTERNAL_CONTROL

public static final org.csapi.jr.se.pam.PAMPreferenceType PAM_EXTERNAL_CONTROL
The access control and availability computations are done external to the presence service.

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

getObject

public static org.csapi.jr.se.pam.PAMPreferenceType getObject(int value)
                                                       throws InvalidEnumValueException
Accepts values in the range of 0 to 1

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