com.vodafone360.people.datatypes
Enum ActivityItem.Tags

java.lang.Object
  extended by java.lang.Enum<ActivityItem.Tags>
      extended by com.vodafone360.people.datatypes.ActivityItem.Tags
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ActivityItem.Tags>
Enclosing class:
ActivityItem

private static enum ActivityItem.Tags
extends java.lang.Enum<ActivityItem.Tags>

Tags associated with ActivityItem representing data items associated with Activities returned from server.


Enum Constant Summary
ACTIVITY_ID
           
CONTACT
           
CONTACT_LIST
           
DESCRIPTION
           
FLAG
           
FLAG_LIST
           
HAS_CHILDREN
           
MORE_INFO
           
PARENT_ACTIVITY
           
PREVIEW
           
PREVIEW_MIME
           
PREVIEW_URL
           
STORE
           
TIME
           
TITLE
           
TYPE
           
URI
           
VISIBILITY
           
 
Field Summary
private  java.lang.String tag
           
 
Method Summary
private static ActivityItem.Tags findTag(java.lang.String tag)
          Find Tags item for specified String.
private  java.lang.String tag()
          String value associated with Tags item.
static ActivityItem.Tags valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ActivityItem.Tags[] 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

ACTIVITY_ID

public static final ActivityItem.Tags ACTIVITY_ID

TIME

public static final ActivityItem.Tags TIME

TYPE

public static final ActivityItem.Tags TYPE

URI

public static final ActivityItem.Tags URI

TITLE

public static final ActivityItem.Tags TITLE

DESCRIPTION

public static final ActivityItem.Tags DESCRIPTION

PREVIEW

public static final ActivityItem.Tags PREVIEW

PREVIEW_MIME

public static final ActivityItem.Tags PREVIEW_MIME

PREVIEW_URL

public static final ActivityItem.Tags PREVIEW_URL

STORE

public static final ActivityItem.Tags STORE

FLAG_LIST

public static final ActivityItem.Tags FLAG_LIST

FLAG

public static final ActivityItem.Tags FLAG

PARENT_ACTIVITY

public static final ActivityItem.Tags PARENT_ACTIVITY

HAS_CHILDREN

public static final ActivityItem.Tags HAS_CHILDREN

VISIBILITY

public static final ActivityItem.Tags VISIBILITY

CONTACT_LIST

public static final ActivityItem.Tags CONTACT_LIST

CONTACT

public static final ActivityItem.Tags CONTACT

MORE_INFO

public static final ActivityItem.Tags MORE_INFO
Field Detail

tag

private final java.lang.String tag
Method Detail

values

public static ActivityItem.Tags[] 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 (ActivityItem.Tags c : ActivityItem.Tags.values())
    System.out.println(c);

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

valueOf

public static ActivityItem.Tags valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

tag

private java.lang.String tag()
String value associated with Tags item.

Returns:
String value for Tags item.

findTag

private static ActivityItem.Tags findTag(java.lang.String tag)
Find Tags item for specified String.

Parameters:
tag - String value to find Tags item for
Returns:
Tags item for specified String, null otherwise


JavaDoc