Class ComplexValueImpl
java.lang.Object
de.fraunhofer.iosb.ilt.frostclient.model.ComplexValueImpl
- All Implemented Interfaces:
ComplexValue<ComplexValueImpl>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.fasterxml.jackson.core.type.TypeReference<ComplexValueImpl> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TypeComplex.InstantiatorcreateFor(TypeComplex type) <P> PgetProperty(Property<P> property) Get the value of the given property.getProperty(String name) Get the custom property with the given name.getType()voidsetAnyProperty(String name, Object value) <P> ComplexValueImplsetProperty(Property<P> property, P value) Set the given property to the given value.setProperty(String name, Object value) Set the custom property with the given name to the given value.
-
Field Details
-
TYPE_REFERENCE
-
-
Constructor Details
-
ComplexValueImpl
-
-
Method Details
-
getType
-
getProperty
Description copied from interface:ComplexValueGet the value of the given property.- Specified by:
getPropertyin interfaceComplexValue<ComplexValueImpl>- Type Parameters:
P- The type of the property and value.- Parameters:
property- The property to get the value of.- Returns:
- the value of the requested property.
-
setProperty
Description copied from interface:ComplexValueSet the given property to the given value.- Specified by:
setPropertyin interfaceComplexValue<ComplexValueImpl>- Type Parameters:
P- The type of the property.- Parameters:
property- The property to set.value- The value to set the property to.- Returns:
- this.
-
getAllProperties
-
setAnyProperty
-
getProperty
Description copied from interface:ComplexValueGet the custom property with the given name. Only valid for ComplexTypes that are classed as openType, returns null for non-openTypes.- Specified by:
getPropertyin interfaceComplexValue<ComplexValueImpl>- Parameters:
name- The name of the custom property to fetch.- Returns:
- The value of the custom property.
-
setProperty
Description copied from interface:ComplexValueSet the custom property with the given name to the given value. Only valid for ComplexTypes that are classed as openType.- Specified by:
setPropertyin interfaceComplexValue<ComplexValueImpl>- Parameters:
name- The name of the custom property to set.value- The value of the custom property to set.- Returns:
- this.
-
createFor
-