Class RelationshipRequestBody


public class RelationshipRequestBody extends EffectiveTimeQueryRequestBody
RelationshipRequestBody describes the request body used when linking elements together.
  • Constructor Details

    • RelationshipRequestBody

      public RelationshipRequestBody()
      Default constructor
    • RelationshipRequestBody

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

    • getRelationshipName

      public String getRelationshipName()
      Return the name of the relationship type.
      Returns:
      type name
    • setRelationshipName

      public void setRelationshipName(String relationshipName)
      Set up the name of the relationship type.
      Parameters:
      relationshipName - type name
    • getProperties

      public RelationshipProperties getProperties()
      Return the properties for the relationship.
      Returns:
      properties object
    • setProperties

      public void setProperties(RelationshipProperties properties)
      Set up the properties for the relationship.
      Parameters:
      properties - properties object
    • toString

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

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