public enum WWQueryResponseObjectTypes extends Enum<WWQueryResponseObjectTypes> implements WWQueryResponseObjectInterface
Enum Constant and Description |
---|
CONVERSATION |
CREATE_SPACE |
DELETE_SPACE |
ME |
MEMBERS |
MESSAGE |
PERSON |
SPACE |
SPACES |
UPDATE_SPACE |
Modifier and Type | Method and Description |
---|---|
String |
getQueryObjectType() |
Class<?> |
getReturnClass() |
Object |
parse(String jsonString) |
static WWQueryResponseObjectTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WWQueryResponseObjectTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WWQueryResponseObjectTypes SPACES
public static final WWQueryResponseObjectTypes SPACE
public static final WWQueryResponseObjectTypes PERSON
public static final WWQueryResponseObjectTypes ME
public static final WWQueryResponseObjectTypes CONVERSATION
public static final WWQueryResponseObjectTypes MEMBERS
public static final WWQueryResponseObjectTypes MESSAGE
public static final WWQueryResponseObjectTypes CREATE_SPACE
public static final WWQueryResponseObjectTypes DELETE_SPACE
public static final WWQueryResponseObjectTypes UPDATE_SPACE
public static WWQueryResponseObjectTypes[] values()
for (WWQueryResponseObjectTypes c : WWQueryResponseObjectTypes.values()) System.out.println(c);
public static WWQueryResponseObjectTypes 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 getQueryObjectType()
getQueryObjectType
in interface WWQueryResponseObjectInterface
public Class<?> getReturnClass()
getReturnClass
in interface WWQueryResponseObjectInterface
public Object parse(String jsonString)
parse
in interface WWQueryResponseObjectInterface
Copyright © 2018 OpenNTF. All rights reserved.