public class DataObjectInstanceVariableContainerVariableConverter extends Object implements RestVariableConverter
Modifier and Type | Field and Description |
---|---|
static String |
DEFINITION_ID_REPRESENTATION_KEY |
static String |
DEFINITION_KEY_REPRESENTATION_KEY |
static String |
DETACHED_DATA_OBJECT_TYPE |
static String |
VARIABLE_TYPE_REPRESENTATION_KEY |
Constructor and Description |
---|
DataObjectInstanceVariableContainerVariableConverter() |
Modifier and Type | Method and Description |
---|---|
boolean |
canConvertToRestVariable(Object value) |
Object |
convertToRestVariable(Object value) |
Object |
fromRestValue(Object value) |
String |
getRestTypeName() |
Class<?> |
getVariableType() |
protected static boolean |
isListOfDataObjects(Object value) |
protected Map<String,Object> |
toRestRepresentation(DataObjectInstanceVariableContainer entity) |
protected Object |
toRestValue(Object value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convertVariableValue, getVariableValue
public static final String DEFINITION_ID_REPRESENTATION_KEY
public static final String DEFINITION_KEY_REPRESENTATION_KEY
public static final String VARIABLE_TYPE_REPRESENTATION_KEY
public static final String DETACHED_DATA_OBJECT_TYPE
public DataObjectInstanceVariableContainerVariableConverter()
protected Map<String,Object> toRestRepresentation(DataObjectInstanceVariableContainer entity)
public boolean canConvertToRestVariable(Object value)
public String getRestTypeName()
getRestTypeName
in interface RestVariableConverter
public Class<?> getVariableType()
getVariableType
in interface RestVariableConverter
protected static boolean isListOfDataObjects(Object value)