Class OpenLineageDocumentationDataSetFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageDataSetFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageDocumentationDataSetFacet
This class represents the documentation dataset facet. It provides a description of the dataset.
It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-1-0/DocumentationDatasetFacet.json#/$defs/DocumentationDatasetFacet.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the MIME type of the description field content.Return the description of the dataset.inthashCode()Return hash code based on properties.voidsetContentType(String contentType) Set up the MIME type of the description field content.voidsetDescription(String description) Set up the description of the dataset.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageDataSetFacet
get_deleted, set_deletedMethods inherited from class org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
get_producer, get_schemaURL, getAdditionalProperties, set_producer, set_schemaURL, setAdditionalProperties, setAdditionalProperty
-
Constructor Details
-
OpenLineageDocumentationDataSetFacet
public OpenLineageDocumentationDataSetFacet()Default constructor
-
-
Method Details
-
getDescription
Return the description of the dataset.- Returns:
- string
-
setDescription
Set up the description of the dataset.- Parameters:
description- string
-
getContentType
Return the MIME type of the description field content.- Returns:
- string
-
setContentType
Set up the MIME type of the description field content.- Parameters:
contentType- string
-
toString
Standard toString method.- Overrides:
toStringin classOpenLineageDataSetFacet- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classOpenLineageDataSetFacet- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classOpenLineageDataSetFacet- Returns:
- int
-