Interface GenericDataObject
-
public interface GenericDataObject
Represents the value structure of a generic input or output of a transformation. Refer to the constructor ofInputDefinition(String, UserMessage, UserMessage, List)
,OutputDefinition(String, UserMessage, UserMessage, List)
- Since:
- 6.1.2
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
getValue(java.lang.String name)
Returns the value corresponding to the name specified in the inputInputDefinition.getName()
or outputOutputDefinition.getName()
.static GenericDataObject
newInstance()
Creates a new instance.<T> void
setValue(java.lang.String name, T value)
Sets the value corresponding to the name specified in the inputInputDefinition.getName()
or outputOutputDefinition.getName()
.
-
-
-
Method Detail
-
newInstance
static GenericDataObject newInstance()
Creates a new instance.- Since:
- 6.1.2
-
getValue
<T> T getValue(java.lang.String name)
Returns the value corresponding to the name specified in the inputInputDefinition.getName()
or outputOutputDefinition.getName()
.- Since:
- 6.1.2
-
setValue
<T> void setValue(java.lang.String name, T value)
Sets the value corresponding to the name specified in the inputInputDefinition.getName()
or outputOutputDefinition.getName()
.T
must be compatible with theDataType
specified in the input or output.- Since:
- 6.1.2
-
-