Class SecureLocationProperties
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.properties.ClassificationProperties
org.odpi.openmetadata.accessservices.communityprofile.properties.SecureLocationProperties
- All Implemented Interfaces:
Serializable
SecureLocationProperties carries the parameters for marking a location as secure.
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the description of security at the site.getLevel()
Return the level of security.int
hashCode()
Return hash code for this objectvoid
setDescription
(String description) Set up description of security at the site.void
Set up the level of security.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.communityprofile.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:
toString
in classClassificationProperties
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classClassificationProperties
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classClassificationProperties
- Returns:
- int hash code
-