Class SecureLocationProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.locations.SecureLocationProperties
SecureLocationProperties carries the parameters for marking a location as secure.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the description of security at the site.getLevel()Return the level of security.inthashCode()Return hash code for this objectvoidsetDescription(String description) Set up description of security at the site.voidSet up the level of security.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
SecureLocationProperties
public SecureLocationProperties()Default constructor -
SecureLocationProperties
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getDescription
Return the description of security at the site.- Returns:
- text
-
setDescription
Set up description of security at the site.- Parameters:
description- text
-
getLevel
Return the level of security.- Returns:
- string
-
setLevel
Set up the level of security.- Parameters:
level- string
-
toString
JSON-style toString- Overrides:
toStringin classClassificationProperties- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classClassificationProperties- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classClassificationProperties- Returns:
- int hash code
-