java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.properties.SecureLocation

public class SecureLocation extends Object
SecureLocation defines that a location is secure.
  • Constructor Details

    • SecureLocation

      public SecureLocation()
      Default constructor
    • SecureLocation

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

    • 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.
      Overrides:
      toString in class Object
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class Object
      Returns:
      int