Class OpenLineageLifecycleStateChangeDataSetFacetPreviousIdentifier

java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageLifecycleStateChangeDataSetFacetPreviousIdentifier

public class OpenLineageLifecycleStateChangeDataSetFacetPreviousIdentifier extends Object
This class represents the previous identity of a dataset that has been renamed. It is part of the OpenLineage spec.
  • Constructor Details

    • OpenLineageLifecycleStateChangeDataSetFacetPreviousIdentifier

      public OpenLineageLifecycleStateChangeDataSetFacetPreviousIdentifier()
      Default constructor
  • Method Details

    • getName

      public String getName()
      Return the previous name of the dataset.
      Returns:
      string
    • setName

      public void setName(String name)
      Set up the previous name of the dataset.
      Parameters:
      name - string
    • getNamespace

      public String getNamespace()
      Return the previous namespace of the dataset.
      Returns:
      string
    • setNamespace

      public void setNamespace(String namespace)
      Set up the previous namespace of the dataset.
      Parameters:
      namespace - string
    • 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()
      Return hash code based on properties.
      Overrides:
      hashCode in class Object
      Returns:
      int