Class LevelIdentifierProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.FindProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.governance.LevelIdentifierProperties
LevelIdentifierProperties describes the properties for searching for a governance action classification by its level.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.intReturn the level to match on.booleanReturn whether the level identifier is in useinthashCode()Return hash code for this objectvoidsetLevelIdentifier(int levelIdentifier) Set up the level to match on.voidsetReturnSpecificLevel(boolean flag) Set up whether the level identifier is in use.toString()JSON-style toString.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.FindProperties
getAsOfTime, getEffectiveTime, getLimitResultsByStatus, getOpenMetadataTypeName, getSequencingOrder, getSequencingProperty, setAsOfTime, setEffectiveTime, setLimitResultsByStatus, setOpenMetadataTypeName, setSequencingOrder, setSequencingProperty
-
Constructor Details
-
LevelIdentifierProperties
public LevelIdentifierProperties()Default constructor -
LevelIdentifierProperties
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getReturnSpecificLevel
public boolean getReturnSpecificLevel()Return whether the level identifier is in use- Returns:
- boolean
-
setReturnSpecificLevel
public void setReturnSpecificLevel(boolean flag) Set up whether the level identifier is in use.- Parameters:
flag- boolean
-
getLevelIdentifier
public int getLevelIdentifier()Return the level to match on.- Returns:
- int
-
setLevelIdentifier
public void setLevelIdentifier(int levelIdentifier) Set up the level to match on.- Parameters:
levelIdentifier- int
-
toString
JSON-style toString.- Overrides:
toStringin classFindProperties- Returns:
- list of properties and their values.
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classFindProperties- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classFindProperties- Returns:
- int hash code
-