Package org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.search
Class ClassificationCondition
- java.lang.Object
-
- org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.search.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 Summary
Constructors Constructor Description ClassificationCondition()Typical constructorClassificationCondition(ClassificationCondition templateProperties)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Validate that an object is equal depending on their stored values.SearchPropertiesgetMatchProperties()Retrieve the (optional) properties-based conditions for the classification.StringgetName()Retrieve the name of the classification.inthashCode()Return a hash code based on the property valuesvoidsetMatchProperties(SearchProperties matchProperties)Set the (optional) properties-based conditions for the classification.voidsetName(String name)Set the name of the classification.StringtoString()Standard toString method.
-
-
-
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.
-
equals
public boolean equals(Object objectToCompare)
Validate that an object is equal depending on their stored values.
-
-