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 TypeMethodDescriptionbooleangetFieldValue(Field field) Get the field value associated with the specified field.The StructuredDataType of which this StructuredDataTypeInstance is an instance.inthashCode()voidsetFieldValue(Field field, Object value) toString()
-
Constructor Details
-
DynamicStructuredDataTypeInstance
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getStructuredDataType
Description copied from interface:StructuredDataTypeInstanceThe StructuredDataType of which this StructuredDataTypeInstance is an instance.- Specified by:
getStructuredDataTypein interfaceStructuredDataTypeInstance
-
getFieldValue
Description copied from interface:StructuredDataTypeInstanceGet the field value associated with the specified field.- Specified by:
getFieldValuein interfaceStructuredDataTypeInstance
-
setFieldValue
- Specified by:
setFieldValuein interfaceStructuredDataTypeInstance
-
toString
-