Class ClassificationCondition
java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.search.ClassificationCondition
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.
-
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.getName()
Retrieve the name of the classification.Retrieve the (optional) properties-based conditions for the classification.int
hashCode()
Return a hash code based on the property valuesvoid
Set the name of the classification.void
setSearchProperties
(SearchProperties searchProperties) Set the (optional) properties-based conditions for 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
-
getSearchProperties
Retrieve the (optional) properties-based conditions for the classification.- Returns:
- SearchProperties
-
setSearchProperties
Set the (optional) properties-based conditions for the classification.- Parameters:
searchProperties
- 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
-