Class 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:
    Serialized Form
    • Constructor Detail

      • ClassificationCondition

        public ClassificationCondition()
        Typical constructor
      • ClassificationCondition

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

      • 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