Package org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.search
Class SearchProperties
- 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SearchProperties()
Typical constructorSearchProperties(SearchProperties templateProperties)
Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object objectToCompare)
Validate that an object is equal depending on their stored values.List<PropertyCondition>
getConditions()
Retrieve the conditions against which to match.MatchCriteria
getMatchCriteria()
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.String
toString()
Standard toString method.
-
-
-
Constructor Detail
-
SearchProperties
public SearchProperties()
Typical constructor
-
SearchProperties
public SearchProperties(SearchProperties templateProperties)
Copy/clone constructor.- Parameters:
templateProperties
- template object to copy.
-
-
Method Detail
-
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.
-
equals
public boolean equals(Object objectToCompare)
Validate that an object is equal depending on their stored values.
-
-