Class EntityRelationship
- java.lang.Object
-
- io.datahubproject.openapi.generated.EntityRelationship
-
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2023-12-06T11:25:47.362934Z[Etc/UTC]") public class EntityRelationship extends java.lang.ObjectDownstream lineage information about a dataset including the source reporting the lineage
-
-
Constructor Summary
Constructors Constructor Description EntityRelationship()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityRelationshipcreated(AuditStamp created)EntityRelationshipentity(java.lang.String entity)booleanequals(java.lang.Object o)@Valid AuditStampgetCreated()Get created@NotNull java.lang.StringgetEntity()The downstream dataset the lineage points to@NotNull java.lang.StringgetType()The type of the relationshipinthashCode()voidsetCreated(AuditStamp created)voidsetEntity(java.lang.String entity)voidsetType(java.lang.String type)java.lang.StringtoString()EntityRelationshiptype(java.lang.String type)
-
-
-
Method Detail
-
created
public EntityRelationship created(AuditStamp created)
-
getCreated
@Valid public @Valid AuditStamp getCreated()
Get created- Returns:
- created
-
setCreated
public void setCreated(AuditStamp created)
-
entity
public EntityRelationship entity(java.lang.String entity)
-
getEntity
@NotNull public @NotNull java.lang.String getEntity()
The downstream dataset the lineage points to- Returns:
- entity
-
setEntity
public void setEntity(java.lang.String entity)
-
type
public EntityRelationship type(java.lang.String type)
-
getType
@NotNull public @NotNull java.lang.String getType()
The type of the relationship- Returns:
- type
-
setType
public void setType(java.lang.String type)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-