java.lang.Object
com.evolveum.midpoint.model.impl.mining.algorithm.cluster.object.ExtensionProperties
All Implemented Interfaces:
Serializable

public class ExtensionProperties extends Object implements Serializable
Represents extension properties associated with a data point.
See Also:
  • 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

      public void addProperty(RoleAnalysisAttributeDefConvert key, String value)
      Adds a property to the extension properties.
      Parameters:
      key - The key of the property.
      value - The value of the property.
    • getValuesForKey

      public List<String> getValuesForKey(RoleAnalysisAttributeDefConvert key)
      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

      public Set<String> getSetValuesForKeys(RoleAnalysisAttributeDefConvert key)
    • removeProperty

      public boolean removeProperty(RoleAnalysisAttributeDefConvert key, String value)
      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

      public boolean containsKey(RoleAnalysisAttributeDefConvert key)
      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

      public com.google.common.collect.ListMultimap<RoleAnalysisAttributeDefConvert,String> getObject()
      Returns the underlying ListMultimap.
      Returns:
      The ListMultimap representing extension properties.
    • getAttributesMatch

      public Set<RoleAnalysisAttributeDefConvert> getAttributesMatch()
    • getSingleValueForKey

      public String getSingleValueForKey(RoleAnalysisAttributeDefConvert key)