Package com.atlan.model.typedefs
Class StructDef
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.typedefs.TypeDef
com.atlan.model.typedefs.StructDef
- All Implemented Interfaces:
Serializable
Structural definition of an object that can be reused in other type definitions.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
StructDef.StructDefBuilder<C extends StructDef,
B extends StructDef.StructDefBuilder<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 StructDef.StructDefBuilder<?,
?> builder()
protected boolean
static StructDef.StructDefBuilder<?,
?> creator
(String name, List<AttributeDef> attributes) Build up a struct definition from the provided parameters and default settings for all other parameters.boolean
Fixed category for struct typedefs.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
-
StructDef
-
-
Method Details
-
creator
Build up a struct definition from the provided parameters and default settings for all other parameters. NOTE: INTERNAL USE ONLY.- Parameters:
name
- name of the struct definitionattributes
- definitions for each attribute within the struct definition- Returns:
- a builder for a struct definition
-
builder
-
toBuilder
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
Description copied from class:AtlanObject
-
getCategory
Fixed category for struct typedefs.- Overrides:
getCategory
in classTypeDef
-