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

public class SearchProperties extends Object implements Serializable
The SearchProperties class provides support for searching against one or more properties using a variety of comparison mechanisms, including searching against the same property using different comparison mechanisms.
See Also:
  • Constructor Details

    • SearchProperties

      public SearchProperties()
      Typical constructor
    • SearchProperties

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

    • getConditions

      public List<PropertyCondition> getConditions()
      Retrieve the conditions against which to match.
      Returns:
      List<SearchCondition>
    • setConditions

      public void setConditions(List<PropertyCondition> conditions)
      Set the conditions against which to match.
      Parameters:
      conditions - against which to match
    • getMatchCriteria

      public MatchCriteria getMatchCriteria()
      Retrieve the criteria against which to match the conditions.
      Returns:
      MatchCriteria
    • setMatchCriteria

      public void setMatchCriteria(MatchCriteria matchCriteria)
      Set the criteria against which to match the conditions.
      Parameters:
      matchCriteria - against which to match the conditions
    • 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