Package de.uplanet.lucy.share
Enum PRIVACY_LEVEL
- java.lang.Object
-
- java.lang.Enum<PRIVACY_LEVEL>
-
- de.uplanet.lucy.share.PRIVACY_LEVEL
-
- All Implemented Interfaces:
Serializable
,Comparable<PRIVACY_LEVEL>
@ConstantClass public enum PRIVACY_LEVEL extends Enum<PRIVACY_LEVEL>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTACTS
CONTACTS_OF_CONTACTS
EVERYONE
EXTENDED
ONLY_ME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PRIVACY_LEVEL
getByKey(String p_strKey)
String
toKeyValue()
static PRIVACY_LEVEL
valueOf(String name)
Returns the enum constant of this type with the specified name.static PRIVACY_LEVEL[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EVERYONE
public static final PRIVACY_LEVEL EVERYONE
-
CONTACTS
public static final PRIVACY_LEVEL CONTACTS
-
CONTACTS_OF_CONTACTS
public static final PRIVACY_LEVEL CONTACTS_OF_CONTACTS
-
ONLY_ME
public static final PRIVACY_LEVEL ONLY_ME
-
EXTENDED
public static final PRIVACY_LEVEL EXTENDED
-
-
Method Detail
-
values
public static PRIVACY_LEVEL[] 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 (PRIVACY_LEVEL c : PRIVACY_LEVEL.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PRIVACY_LEVEL 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 nameNullPointerException
- if the argument is null
-
toKeyValue
public String toKeyValue()
-
getByKey
public static PRIVACY_LEVEL getByKey(String p_strKey)
-
-