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
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:
-
Constructor Summary
ConstructorDescriptionTypical constructorClassificationCondition
(ClassificationCondition templateProperties) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Validate that an object is equal depending on their stored values.Retrieve the (optional) properties-based conditions for the classification.getName()
Retrieve the name of the classification.int
hashCode()
Return a hash code based on the property valuesvoid
setMatchProperties
(SearchProperties matchProperties) Set the (optional) properties-based conditions for the classification.void
Set the name of the classification.toString()
Standard toString method.
-
Constructor Details
-
ClassificationCondition
public ClassificationCondition()Typical constructor -
ClassificationCondition
Copy/clone constructor.- Parameters:
templateProperties
- template object to copy.
-
-
Method Details
-
getName
Retrieve the name of the classification.- Returns:
- String
-
setName
Set the name of the classification.- Parameters:
name
- of the classification
-
getMatchProperties
Retrieve the (optional) properties-based conditions for the classification.- Returns:
- SearchProperties
-
setMatchProperties
Set the (optional) properties-based conditions for the classification.- Parameters:
matchProperties
- for the classification
-
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
-