org.jooq.util
Class AbstractElementContainerDefinition<E extends TypedElementDefinition<?>>
java.lang.Object
org.jooq.util.AbstractDefinition
org.jooq.util.AbstractElementContainerDefinition<E>
- All Implemented Interfaces:
- Definition
- Direct Known Subclasses:
- AbstractTableDefinition, AbstractUDTDefinition
public abstract class AbstractElementContainerDefinition<E extends TypedElementDefinition<?>>
- extends AbstractDefinition
A base implementation for element container definitions
- Author:
- Lukas Eder
|
Field Summary |
protected static Pattern |
PRECISION_SCALE
Precision and scale for those dialects that don't formally provide that
information in a separate field |
| Methods inherited from class org.jooq.util.AbstractDefinition |
create, equals, getComment, getConnection, getDatabase, getDialect, getInputName, getName, getOutputName, getOverload, getQualifiedInputName, getQualifiedName, getQualifiedOutputName, getSchema, hashCode, toString |
PRECISION_SCALE
protected static final Pattern PRECISION_SCALE
- Precision and scale for those dialects that don't formally provide that
information in a separate field
AbstractElementContainerDefinition
public AbstractElementContainerDefinition(SchemaDefinition schema,
String name,
String comment)
getDefinitionPath
public final List<Definition> getDefinitionPath()
- Returns:
- A path of definitions for this definition, e.g.
[schema].[package].[routine].[parameter]
getElements
protected final List<E> getElements()
getElement
protected final E getElement(String name)
getElement
protected final E getElement(String name,
boolean ignoreCase)
getElement
protected final E getElement(int index)
getElements0
protected abstract List<E> getElements0()
throws SQLException
- Throws:
SQLException
parsePrecision
protected Number parsePrecision(String typeName)
parseScale
protected Number parseScale(String typeName)
parseNotNull
protected boolean parseNotNull(String typeName)
Copyright © 2012. All Rights Reserved.