- All Superinterfaces:
Definition,PackageDefinition
- All Known Implementing Classes:
AbstractUDTDefinition,PostgresUDTDefinition
A definition for a UDT
This extends PackageDefinition because Oracle internally models UDT's
in similar ways as packages. This is especially true for the way, member
procedures and functions are called.
- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(int attributeIndex) Get an attribute in this UDT by its index (starting at 0)getAttribute(String attributeName) Get an attribute in this UDT by its nameAll attributes in the UDTAll routines in the UDTThe subtypes of this UDT, if any.The supertype of this UDT, if any.booleanWhether the UDT is instantiable.booleanWhether this UDT has either subtypes or supertypes or both.booleanWhether this UDT is a synthetic type.Methods inherited from interface org.jooq.meta.Definition
getCatalog, getComment, getDatabase, getDefinitionPath, getInputName, getName, getOutputName, getOverload, getPackage, getPartiallyQualifiedNames, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSourceMethods inherited from interface org.jooq.meta.PackageDefinition
getConstants, getUDTs
-
Method Details
-
getAttributes
List<AttributeDefinition> getAttributes()All attributes in the UDT -
getAttribute
Get an attribute in this UDT by its name -
getAttribute
Get an attribute in this UDT by its index (starting at 0) -
getRoutines
List<RoutineDefinition> getRoutines()All routines in the UDT- Specified by:
getRoutinesin interfacePackageDefinition
-
isSynthetic
boolean isSynthetic()Whether this UDT is a synthetic type.- Specified by:
isSyntheticin interfaceDefinition
-
isInTypeHierarchy
boolean isInTypeHierarchy()Whether this UDT has either subtypes or supertypes or both. -
getSubtypes
List<UDTDefinition> getSubtypes()The subtypes of this UDT, if any. -
getSupertype
UDTDefinition getSupertype()The supertype of this UDT, if any. -
isInstantiable
boolean isInstantiable()Whether the UDT is instantiable.
-