Package com.atlan.model.typedefs
Class RelationshipEndDef
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.typedefs.AttributeDef
com.atlan.model.typedefs.RelationshipEndDef
- All Implemented Interfaces:
Serializable
,Comparable<AttributeDef>
Defines the characteristics of the structure of one end of a relationship.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
RelationshipEndDef.RelationshipEndDefBuilder<C extends RelationshipEndDef,
B extends RelationshipEndDef.RelationshipEndDefBuilder<C, B>> Nested classes/interfaces inherited from class com.atlan.model.typedefs.AttributeDef
AttributeDef.AttributeDefBuilder<C extends AttributeDef,
B extends AttributeDef.AttributeDefBuilder<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 RelationshipEndDef.RelationshipEndDefBuilder<?,
?> builder()
protected boolean
static RelationshipEndDef.RelationshipEndDefBuilder<?,
?> creator
(String name, String type, boolean isContainer, AtlanCustomAttributeCardinality cardinality) Builds the minimal object necessary to construct a relationship end definition.boolean
Cardinality of this end of the relationship.Description of the relationship from this end of it.Whether this end of the relationship is a container ("owns" the other end's assets).TBCgetName()
Name of the attribute that represents this end of the relationship.getType()
Name of the type definition (entity type) for the other end of the relationship.int
hashCode()
toString()
Methods inherited from class com.atlan.model.typedefs.AttributeDef
compareTo, creator, creator, getAutoUpdateAttributes, getBasicType, getBasicType, getConstraints, getContainerType, getContainerType, getDefaultValue, getDisplayName, getEnumValues, getIncludeInNotification, getIndexType, getIndexTypeESConfig, getIndexTypeESFields, getIsDefaultValueNull, getIsIndexable, getIsNew, getIsOptional, getIsUnique, getOptions, getSearchWeight, getSkipScrubbing, getTypeName, getValuesMaxCount, getValuesMinCount, isArchived, of, of, of, of, of, of, of, of
Methods inherited from class com.atlan.model.core.AtlanObject
getRawJsonObject, setRawJsonObject, toJson
-
Constructor Details
-
RelationshipEndDef
-
-
Method Details
-
creator
public static RelationshipEndDef.RelationshipEndDefBuilder<?,?> creator(String name, String type, boolean isContainer, AtlanCustomAttributeCardinality cardinality) Builds the minimal object necessary to construct a relationship end definition. NOTE: INTERNAL USE ONLY.- Parameters:
name
- of the attribute that represents this end of the relationshiptype
- name of the entity definition for the other end of the relationshipisContainer
- whether this end of the relationship "owns" the other end's assetscardinality
- of this end of the relationship- Returns:
- builder containing minimal information necessary to define a new relationship end
-
builder
-
toBuilder
- Overrides:
toBuilder
in classAttributeDef
-
getName
Name of the attribute that represents this end of the relationship.- Overrides:
getName
in classAttributeDef
-
getDescription
Description of the relationship from this end of it.- Overrides:
getDescription
in classAttributeDef
-
getType
Name of the type definition (entity type) for the other end of the relationship. -
getIsContainer
Whether this end of the relationship is a container ("owns" the other end's assets). -
getIsLegacyAttribute
TBC -
getCardinality
Cardinality of this end of the relationship.- Overrides:
getCardinality
in classAttributeDef
-
equals
- Overrides:
equals
in classAttributeDef
-
canEqual
- Overrides:
canEqual
in classAttributeDef
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAttributeDef
-
toString
Description copied from class:AtlanObject
- Overrides:
toString
in classAttributeDef
-