ca.bc.gov.webade
Class PreferenceTypeCode

java.lang.Object
  extended byca.bc.gov.webade.PreferenceTypeCode
All Implemented Interfaces:
java.io.Serializable

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

Author:
jross
See Also:
Serialized Form

Field Summary
static PreferenceTypeCode APPLICATION
          Application preference type constant.
static PreferenceTypeCode EXTENSION
          Extension preference type constant.
static PreferenceTypeCode GLOBAL
          Global preference type constant.
static PreferenceTypeCode USER
          User preference type constant.
static PreferenceTypeCode WEBADE
          WebADE preference type constant.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getPreferenceType()
           
static PreferenceTypeCode getPreferenceTypeCode(java.lang.String preferenceType)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

GLOBAL

public static final PreferenceTypeCode GLOBAL
Global preference type constant.


APPLICATION

public static final PreferenceTypeCode APPLICATION
Application preference type constant.


EXTENSION

public static final PreferenceTypeCode EXTENSION
Extension preference type constant.


WEBADE

public static final PreferenceTypeCode WEBADE
WebADE preference type constant.


USER

public static final PreferenceTypeCode USER
User preference type constant.

Method Detail

getPreferenceTypeCode

public static PreferenceTypeCode getPreferenceTypeCode(java.lang.String preferenceType)
Parameters:
preferenceType - The preference type string.
Returns:
The matching preference type code, or null if not found.

getPreferenceType

public java.lang.String getPreferenceType()
Returns:
The reserved code value for this preference type.

equals

public boolean equals(java.lang.Object obj)
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
See Also:
Object.hashCode()

toString

public java.lang.String toString()
See Also:
Object.toString()