Package com.atlan.model.typedefs
Class RelationshipDef
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.typedefs.TypeDef
com.atlan.model.typedefs.RelationshipDef
- All Implemented Interfaces:
Serializable
Structural definition of an entity.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
RelationshipDef.RelationshipDefBuilder<C extends RelationshipDef,
B extends RelationshipDef.RelationshipDefBuilder<C, B>> Nested classes/interfaces inherited from class com.atlan.model.typedefs.TypeDef
TypeDef.TypeDefBuilder<C extends TypeDef,
B extends TypeDef.TypeDefBuilder<C, B>> Nested classes/interfaces inherited from class com.atlan.model.core.AtlanObject
AtlanObject.AtlanObjectBuilder<C extends AtlanObject,
B extends AtlanObject.AtlanObjectBuilder<C, B>> -
Field Summary
Fields inherited from class com.atlan.model.core.AtlanObject
rawJsonObject
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionstatic RelationshipDef.RelationshipDefBuilder<?,
?> builder()
protected boolean
static RelationshipDef.RelationshipDefBuilder<?,
?> creator
(String name, RelationshipEndDef end1, RelationshipEndDef end2) Build up a relationship definition from the provided parameters and default settings for all other parameters.static RelationshipDef.RelationshipDefBuilder<?,
?> creator
(String name, RelationshipEndDef end1, RelationshipEndDef end2, List<AttributeDef> attributes) Build up a relationship definition from the provided parameters and default settings for all other parameters.boolean
Unused.Fixed category for entity typedefs.Definition for the first endpoint of the relationship.Definition for the second endpoint of the relationship.Whether Atlan tags should propagate through this relationship, and if so in which direction(s).Relationships that can exist for the entity.Style of relationship in regard to containment and lifecycle.TBCSubtypes of this entity type.Supertypes of this entity type.int
hashCode()
toString()
Methods inherited from class com.atlan.model.typedefs.TypeDef
getAttributeDefs, getCreatedBy, getCreateTime, getDescription, getDisplayName, getGuid, getName, getServiceType, getTypeVersion, getUpdatedBy, getUpdateTime, getVersion
Methods inherited from class com.atlan.model.core.AtlanObject
getRawJsonObject, setRawJsonObject, toJson
-
Constructor Details
-
RelationshipDef
-
-
Method Details
-
creator
public static RelationshipDef.RelationshipDefBuilder<?,?> creator(String name, RelationshipEndDef end1, RelationshipEndDef end2) Build up a relationship definition from the provided parameters and default settings for all other parameters. NOTE: INTERNAL USE ONLY.- Parameters:
name
- name of the relationship definitionend1
- definition of the first endpoint of the relationshipend2
- definition of the second endpoint of the relationship- Returns:
- a builder for a relationship definition
-
creator
public static RelationshipDef.RelationshipDefBuilder<?,?> creator(String name, RelationshipEndDef end1, RelationshipEndDef end2, List<AttributeDef> attributes) Build up a relationship definition from the provided parameters and default settings for all other parameters. NOTE: INTERNAL USE ONLY.- Parameters:
name
- name of the relationship definitionend1
- definition of the first endpoint of the relationshipend2
- definition of the second endpoint of the relationshipattributes
- definitions for each attribute within the relationship definition- Returns:
- a builder for a relationship definition
-
builder
-
toBuilder
-
getRelationshipLabel
TBC -
getRelationshipCategory
Style of relationship in regard to containment and lifecycle. -
getPropagateTags
Whether Atlan tags should propagate through this relationship, and if so in which direction(s). -
getEndDef1
Definition for the first endpoint of the relationship. -
getEndDef2
Definition for the second endpoint of the relationship. -
getRelationshipAttributeDefs
Relationships that can exist for the entity. -
getSubTypes
Subtypes of this entity type. -
getSuperTypes
Supertypes of this entity type. -
getBusinessAttributeDefs
Unused. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
Description copied from class:AtlanObject
-
getCategory
Fixed category for entity typedefs.- Overrides:
getCategory
in classTypeDef
-