public abstract class AbstractUDTDefinition extends AbstractElementContainerDefinition<AttributeDefinition> implements UDTDefinition
UDTDefinition'sPRECISION_SCALE| Constructor and Description |
|---|
AbstractUDTDefinition(SchemaDefinition schema,
PackageDefinition pkg,
String name,
boolean synthetic,
String comment) |
AbstractUDTDefinition(SchemaDefinition schema,
PackageDefinition pkg,
String name,
String comment) |
AbstractUDTDefinition(SchemaDefinition schema,
String name,
String comment) |
| Modifier and Type | Method and Description |
|---|---|
AttributeDefinition |
getAttribute(int attributeIndex)
Get an attribute in this UDT by its index (starting at 0)
|
AttributeDefinition |
getAttribute(String attributeName)
Get an attribute in this UDT by its name
|
List<AttributeDefinition> |
getAttributes()
All attributes in the UDT
|
List<AttributeDefinition> |
getConstants()
Fetch all constants from the package.
|
List<RoutineDefinition> |
getRoutines()
All routines in the UDT
|
protected abstract List<RoutineDefinition> |
getRoutines0() |
List<UDTDefinition> |
getUDTs()
Fetch all UDTs from the package.
|
boolean |
isSynthetic()
Whether this UDT is a synthetic type.
|
getElement, getElement, getElement, getElements, getElements0, parseNotNull, parsePrecision, parseScale, parseTypeNamecreate, create, equals, getCatalog, getComment, getConnection, getDatabase, getDefinitionPath, getDialect, getInputName, getName, getOutputName, getOverload, getPackage, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSource, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetPackagegetCatalog, getComment, getDatabase, getDefinitionPath, getInputName, getName, getOutputName, getOverload, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSourcepublic AbstractUDTDefinition(SchemaDefinition schema, String name, String comment)
public AbstractUDTDefinition(SchemaDefinition schema, PackageDefinition pkg, String name, String comment)
public AbstractUDTDefinition(SchemaDefinition schema, PackageDefinition pkg, String name, boolean synthetic, String comment)
public final List<AttributeDefinition> getAttributes()
UDTDefinitiongetAttributes in interface UDTDefinitionpublic final AttributeDefinition getAttribute(String attributeName)
UDTDefinitiongetAttribute in interface UDTDefinitionpublic final AttributeDefinition getAttribute(int attributeIndex)
UDTDefinitiongetAttribute in interface UDTDefinitionpublic final List<RoutineDefinition> getRoutines()
UDTDefinitiongetRoutines in interface PackageDefinitiongetRoutines in interface UDTDefinitionpublic List<UDTDefinition> getUDTs()
PackageDefinitiongetUDTs in interface PackageDefinitionprotected abstract List<RoutineDefinition> getRoutines0()
public List<AttributeDefinition> getConstants()
PackageDefinitiongetConstants in interface PackageDefinitionpublic boolean isSynthetic()
UDTDefinitionisSynthetic in interface UDTDefinitionCopyright © 2021. All rights reserved.