com.vodafone360.people.datatypes
Enum SystemNotification.SysNotificationCode

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

public static enum SystemNotification.SysNotificationCode
extends java.lang.Enum<SystemNotification.SysNotificationCode>

Enumeration of System Notification codes that can be returned from Server.


Enum Constant Summary
AUTH_INVALID
           
CHAT_HISTORY_NULL
           
CHAT_SUMMARY_NULL
           
COMMUNITY_AUTH_INVALID
           
COMMUNITY_AUTH_VALID
           
COMMUNITY_LOGOUT_FAILED
           
COMMUNITY_LOGOUT_SUCCESSFUL
           
COMMUNITY_NETWORK_LOGOUT
           
CONTACTS_UPDATE_FAILED
           
CONVERSATION_NULL
           
EXTERNAL_HTTP_ERROR
           
FRIENDS_LIST_NULL
           
GENERIC
           
INVITATIONS_ACCEPT_ERROR
           
INVITATIONS_DENY_ERROR
           
MOBILE_EXTERNAL_PROXY
           
MOBILE_INTERNAL_PROXY
           
MOBILE_REQUEST_PAYLOAD_PARSE_ERROR
           
SEND_MESSAGE_FAILED
           
SEND_MESSAGE_PARAMS_INVALID
           
SET_AVAILABILITY_PARAMS_INVALID
           
SMS_FAILED
           
SMS_WAKEUP_FAILED
           
TOS_NULL
           
UNKNOWN
           
UNKNOWN_CHANNEL
           
UNKNOWN_EVENT
           
UNKNOWN_MESSAGE_TYPE
           
UNKNOWN_USER
           
 
Field Summary
private  java.lang.String tag
           
 
Method Summary
private static SystemNotification.SysNotificationCode findTag(java.lang.String tag)
          Find SysNotificationCode item for specified String.
private  java.lang.String tag()
          String value associated with SysNotificationCode item.
static SystemNotification.SysNotificationCode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SystemNotification.SysNotificationCode[] 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

AUTH_INVALID

public static final SystemNotification.SysNotificationCode AUTH_INVALID

COMMUNITY_AUTH_INVALID

public static final SystemNotification.SysNotificationCode COMMUNITY_AUTH_INVALID

COMMUNITY_AUTH_VALID

public static final SystemNotification.SysNotificationCode COMMUNITY_AUTH_VALID

COMMUNITY_LOGOUT_FAILED

public static final SystemNotification.SysNotificationCode COMMUNITY_LOGOUT_FAILED

COMMUNITY_LOGOUT_SUCCESSFUL

public static final SystemNotification.SysNotificationCode COMMUNITY_LOGOUT_SUCCESSFUL

COMMUNITY_NETWORK_LOGOUT

public static final SystemNotification.SysNotificationCode COMMUNITY_NETWORK_LOGOUT

SEND_MESSAGE_FAILED

public static final SystemNotification.SysNotificationCode SEND_MESSAGE_FAILED

GENERIC

public static final SystemNotification.SysNotificationCode GENERIC

UNKNOWN

public static final SystemNotification.SysNotificationCode UNKNOWN

UNKNOWN_USER

public static final SystemNotification.SysNotificationCode UNKNOWN_USER

FRIENDS_LIST_NULL

public static final SystemNotification.SysNotificationCode FRIENDS_LIST_NULL

UNKNOWN_EVENT

public static final SystemNotification.SysNotificationCode UNKNOWN_EVENT

UNKNOWN_MESSAGE_TYPE

public static final SystemNotification.SysNotificationCode UNKNOWN_MESSAGE_TYPE

CONVERSATION_NULL

public static final SystemNotification.SysNotificationCode CONVERSATION_NULL

SEND_MESSAGE_PARAMS_INVALID

public static final SystemNotification.SysNotificationCode SEND_MESSAGE_PARAMS_INVALID

SET_AVAILABILITY_PARAMS_INVALID

public static final SystemNotification.SysNotificationCode SET_AVAILABILITY_PARAMS_INVALID

TOS_NULL

public static final SystemNotification.SysNotificationCode TOS_NULL

SMS_WAKEUP_FAILED

public static final SystemNotification.SysNotificationCode SMS_WAKEUP_FAILED

SMS_FAILED

public static final SystemNotification.SysNotificationCode SMS_FAILED

UNKNOWN_CHANNEL

public static final SystemNotification.SysNotificationCode UNKNOWN_CHANNEL

INVITATIONS_ACCEPT_ERROR

public static final SystemNotification.SysNotificationCode INVITATIONS_ACCEPT_ERROR

INVITATIONS_DENY_ERROR

public static final SystemNotification.SysNotificationCode INVITATIONS_DENY_ERROR

CONTACTS_UPDATE_FAILED

public static final SystemNotification.SysNotificationCode CONTACTS_UPDATE_FAILED

MOBILE_REQUEST_PAYLOAD_PARSE_ERROR

public static final SystemNotification.SysNotificationCode MOBILE_REQUEST_PAYLOAD_PARSE_ERROR

EXTERNAL_HTTP_ERROR

public static final SystemNotification.SysNotificationCode EXTERNAL_HTTP_ERROR

MOBILE_EXTERNAL_PROXY

public static final SystemNotification.SysNotificationCode MOBILE_EXTERNAL_PROXY

MOBILE_INTERNAL_PROXY

public static final SystemNotification.SysNotificationCode MOBILE_INTERNAL_PROXY

CHAT_HISTORY_NULL

public static final SystemNotification.SysNotificationCode CHAT_HISTORY_NULL

CHAT_SUMMARY_NULL

public static final SystemNotification.SysNotificationCode CHAT_SUMMARY_NULL
Field Detail

tag

private final java.lang.String tag
Method Detail

values

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

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

valueOf

public static SystemNotification.SysNotificationCode 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 SysNotificationCode item.

Returns:
String value for SysNotificationCode item.

findTag

private static SystemNotification.SysNotificationCode findTag(java.lang.String tag)
Find SysNotificationCode item for specified String.

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


JavaDoc