java.lang.Object
org.jooq.meta.AbstractDefinition
org.jooq.meta.AbstractElementContainerDefinition<AttributeDefinition>
org.jooq.meta.AbstractUDTDefinition
- All Implemented Interfaces:
Definition,PackageDefinition,UDTDefinition
- Direct Known Subclasses:
PostgresUDTDefinition
public abstract class AbstractUDTDefinition
extends AbstractElementContainerDefinition<AttributeDefinition>
implements UDTDefinition
Abstract base implementation for
UDTDefinition's- Author:
- Lukas Eder
-
Field Summary
Fields inherited from class org.jooq.meta.AbstractElementContainerDefinition
PRECISION_SCALE -
Constructor Summary
ConstructorsConstructorDescriptionAbstractUDTDefinition(SchemaDefinition schema, String name, String comment) AbstractUDTDefinition(SchemaDefinition schema, PackageDefinition pkg, String name, boolean synthetic, String comment) AbstractUDTDefinition(SchemaDefinition schema, PackageDefinition pkg, String name, String comment) -
Method Summary
Modifier and TypeMethodDescriptionfinal AttributeDefinitiongetAttribute(int attributeIndex) Get an attribute in this UDT by its index (starting at 0)final AttributeDefinitiongetAttribute(String attributeName) Get an attribute in this UDT by its namefinal List<AttributeDefinition>All attributes in the UDTFetch all constants from the package.final List<RoutineDefinition>All routines in the UDTprotected abstract List<RoutineDefinition>getUDTs()Fetch all UDTs from the package.booleanWhether this UDT is a synthetic type.Methods inherited from class org.jooq.meta.AbstractElementContainerDefinition
getElement, getElement, getElement, getElements, getElements0, parseNotNull, parsePrecision, parseScale, parseTypeNameMethods inherited from class org.jooq.meta.AbstractDefinition
create, create, equals, getCatalog, getComment, getConnection, getDatabase, getDefinitionPath, getDialect, getInputName, getName, getOutputName, getOverload, getPackage, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSource, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jooq.meta.Definition
getCatalog, getComment, getDatabase, getDefinitionPath, getInputName, getName, getOutputName, getOverload, getPackage, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSource
-
Constructor Details
-
AbstractUDTDefinition
-
AbstractUDTDefinition
public AbstractUDTDefinition(SchemaDefinition schema, PackageDefinition pkg, String name, String comment) -
AbstractUDTDefinition
public AbstractUDTDefinition(SchemaDefinition schema, PackageDefinition pkg, String name, boolean synthetic, String comment)
-
-
Method Details
-
getAttributes
Description copied from interface:UDTDefinitionAll attributes in the UDT- Specified by:
getAttributesin interfaceUDTDefinition
-
getAttribute
Description copied from interface:UDTDefinitionGet an attribute in this UDT by its name- Specified by:
getAttributein interfaceUDTDefinition
-
getAttribute
Description copied from interface:UDTDefinitionGet an attribute in this UDT by its index (starting at 0)- Specified by:
getAttributein interfaceUDTDefinition
-
getRoutines
Description copied from interface:UDTDefinitionAll routines in the UDT- Specified by:
getRoutinesin interfacePackageDefinition- Specified by:
getRoutinesin interfaceUDTDefinition
-
getUDTs
Description copied from interface:PackageDefinitionFetch all UDTs from the package.- Specified by:
getUDTsin interfacePackageDefinition
-
getRoutines0
-
getConstants
Description copied from interface:PackageDefinitionFetch all constants from the package.- Specified by:
getConstantsin interfacePackageDefinition
-
isSynthetic
public boolean isSynthetic()Description copied from interface:UDTDefinitionWhether this UDT is a synthetic type.- Specified by:
isSyntheticin interfaceDefinition- Specified by:
isSyntheticin interfaceUDTDefinition
-