java.lang.Object
org.odpi.openmetadata.frameworks.discovery.properties.RelatedDataField

public class RelatedDataField extends Object
RelatedDataField describes a DataFieldLink and the attached DataField.
  • Constructor Details

    • RelatedDataField

      public RelatedDataField()
      Default constructor
    • RelatedDataField

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

    • getDataFieldLink

      public DataFieldLink getDataFieldLink()
      Return the description of the relationship.
      Returns:
      data field link
    • setDataFieldLink

      public void setDataFieldLink(DataFieldLink dataFieldLink)
      Set up the description of the relationship.
      Parameters:
      dataFieldLink - data field link
    • getAttachedDataField

      public DataField getAttachedDataField()
      Return the description of the attached data field.
      Returns:
      attached data field
    • setAttachedDataField

      public void setAttachedDataField(DataField attachedDataField)
      Set up the description of the attached data field.
      Parameters:
      attachedDataField - attached data field
    • toString

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

      public int hashCode()
      Create a hash code for this element type.
      Overrides:
      hashCode in class Object
      Returns:
      int hash code