public static enum MessageCollection.Field extends Enum<MessageCollection.Field>
Enum Constant and Description |
---|
ID |
TITLE
the field name for the title of this message collection.
|
TOTAL
the field name for total number of messages.
|
UNREAD
the field name for the total number of unread messages
|
UPDATED
The field name for the updated time stamp
|
Modifier and Type | Field and Description |
---|---|
static Set<String> |
ALL_FIELDS |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static MessageCollection.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageCollection.Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageCollection.Field ID
public static final MessageCollection.Field TITLE
public static final MessageCollection.Field TOTAL
public static final MessageCollection.Field UNREAD
public static final MessageCollection.Field UPDATED
public static MessageCollection.Field[] values()
for (MessageCollection.Field c : MessageCollection.Field.values()) System.out.println(c);
public static MessageCollection.Field valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<MessageCollection.Field>
Copyright © 2022 WSO2. All Rights Reserved.