Class SearchProperties
java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.search.SearchProperties
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.
-
Constructor Summary
ConstructorDescriptionTypical constructorSearchProperties
(SearchProperties templateProperties) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Validate that an object is equal depending on their stored values.Retrieve the conditions against which to match.Retrieve the criteria against which to match the conditions.int
hashCode()
Return a hash code based on the property valuesvoid
setConditions
(List<PropertyCondition> conditions) Set the conditions against which to match.void
setMatchCriteria
(MatchCriteria matchCriteria) Set the criteria against which to match the conditions.toString()
Standard toString method.
-
Constructor Details
-
SearchProperties
public SearchProperties()Typical constructor -
SearchProperties
Copy/clone constructor.- Parameters:
templateProperties
- template object to copy.
-
-
Method Details
-
getConditions
Retrieve the conditions against which to match.- Returns:
List<SearchCondition>
-
setConditions
Set the conditions against which to match.- Parameters:
conditions
- against which to match
-
getMatchCriteria
Retrieve the criteria against which to match the conditions.- Returns:
- MatchCriteria
-
setMatchCriteria
Set the criteria against which to match the conditions.- Parameters:
matchCriteria
- against which to match the conditions
-
toString
Standard toString method. -
equals
Validate that an object is equal depending on their stored values. -
hashCode
public int hashCode()Return a hash code based on the property values
-