public final class SqlDatabaseType extends CompoundType
| Constructor and Description |
|---|
SqlDatabaseType(AstLocation location,
Package pkg,
java.lang.String name,
java.util.List<Field> fields,
java.util.List<DocComment> docComments)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ZserioAstVisitor visitor)
Accept zserio visitor.
|
java.lang.String |
getInstantiationName()
Gets the unique instantiation name.
|
java.util.ArrayDeque<TypeReference> |
getInstantiationReferenceStack()
Gets stack of instantiations leading to this instantiation.
|
java.util.List<ZserioTemplatableType> |
getInstantiations()
Gets all template's instantiations.
|
java.util.ArrayDeque<TypeReference> |
getReversedInstantiationReferenceStack()
Gets reversed stack of instantiations leading to this instantiation.
|
ZserioTemplatableType |
getTemplate()
Gets original template used for instantiation.
|
java.util.List<TemplateParameter> |
getTemplateParameters()
Gets list of template parameters.
|
checkNonSqlTableFields, checkSqlSymbolNames, checkSqlTableFields, checkSymbolNames, containsExtendedField, getFields, getFunctions, getName, getPackage, getScope, getTypeParameters, hasBranchWithoutImplicitArray, hasEmptyBranch, hasFieldBranchWithoutImplicitArray, hasFieldEmptyBranch, hasPackableField, isPackable, needsChildrenInitialization, trackExtendedField, trackImplicitArray, visitChildrengetDocCommentsgetLocationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLocationpublic SqlDatabaseType(AstLocation location, Package pkg, java.lang.String name, java.util.List<Field> fields, java.util.List<DocComment> docComments)
location - AST node location.pkg - Package to which belongs the SQL database type.name - Name of the SQL database type.fields - List of all fields of the SQL database type.docComments - List of documentation comments belonging to this node.public void accept(ZserioAstVisitor visitor)
AstNodevisitor - Visitor to accept.public java.util.List<TemplateParameter> getTemplateParameters()
ZserioTemplatableTypegetTemplateParameters in interface ZserioTemplatableTypepublic java.util.List<ZserioTemplatableType> getInstantiations()
ZserioTemplatableTypegetInstantiations in interface ZserioTemplatableTypepublic ZserioTemplatableType getTemplate()
ZserioTemplatableTypegetTemplate in interface ZserioTemplatableTypepublic java.util.ArrayDeque<TypeReference> getInstantiationReferenceStack()
ZserioTemplatableTypegetInstantiationReferenceStack in interface ZserioTemplatableTypepublic java.util.ArrayDeque<TypeReference> getReversedInstantiationReferenceStack()
ZserioTemplatableTypegetReversedInstantiationReferenceStack in interface ZserioTemplatableTypepublic java.lang.String getInstantiationName()
ZserioTemplatableTypegetInstantiationName in interface ZserioTemplatableTypeLast updated 2024-07-18 11:31:32