Class SolutionComponentActorRelationship

java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.SolutionComponentActorRelationship
All Implemented Interfaces:
MetadataElement

public class SolutionComponentActorRelationship extends Object implements MetadataElement
SolutionComponentActorRelationship contains the properties and header for an SolutionComponentActor relationship retrieved from the repository.
  • Constructor Details

    • SolutionComponentActorRelationship

      public SolutionComponentActorRelationship()
      Default constructor
    • SolutionComponentActorRelationship

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

    • getElementHeader

      public ElementHeader getElementHeader()
      Return the element header associated with the relationship.
      Specified by:
      getElementHeader in interface MetadataElement
      Returns:
      element header object
    • setElementHeader

      public void setElementHeader(ElementHeader elementHeader)
      Set up the element header associated with the relationship.
      Specified by:
      setElementHeader in interface MetadataElement
      Parameters:
      elementHeader - element header object
    • getProperties

      Return the properties from the relationship.
      Returns:
      properties
    • setProperties

      public void setProperties(SolutionComponentActorRelationshipProperties properties)
      Set up the properties from the relationship.
      Parameters:
      properties - property map
    • getEnd1Element

      public ElementStub getEnd1Element()
      Return the header of the end 1 entity.
      Returns:
      header
    • setEnd1Element

      public void setEnd1Element(ElementStub end1Element)
      Set up the header of the end 1 entity.
      Parameters:
      end1Element - header
    • getEnd2Element

      public ElementStub getEnd2Element()
      Return the header of the end 2 entity.
      Returns:
      header
    • setEnd2Element

      public void setEnd2Element(ElementStub end2Element)
      Set up the header of the end 2 entity.
      Parameters:
      end2Element - header
    • 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