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
ConstructorsModifierConstructorDescriptionprotectedAttributeGenerator(AtlanClient client, GeneratorConfig cfg) AttributeGenerator(AtlanClient client, String className, AttributeDef attributeDef, GeneratorConfig cfg) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetType()protected voidprotected voidprotected voidresolveType(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:
resolveClassNamein classTypeGenerator
-
resolveName
protected void resolveName() -
resolveType
-
getFullType
-
getReferenceType
-
getSingular
-
getType
-
getRenamed
-
getSnakeCaseRenamed
-
getRetyped
public boolean getRetyped()
-