Class SecureLocation
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.SecureLocation
-
- All Implemented Interfaces:
Serializable
public class SecureLocation extends Object implements Serializable
SecureLocation defines that a location is secure.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SecureLocation()Default constructorSecureLocation(SecureLocation template)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetDescription()Return the description fof the security at the location.StringgetLevel()Returns the name of the level of security for the location.inthashCode()Return hash code based on properties.voidsetDescription(String description)Set up description of the security at the location.voidsetLevel(String level)Set up the level of security for the location.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
SecureLocation
public SecureLocation()
Default constructor
-
SecureLocation
public SecureLocation(SecureLocation template)
Copy/clone constructor.- Parameters:
template- template object to copy.
-
-
Method Detail
-
setDescription
public void setDescription(String description)
Set up description of the security at the location.- Parameters:
description- String
-
getDescription
public String getDescription()
Return the description fof the security at the location.- Returns:
- String description
-
setLevel
public void setLevel(String level)
Set up the level of security for the location.- Parameters:
level- string
-
getLevel
public String getLevel()
Returns the name of the level of security for the location.- Returns:
- string
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-