Class SecureLocation
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.properties.SecureLocation
SecureLocation defines that a location is secure.
-
Constructor Summary
ConstructorDescriptionDefault constructorSecureLocation
(SecureLocation template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the description fof the security at the location.getLevel()
Returns the name of the level of security for the location.int
hashCode()
Return hash code based on properties.void
setDescription
(String description) Set up description of the security at the location.void
Set up the level of security for the location.toString()
Standard toString method.
-
Constructor Details
-
SecureLocation
public SecureLocation()Default constructor -
SecureLocation
Copy/clone constructor.- Parameters:
template
- template object to copy.
-
-
Method Details
-
setDescription
Set up description of the security at the location.- Parameters:
description
- String
-
getDescription
Return the description fof the security at the location.- Returns:
- String description
-
setLevel
Set up the level of security for the location.- Parameters:
level
- string
-
getLevel
Returns the name of the level of security for the location.- Returns:
- string
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-