Class SecureLocationProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.communityprofile.properties.ClassificationProperties
-
- org.odpi.openmetadata.accessservices.communityprofile.properties.SecureLocationProperties
-
- All Implemented Interfaces:
Serializable
public class SecureLocationProperties extends ClassificationProperties
SecureLocationProperties carries the parameters for marking a location as secure.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SecureLocationProperties()Default constructorSecureLocationProperties(SecureLocationProperties template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.StringgetDescription()Return the description of security at the site.StringgetLevel()Return the level of security.inthashCode()Return hash code for this objectvoidsetDescription(String description)Set up description of security at the site.voidsetLevel(String level)Set up the level of security.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.communityprofile.properties.ClassificationProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
-
-
-
Constructor Detail
-
SecureLocationProperties
public SecureLocationProperties()
Default constructor
-
SecureLocationProperties
public SecureLocationProperties(SecureLocationProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getDescription
public String getDescription()
Return the description of security at the site.- Returns:
- text
-
setDescription
public void setDescription(String description)
Set up description of security at the site.- Parameters:
description- text
-
getLevel
public String getLevel()
Return the level of security.- Returns:
- string
-
setLevel
public void setLevel(String level)
Set up the level of security.- Parameters:
level- string
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classClassificationProperties- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
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
-
-