Package com.atlan.model.typedefs
Class EntityDef
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.typedefs.TypeDef
com.atlan.model.typedefs.EntityDef
- All Implemented Interfaces:
Serializable
Structural definition of an entity.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
EntityDef.EntityDefBuilder<C extends EntityDef,
B extends EntityDef.EntityDefBuilder<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
-
Method Summary
Modifier and TypeMethodDescriptionstatic EntityDef.EntityDefBuilder<?,
?> builder()
protected boolean
static EntityDef.EntityDefBuilder<?,
?> creator
(String name, List<AttributeDef> attributes) Build up an entity definition from the provided parameters and default settings for all other parameters.static EntityDef.EntityDefBuilder<?,
?> Build up an entity definition from the provided parameters and default settings for all other parameters.boolean
Unused.Fixed category for entity typedefs.Relationships that can exist for the entity.Subtypes 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
-
EntityDef
-
-
Method Details
-
creator
Build up an entity definition from the provided parameters and default settings for all other parameters. NOTE: INTERNAL USE ONLY.- Parameters:
name
- name of the entity definitionattributes
- definitions for each attribute within the entity definition- Returns:
- a builder for an entity definition
-
creator
public static EntityDef.EntityDefBuilder<?,?> creator(String name, List<AttributeDef> attributes, List<String> superTypes) Build up an entity definition from the provided parameters and default settings for all other parameters. NOTE: INTERNAL USE ONLY.- Parameters:
name
- name of the entity definitionattributes
- definitions for each attribute within the entity definitionsuperTypes
- names of the types that this entity definition should inherit from- Returns:
- a builder for an entity definition
-
builder
-
toBuilder
-
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
-