Return a new DataMap with elements containing elements from the left hand side operand followed by elements from the right hand side operand.
Return a new DataMap with elements containing elements from the left hand side operand followed by elements from the right hand side operand.
Right hand side DataMap
A new DataMap
Creates a new DataMap from this DataMap by removing all elements of another collection.
Creates a new DataMap from this DataMap by removing all elements of another collection.
A collection containing the removed property names
A new DataMap
Check if this DataMap contains a specific property.
Check if this DataMap contains a specific property.
The property name
Return true if the property exists, else false.
Converts this DataMap to case class of type T.
Converts this DataMap to case class of type T.
the object of type T.
Map of property name to JValue
Map of property name to JValue
first updated time of this PropertyMap
Java-friendly method for getting the value of a property.
Java-friendly method for getting the value of a property. Return null if the property does not exist.
The type of the property value
The property name
The class of the type of the property value
Return the property value of type T
Get the value of a mandatory property.
Get the value of a mandatory property. Exception is thrown if the property does not exist.
The type of the property value
The property name
Return the property value of type T
Get the value of an optional property.
Get the value of an optional property. Return None if the property does not exist.
The type of the property value
The property name
Return the property value of type Option[T]
Get the value of an optional property.
Get the value of an optional property. Return default value if the property does not exist.
The type of the property value
The property name
The default property value of type T
Return the property value of type T
Java-friendly method for getting a list of values of a property.
Java-friendly method for getting a list of values of a property. Return null if the property does not exist.
The property name
Return the list of property values
Tests whether the DataMap is empty.
Tests whether the DataMap is empty.
true if the DataMap is empty, false otherwise.
Collects all property names of this DataMap in a set.
Collects all property names of this DataMap in a set.
a set containing all property names of this DataMap.
last updated time of this PropertyMap
Check the existence of a required property name.
Check the existence of a required property name. Throw an exception if it does not exist.
The property name
Converts this DataMap to a JObject.
Converts this DataMap to a JObject.
the JObject initialized by this DataMap.
Converts this DataMap to a List.
Converts this DataMap to a List.
a list of (property name, JSON value) tuples.
A PropertyMap stores aggregated properties of the entity. Internally it is a Map whose keys are property names and values are corresponding JSON values respectively. Use the get() method to retrieve the value of mandatory property or use getOpt() to retrieve the value of the optional property.