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

public class ContextEventImpactProperties extends RelationshipProperties
ContextEventImpactProperties is a java bean used to describe a link between a context event and elements that describe its impact.
  • Constructor Details

    • ContextEventImpactProperties

      public ContextEventImpactProperties()
      Default constructor
    • ContextEventImpactProperties

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

    • getSeverityLevelIdentifier

      public int getSeverityLevelIdentifier()
      Return the severity level identifier for the relationship.
      Returns:
      int
    • setSeverityLevelIdentifier

      public void setSeverityLevelIdentifier(int severityLevelIdentifier)
      Set up the severity level identifier for the relationship.
      Parameters:
      severityLevelIdentifier - int
    • getDescription

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

      public void setDescription(String description)
      Set up the description for 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