Class ExtensionProperties
java.lang.Object
com.evolveum.midpoint.model.impl.mining.algorithm.cluster.object.ExtensionProperties
- All Implemented Interfaces:
Serializable
Represents extension properties associated with a data point.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs extension properties with an empty ListMultimap.ExtensionProperties
(com.google.common.collect.ListMultimap<RoleAnalysisAttributeDefConvert, String> object) Constructs extension properties with the given ListMultimap. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addProperty
(RoleAnalysisAttributeDefConvert key, String value) Adds a property to the extension properties.void
Clears all extension properties.boolean
Checks if the extension properties contain a specific key.com.google.common.collect.ListMultimap<RoleAnalysisAttributeDefConvert,
String> Returns the underlying ListMultimap.Gets all values associated with a specific key.boolean
removeProperty
(RoleAnalysisAttributeDefConvert key, String value) Removes a specific property.
-
Constructor Details
-
ExtensionProperties
public ExtensionProperties()Constructs extension properties with an empty ListMultimap. -
ExtensionProperties
public ExtensionProperties(com.google.common.collect.ListMultimap<RoleAnalysisAttributeDefConvert, String> object) Constructs extension properties with the given ListMultimap.- Parameters:
object
- The ListMultimap representing extension properties.
-
-
Method Details
-
addProperty
Adds a property to the extension properties.- Parameters:
key
- The key of the property.value
- The value of the property.
-
getValuesForKey
Gets all values associated with a specific key.- Parameters:
key
- The key for which values are retrieved.- Returns:
- The list of values associated with the key.
-
getSetValuesForKeys
-
removeProperty
Removes a specific property.- Parameters:
key
- The key of the property to be removed.value
- The value of the property to be removed.- Returns:
- true if the property was removed, false otherwise.
-
containsKey
Checks if the extension properties contain a specific key.- Parameters:
key
- The key to check for existence.- Returns:
- true if the key is present, false otherwise.
-
clearProperties
public void clearProperties()Clears all extension properties. -
getObject
Returns the underlying ListMultimap.- Returns:
- The ListMultimap representing extension properties.
-
getAttributesMatch
-
getSingleValueForKey
-