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:
  • Constructor Details

    • SecureLocationProperties

      public SecureLocationProperties()
      Default constructor
    • SecureLocationProperties

      public SecureLocationProperties(SecureLocationProperties template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • 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:
      toString in class ClassificationProperties
      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:
      equals in class ClassificationProperties
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class ClassificationProperties
      Returns:
      int hash code