Class ClassificationCondition

java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.search.ClassificationCondition

public class ClassificationCondition extends Object
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.
  • 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
    • getSearchProperties

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

      public void setSearchProperties(SearchProperties searchProperties)
      Set the (optional) properties-based conditions for the classification.
      Parameters:
      searchProperties - 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