Class DependentContextEventProperties

java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.contextevents.DependentContextEventProperties

public class DependentContextEventProperties extends RelationshipProperties
DependentContextEventProperties is a java bean used to describe a link between context events.
  • Constructor Details

    • DependentContextEventProperties

      public DependentContextEventProperties()
      Default constructor
    • DependentContextEventProperties

      public DependentContextEventProperties(DependentContextEventProperties template)
      Copy/clone constructor. Note, this is a deep copy
      Parameters:
      template - object to copy
  • Method Details

    • getDescription

      public String getDescription()
      Return the description of the relationship.
      Returns:
      string
    • setDescription

      public void setDescription(String description)
      Set up the description of the relationship.
      Parameters:
      description - string
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class RelationshipProperties
      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 RelationshipProperties
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

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