Class OpenLineageSymlinksDataSetFacetIdentifier

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

public class OpenLineageSymlinksDataSetFacetIdentifier extends Object
This class represents an alternative identifier (symlink) for a dataset. It is part of the OpenLineage spec.
  • Constructor Details

    • OpenLineageSymlinksDataSetFacetIdentifier

      public OpenLineageSymlinksDataSetFacetIdentifier()
      Default constructor
  • Method Details

    • getNamespace

      public String getNamespace()
      Return the namespace of the alternative identifier.
      Returns:
      string
    • setNamespace

      public void setNamespace(String namespace)
      Set up the namespace of the alternative identifier.
      Parameters:
      namespace - string
    • getName

      public String getName()
      Return the name of the alternative identifier.
      Returns:
      string
    • setName

      public void setName(String name)
      Set up the name of the alternative identifier.
      Parameters:
      name - string
    • getType

      public String getType()
      Return the type of the alternative identifier, for example TABLE or LOCATION.
      Returns:
      string
    • setType

      public void setType(String type)
      Set up the type of the alternative identifier, for example TABLE or LOCATION.
      Parameters:
      type - 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