|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ActivityItem.Flag> com.vodafone360.people.datatypes.ActivityItem.Flag
public static enum ActivityItem.Flag
Flags identifying ActivityItems as Status or Timeline events and already read
Enum Constant Summary | |
---|---|
ALREADY_READ
User already read the activity before |
|
STATUS
This activity will be shown in the status view. |
|
TIMELINE
This activity will be shown in the timeline view. |
Field Summary | |
---|---|
private java.lang.String |
mFlagCode
|
Method Summary | |
---|---|
private static ActivityItem.Flag |
findFlag(java.lang.String f)
Find flag item for specified String |
java.lang.String |
getFlagCode()
String value associated with flag item. |
static ActivityItem.Flag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ActivityItem.Flag[] |
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 |
---|
public static final ActivityItem.Flag ALREADY_READ
public static final ActivityItem.Flag TIMELINE
public static final ActivityItem.Flag STATUS
Field Detail |
---|
private java.lang.String mFlagCode
Method Detail |
---|
public static ActivityItem.Flag[] values()
for (ActivityItem.Flag c : ActivityItem.Flag.values()) System.out.println(c);
public static ActivityItem.Flag valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getFlagCode()
private static ActivityItem.Flag findFlag(java.lang.String f)
tag
- String value to find flag item for
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
JavaDoc