public enum RepresentationType extends Enum<RepresentationType>
Enum Constant and Description |
---|
ACTION_PARAMETERS
parameters of an action
|
BATCH
batch request or response
|
BINARY
binary-type instance
|
COLLECTION_COMPLEX
collection of complex-type instances
|
COLLECTION_ENTITY
collection of entities (entity set)
|
COLLECTION_PRIMITIVE
collection of primitive-type instances
|
COLLECTION_REFERENCE
collection of references
|
COMPLEX
single complex-type instance
|
COUNT
count of instances
|
DIFFERENCES
differences
|
ENTITY
single entity
|
ERROR
error document
|
MEDIA
media entity
|
METADATA
metadata document
|
PRIMITIVE
single primitive-type instance
|
REFERENCE
single reference
|
SERVICE
service document
|
VALUE
textual raw value of a primitive-type instance (except binary)
|
Modifier and Type | Method and Description |
---|---|
static RepresentationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepresentationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepresentationType SERVICE
public static final RepresentationType METADATA
public static final RepresentationType BATCH
public static final RepresentationType ERROR
public static final RepresentationType ENTITY
public static final RepresentationType COLLECTION_ENTITY
public static final RepresentationType PRIMITIVE
public static final RepresentationType COLLECTION_PRIMITIVE
public static final RepresentationType COMPLEX
public static final RepresentationType COLLECTION_COMPLEX
public static final RepresentationType DIFFERENCES
public static final RepresentationType MEDIA
public static final RepresentationType BINARY
public static final RepresentationType REFERENCE
public static final RepresentationType COLLECTION_REFERENCE
public static final RepresentationType VALUE
public static final RepresentationType COUNT
public static final RepresentationType ACTION_PARAMETERS
public static RepresentationType[] values()
for (RepresentationType c : RepresentationType.values()) System.out.println(c);
public static RepresentationType 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 nullCopyright © 2013–2018 The Apache Software Foundation. All rights reserved.