Package com.atlan.model.core
Class AtlanTag
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.core.AtlanTag
- All Implemented Interfaces:
AuditDetail,Serializable,Comparable<AtlanTag>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAtlanTag.AtlanTagBuilder<C extends AtlanTag,B extends AtlanTag.AtlanTagBuilder<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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AtlanTag.AtlanTagBuilder<?,?> builder()protected booleanintbooleanUnique identifier of the entity to which this Atlan tag is attached.Status of the entity.Whether to propagate this Atlan tag to other entities related to the entity to which the Atlan tag is attached.Whether to remove this Atlan tag from other entities to which it has been propagated when the Atlan tag is removed from this entity.Whether to prevent this Atlan tag from propagating through hierarchy (true) or allow it to propagate through hierarchy (false).Whether to prevent this Atlan tag from propagating through lineage (true) or allow it to propagate through lineage (false).List of attachments of this tag to source-specific tags.Name of the Atlan tag.inthashCode()static AtlanTagConstruct an Atlan tag assignment for an entity that is being created or updated.static AtlanTagof(String atlanTagName, SourceTagAttachment sta) Construct an Atlan tag assignment for an entity that is being created or updated.static AtlanTagConstruct an Atlan tag assignment for a specific entity.static AtlanTagof(String atlanTagName, String entityGuid, SourceTagAttachment sta) Construct an Atlan tag assignment for a specific entity.toString()Methods inherited from class com.atlan.model.core.AtlanObject
getRawJsonObject, setRawJsonObject, toJsonMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlan.model.search.AuditDetail
getRawJsonObject, setRawJsonObject
-
Constructor Details
-
AtlanTag
public AtlanTag() -
AtlanTag
-
-
Method Details
-
of
Construct an Atlan tag assignment for an entity that is being created or updated.- Parameters:
atlanTagName- human-readable name of the Atlan tag- Returns:
- an Atlan tag assignment with default settings for propagation
-
of
Construct an Atlan tag assignment for an entity that is being created or updated.- Parameters:
atlanTagName- human-readable name of the Atlan tagsta- (optional) source-specific details for the tag- Returns:
- an Atlan tag assignment with default settings for propagation
-
of
Construct an Atlan tag assignment for a specific entity.- Parameters:
atlanTagName- human-readable name of the Atlan tagentityGuid- unique identifier (GUID) of the entity to which the Atlan tag is to be assigned- Returns:
- an Atlan tag assignment with default settings for propagation and a specific entity assignment
-
of
Construct an Atlan tag assignment for a specific entity.- Parameters:
atlanTagName- human-readable name of the Atlan tagentityGuid- unique identifier (GUID) of the entity to which the Atlan tag is to be assignedsta- (optional) source-specific details for the tag- Returns:
- an Atlan tag assignment with default settings for propagation and a specific entity assignment
-
compareTo
- Specified by:
compareToin interfaceComparable<AtlanTag>
-
builder
-
toBuilder
-
getTypeName
Name of the Atlan tag. Note that this is the static-hashed unique name of the Atlan tag, not the human-readable displayName.- Specified by:
getTypeNamein interfaceAuditDetail
-
getEntityGuid
Unique identifier of the entity to which this Atlan tag is attached. -
getEntityStatus
Status of the entity. -
getPropagate
Whether to propagate this Atlan tag to other entities related to the entity to which the Atlan tag is attached. -
getRemovePropagationsOnEntityDelete
Whether to remove this Atlan tag from other entities to which it has been propagated when the Atlan tag is removed from this entity. -
getRestrictPropagationThroughLineage
Whether to prevent this Atlan tag from propagating through lineage (true) or allow it to propagate through lineage (false). -
getRestrictPropagationThroughHierarchy
Whether to prevent this Atlan tag from propagating through hierarchy (true) or allow it to propagate through hierarchy (false). -
getSourceTagAttachments
List of attachments of this tag to source-specific tags. -
equals
- Overrides:
equalsin classAtlanObject
-
canEqual
- Overrides:
canEqualin classAtlanObject
-
hashCode
public int hashCode()- Overrides:
hashCodein classAtlanObject
-
toString
Description copied from class:AtlanObject- Overrides:
toStringin classAtlanObject
-