public enum RepresentationType extends Enum<RepresentationType>
| Enum Constant and Description | 
|---|
| ACTION_PARAMETERSparameters of an action | 
| BATCHbatch request or response | 
| BINARYbinary-type instance | 
| COLLECTION_COMPLEXcollection of complex-type instances | 
| COLLECTION_ENTITYcollection of entities (entity set) | 
| COLLECTION_PRIMITIVEcollection of primitive-type instances | 
| COLLECTION_REFERENCEcollection of references | 
| COMPLEXsingle complex-type instance | 
| COUNTcount of instances | 
| DIFFERENCESdifferences | 
| ENTITYsingle entity | 
| ERRORerror document | 
| MEDIAmedia entity | 
| METADATAmetadata document | 
| PRIMITIVEsingle primitive-type instance | 
| REFERENCEsingle reference | 
| SERVICEservice document | 
| VALUEtextual 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–2023 The Apache Software Foundation. All rights reserved.