- java.lang.Object
-
- org.jooq.meta.AbstractDefinition
-
- org.jooq.meta.AbstractPackageDefinition
-
- All Implemented Interfaces:
Definition,PackageDefinition
- Direct Known Subclasses:
XMLPackageDefinition
public abstract class AbstractPackageDefinition extends AbstractDefinition implements PackageDefinition
- Author:
- Lukas Eder
-
-
Constructor Summary
Constructors Constructor Description AbstractPackageDefinition(SchemaDefinition schema, String name, String comment)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description List<AttributeDefinition>getConstants()Fetch all constants from the package.protected abstract List<AttributeDefinition>getConstants0()List<Definition>getDefinitionPath()List<RoutineDefinition>getRoutines()Fetch all routines from the package.protected abstract List<RoutineDefinition>getRoutines0()List<UDTDefinition>getUDTs()Fetch all UDTs from the package.-
Methods inherited from class org.jooq.meta.AbstractDefinition
create, create, equals, getCatalog, getComment, getConnection, getDatabase, getDialect, getInputName, getName, getOutputName, getOverload, getPackage, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSource, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jooq.meta.Definition
getCatalog, getComment, getDatabase, getInputName, getName, getOutputName, getOverload, getPackage, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSource
-
-
-
-
Constructor Detail
-
AbstractPackageDefinition
public AbstractPackageDefinition(SchemaDefinition schema, String name, String comment)
-
-
Method Detail
-
getDefinitionPath
public List<Definition> getDefinitionPath()
- Specified by:
getDefinitionPathin interfaceDefinition- Overrides:
getDefinitionPathin classAbstractDefinition- Returns:
- A path of definitions for this definition, e.g.
[schema].[package].[routine].[parameter]
-
getRoutines
public final List<RoutineDefinition> getRoutines()
Description copied from interface:PackageDefinitionFetch all routines from the package.- Specified by:
getRoutinesin interfacePackageDefinition
-
getUDTs
public final List<UDTDefinition> getUDTs()
Description copied from interface:PackageDefinitionFetch all UDTs from the package.- Specified by:
getUDTsin interfacePackageDefinition
-
getRoutines0
protected abstract List<RoutineDefinition> getRoutines0() throws SQLException
- Throws:
SQLException
-
getConstants
public final List<AttributeDefinition> getConstants()
Description copied from interface:PackageDefinitionFetch all constants from the package.- Specified by:
getConstantsin interfacePackageDefinition
-
getConstants0
protected abstract List<AttributeDefinition> getConstants0() throws SQLException
- Throws:
SQLException
-
-