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
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.int
Return the level to match on.boolean
Return whether the level identifier is in useint
hashCode()
Return hash code for this objectvoid
setLevelIdentifier
(int levelIdentifier) Set up the level to match on.void
setReturnSpecificLevel
(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:
toString
in classFindProperties
- Returns:
- list of properties and their values.
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classFindProperties
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classFindProperties
- Returns:
- int hash code
-