Class MapValue
java.lang.Object
de.fraunhofer.iosb.ilt.frostclient.models.ext.MapValue
- All Implemented Interfaces:
ComplexValue<MapValue>
The complex value for an open type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsKey(String name) entrySet()boolean<P> PgetProperty(Property<P> property) Get the value of the given property.getProperty(String name) Get the custom property with the given name.inthashCode()booleanisEmpty()<P> MapValuesetProperty(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.
-
Constructor Details
-
MapValue
public MapValue() -
MapValue
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
getContent
-
entrySet
-
get
-
containsKey
-
put
-
getProperty
Description copied from interface:ComplexValueGet the value of the given property.- Specified by:
getPropertyin interfaceComplexValue<MapValue>- 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<MapValue>- Type Parameters:
P- The type of the property.- Parameters:
property- The property to set.value- The value to set the property to.- Returns:
- this.
-
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<MapValue>- 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<MapValue>- Parameters:
name- The name of the custom property to set.value- The value of the custom property to set.- Returns:
- this.
-
equals
-
hashCode
public int hashCode()
-