public static enum RestIdentity.Field extends Enum<RestIdentity.Field>
All of the fields that comments can have.
| Enum Constant and Description |
|---|
ID
the json field for identity id.
|
PROFILE
the json profile object
|
PROVIDER_ID
the json field for userId.
|
REMOTE_ID
the json field for activityId.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
emit the field as a json element.
|
static RestIdentity.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestIdentity.Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestIdentity.Field ID
public static final RestIdentity.Field PROVIDER_ID
public static final RestIdentity.Field REMOTE_ID
public static final RestIdentity.Field PROFILE
public static RestIdentity.Field[] values()
for (RestIdentity.Field c : RestIdentity.Field.values()) System.out.println(c);
public static RestIdentity.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<RestIdentity.Field>Copyright © 2011–2016 eXo Platform SAS. All rights reserved.