Class OpenLineageOwnershipJobFacetOwner

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

public class OpenLineageOwnershipJobFacetOwner extends Object
This class represents a single owner of a job. It is part of the OpenLineage spec.
  • Constructor Details

    • OpenLineageOwnershipJobFacetOwner

      public OpenLineageOwnershipJobFacetOwner()
      Default constructor
  • Method Details

    • getName

      public String getName()
      Return the identifier of the owner of the job. It is recommended to define this as a URN, for example application:foo, user:jdoe or team:data.
      Returns:
      string
    • setName

      public void setName(String name)
      Set up the identifier of the owner of the job. It is recommended to define this as a URN, for example application:foo, user:jdoe or team:data.
      Parameters:
      name - string
    • getType

      public String getType()
      Return the type of the owner, for example MAINTAINER.
      Returns:
      string
    • setType

      public void setType(String type)
      Set up the type of the owner, for example MAINTAINER.
      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