public class DataObjectIndexVariableType extends Object implements IndexVariableType
Modifier and Type | Field and Description |
---|---|
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
Constructor and Description |
---|
DataObjectIndexVariableType(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
void |
addDataObjectItemValues(DataObjectInstanceVariableContainer dataObjectInstance,
com.fasterxml.jackson.databind.node.ObjectNode dataObjectItemNode) |
String |
getTypeName()
The name of the variable type
|
void |
setValue(Object value,
com.fasterxml.jackson.databind.node.ObjectNode variableDataNode,
Collection<String> extraFields)
Stores the specified value in the
variableDataNode . |
public DataObjectIndexVariableType(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public String getTypeName()
IndexVariableType
getTypeName
in interface IndexVariableType
public void setValue(Object value, com.fasterxml.jackson.databind.node.ObjectNode variableDataNode, Collection<String> extraFields)
IndexVariableType
variableDataNode
.
The value
is retrieved via a VariableType
that has the same type
as IndexVariableType.getTypeName()
.setValue
in interface IndexVariableType
value
- The value of the variable that should be storedvariableDataNode
- the variable data nodeextraFields
- if set, these fields will also get the value set.public void addDataObjectItemValues(DataObjectInstanceVariableContainer dataObjectInstance, com.fasterxml.jackson.databind.node.ObjectNode dataObjectItemNode)
Copyright © 2019. All rights reserved.