Class RelatedAspect
- java.lang.Object
-
- io.datahubproject.openapi.generated.RelatedAspect
-
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2023-03-16T12:22:36.923004Z[Etc/UTC]") public class RelatedAspect extends java.lang.Object
Metadata about how an aspect is related to some urn
-
-
Constructor Summary
Constructors Constructor Description RelatedAspect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RelatedAspect
aspect(java.lang.String aspect)
RelatedAspect
entity(java.lang.String entity)
boolean
equals(java.lang.Object o)
@NotNull java.lang.String
getAspect()
Get aspect@NotNull java.lang.String
getEntity()
Urn of the entity that is referenced by the aspect.@NotNull java.lang.String
getRelationship()
Get relationshipint
hashCode()
RelatedAspect
relationship(java.lang.String relationship)
void
setAspect(java.lang.String aspect)
void
setEntity(java.lang.String entity)
void
setRelationship(java.lang.String relationship)
java.lang.String
toString()
-
-
-
Method Detail
-
entity
public RelatedAspect entity(java.lang.String entity)
-
getEntity
@NotNull public @NotNull java.lang.String getEntity()
Urn of the entity that is referenced by the aspect.- Returns:
- entity
-
setEntity
public void setEntity(java.lang.String entity)
-
aspect
public RelatedAspect aspect(java.lang.String aspect)
-
getAspect
@NotNull public @NotNull java.lang.String getAspect()
Get aspect- Returns:
- aspect
-
setAspect
public void setAspect(java.lang.String aspect)
-
relationship
public RelatedAspect relationship(java.lang.String relationship)
-
getRelationship
@NotNull public @NotNull java.lang.String getRelationship()
Get relationship- Returns:
- relationship
-
setRelationship
public void setRelationship(java.lang.String relationship)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-