Package io.lionweb.model.impl
Class DynamicStructuredDataTypeInstance
java.lang.Object
io.lionweb.model.impl.DynamicStructuredDataTypeInstance
- All Implemented Interfaces:
StructuredDataTypeInstance
This class can be used to deserialized instances of Structured Data Types without having to
define a single class for each of the Structured Data Types.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getFieldValue
(Field field) Get the field value associated with the specified field.The StructuredDataType of which this StructuredDataTypeInstance is an instance.int
hashCode()
void
setFieldValue
(Field field, Object value) toString()
-
Constructor Details
-
DynamicStructuredDataTypeInstance
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getStructuredDataType
Description copied from interface:StructuredDataTypeInstance
The StructuredDataType of which this StructuredDataTypeInstance is an instance.- Specified by:
getStructuredDataType
in interfaceStructuredDataTypeInstance
-
getFieldValue
Description copied from interface:StructuredDataTypeInstance
Get the field value associated with the specified field.- Specified by:
getFieldValue
in interfaceStructuredDataTypeInstance
-
setFieldValue
- Specified by:
setFieldValue
in interfaceStructuredDataTypeInstance
-
toString
-