java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ProfileLocationElement

public class ProfileLocationElement extends Object
ProfileLocationElement contains the properties and header for a relationship between a profile and a user identity retrieved from the metadata repository.
  • Constructor Details

    • ProfileLocationElement

      public ProfileLocationElement()
      Default constructor
    • ProfileLocationElement

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

    • getProperties

      public ProfileLocationProperties getProperties()
      Return the properties from the profile location relationship.
      Returns:
      profile identity
    • setProperties

      public void setProperties(ProfileLocationProperties properties)
      Set up the properties from the profile location relationship.
      Parameters:
      properties - profile identity
    • getLocation

      public ElementStub getLocation()
      Return the properties of the location.
      Returns:
      properties
    • setLocation

      public void setLocation(ElementStub location)
      Set up the userId properties.
      Parameters:
      location - properties
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class Object
      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 Object
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

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