java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.locations.ProfileLocationProperties

public class ProfileLocationProperties extends RelationshipProperties
ProfileLocationProperties describes the properties for the ProfileLocation relationship between a profile and a location.
  • Constructor Details

    • ProfileLocationProperties

      public ProfileLocationProperties()
      Default constructor
    • ProfileLocationProperties

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

    • getAssociationType

      public String getAssociationType()
      Return the type of the association.
      Returns:
      string
    • setAssociationType

      public void setAssociationType(String associationType)
      Set up the type of the association.
      Parameters:
      associationType - string
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class RelationshipProperties
      Returns:
      list of properties and their values.
    • equals

      public boolean equals(Object objectToCompare)
      Equals method that returns true if containing properties are the same.
      Overrides:
      equals in class RelationshipProperties
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Hash code for this object
      Overrides:
      hashCode in class RelationshipProperties
      Returns:
      int