java.lang.Object
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.search.ClassificationCondition
All Implemented Interfaces:
Serializable

public class ClassificationCondition extends Object implements Serializable
The ClassificationCondition class provides support for searching against a single classification, either based only on its name or also combined with a set of property-based conditions.
See Also:
  • Constructor Details

    • ClassificationCondition

      public ClassificationCondition()
      Typical constructor
    • ClassificationCondition

      public ClassificationCondition(ClassificationCondition templateProperties)
      Copy/clone constructor.
      Parameters:
      templateProperties - template object to copy.
  • Method Details

    • getName

      public String getName()
      Retrieve the name of the classification.
      Returns:
      String
    • setName

      public void setName(String name)
      Set the name of the classification.
      Parameters:
      name - of the classification
    • getMatchProperties

      public SearchProperties getMatchProperties()
      Retrieve the (optional) properties-based conditions for the classification.
      Returns:
      SearchProperties
    • setMatchProperties

      public void setMatchProperties(SearchProperties matchProperties)
      Set the (optional) properties-based conditions for the classification.
      Parameters:
      matchProperties - for the classification
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      Returns:
      JSON style description of variables.
    • equals

      public boolean equals(Object objectToCompare)
      Validate that an object is equal depending on their stored values.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - object
      Returns:
      boolean result
    • hashCode

      public int hashCode()
      Return a hash code based on the property values
      Overrides:
      hashCode in class Object
      Returns:
      int hash code