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
Nested ClassesModifier and TypeClassDescriptionstatic classRelationshipEndDef.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
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionstatic RelationshipEndDef.RelationshipEndDefBuilder<?, ?> builder()protected booleanstatic RelationshipEndDef.RelationshipEndDefBuilder<?, ?> creator(String name, String type, boolean isContainer, AtlanCustomAttributeCardinality cardinality) Builds the minimal object necessary to construct a relationship end definition.booleanCardinality 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.inthashCode()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, ofMethods 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:
toBuilderin classAttributeDef
-
getName
Name of the attribute that represents this end of the relationship.- Overrides:
getNamein classAttributeDef
-
getDescription
Description of the relationship from this end of it.- Overrides:
getDescriptionin 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:
getCardinalityin classAttributeDef
-
equals
- Overrides:
equalsin classAttributeDef
-
canEqual
- Overrides:
canEqualin classAttributeDef
-
hashCode
public int hashCode()- Overrides:
hashCodein classAttributeDef
-
toString
Description copied from class:AtlanObject- Overrides:
toStringin classAttributeDef
-