no.sesat.search.user.enums
Enum PropertyKey

java.lang.Object
  extended by java.lang.Enum<PropertyKey>
      extended by no.sesat.search.user.enums.PropertyKey
All Implemented Interfaces:
Serializable, Comparable<PropertyKey>

public enum PropertyKey
extends Enum<PropertyKey>

Enum with the different property keys that we support.

Version:
$Id: PropertyKey.java 22 2009-03-17 08:57:04Z sshafroi $
Author:
Endre Midtgård Meckelborg

Enum Constant Summary
ADDRESS
           
CONFIRM_CODE
          Property holding the confirm code to activate a new user.
COUNTRY
           
DOB
           
EMAIL_PRIMARY
           
MY_CHANNELS
          Deprecated. application specific.
NAME_FIRST
           
NAME_LAST
           
NAME_MIDDLE
           
PICTURE
           
PICTURE_BIG
           
PICTURE_SMALL
           
PICTURE_SQUARE
           
POSTCODE
           
POSTPLACE
           
SEX
           
 
Method Summary
static PropertyKey valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PropertyKey[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CONFIRM_CODE

public static final PropertyKey CONFIRM_CODE
Property holding the confirm code to activate a new user.


EMAIL_PRIMARY

public static final PropertyKey EMAIL_PRIMARY

NAME_FIRST

public static final PropertyKey NAME_FIRST

NAME_MIDDLE

public static final PropertyKey NAME_MIDDLE

NAME_LAST

public static final PropertyKey NAME_LAST

ADDRESS

public static final PropertyKey ADDRESS

POSTCODE

public static final PropertyKey POSTCODE

POSTPLACE

public static final PropertyKey POSTPLACE

COUNTRY

public static final PropertyKey COUNTRY

SEX

public static final PropertyKey SEX

DOB

public static final PropertyKey DOB

PICTURE

public static final PropertyKey PICTURE

PICTURE_SMALL

public static final PropertyKey PICTURE_SMALL

PICTURE_BIG

public static final PropertyKey PICTURE_BIG

PICTURE_SQUARE

public static final PropertyKey PICTURE_SQUARE

MY_CHANNELS

public static final PropertyKey MY_CHANNELS
Deprecated. application specific.
Property holding my TV channels.

Method Detail

values

public static PropertyKey[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (PropertyKey c : PropertyKey.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PropertyKey valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2009 Schibsted Søk AS. All Rights Reserved.