Package com.atlan.generators
Class AttributeGenerator
java.lang.Object
com.atlan.generators.TypeGenerator
com.atlan.generators.AttributeGenerator
- Direct Known Subclasses:
SearchableAttribute
,StructGenerator.Attribute
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlan.generators.TypeGenerator
TypeGenerator.MappedType
-
Field Summary
Fields inherited from class com.atlan.generators.TypeGenerator
cache, cfg, className, client, description, generatorName, originalName, packageRoot, PRIMITIVE_MAPPINGS
-
Constructor Summary
ModifierConstructorDescriptionprotected
AttributeGenerator
(AtlanClient client, GeneratorConfig cfg) AttributeGenerator
(AtlanClient client, String className, AttributeDef attributeDef, GeneratorConfig cfg) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getType()
protected void
protected void
protected void
resolveType
(AttributeDef attributeDef) Methods inherited from class com.atlan.generators.TypeGenerator
getCache, getCfg, getClassName, getClassTemplateFile, getClient, getDescription, getGeneratorName, getMappedType, getOriginalName, getPackageRoot, isBuiltIn
-
Constructor Details
-
AttributeGenerator
-
AttributeGenerator
public AttributeGenerator(AtlanClient client, String className, AttributeDef attributeDef, GeneratorConfig cfg)
-
-
Method Details
-
resolveClassName
protected void resolveClassName()- Specified by:
resolveClassName
in classTypeGenerator
-
resolveName
protected void resolveName() -
resolveType
-
getFullType
-
getReferenceType
-
getSingular
-
getType
-
getRenamed
-
getSnakeCaseRenamed
-
getRetyped
public boolean getRetyped()
-