java.lang.Object
org.jooq.meta.AbstractDefinition
org.jooq.meta.AbstractContainerElementDefinition<RoutineDefinition>
org.jooq.meta.AbstractTypedElementDefinition<RoutineDefinition>
org.jooq.meta.DefaultParameterDefinition
- All Implemented Interfaces:
ContainerElementDefinition<RoutineDefinition>,Definition,ParameterDefinition,PositionedDefinition,TypedElementDefinition<RoutineDefinition>
public class DefaultParameterDefinition
extends AbstractTypedElementDefinition<RoutineDefinition>
implements ParameterDefinition
A base implementation for column definitions.
- Author:
- Lukas Eder
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultParameterDefinition(RoutineDefinition routine, String name, int position, DataTypeDefinition type) DefaultParameterDefinition(RoutineDefinition routine, String name, int position, DataTypeDefinition type, boolean isDefaulted) DefaultParameterDefinition(RoutineDefinition routine, String name, int position, DataTypeDefinition type, boolean isDefaulted, boolean isUnnamed) DefaultParameterDefinition(RoutineDefinition routine, String name, int position, DataTypeDefinition type, boolean isDefaulted, boolean isUnnamed, String comment) DefaultParameterDefinition(RoutineDefinition routine, String name, int position, DataTypeDefinition type, boolean isDefaulted, boolean isUnnamed, String comment, String overload) DefaultParameterDefinition(RoutineDefinition routine, String name, int position, DataTypeDefinition type, boolean isDefaulted, boolean isUnnamed, String comment, String overload, boolean isSynthetic) -
Method Summary
Modifier and TypeMethodDescriptionintThe object's 1-based position in the parent.booleanWhether the parameter has a default value.booleanWhether the parameter is synthetic.booleanWhether the parameter has a name.Methods inherited from class org.jooq.meta.AbstractTypedElementDefinition
customType, getDataType, getDefinedType, getDomain, getType, getType, mapDefinedTypeMethods inherited from class org.jooq.meta.AbstractContainerElementDefinition
getContainer, getDefinitionPathMethods inherited from class org.jooq.meta.AbstractDefinition
create, create, equals, getCatalog, getComment, getConnection, getDatabase, getDialect, getInputName, getName, getOutputName, getOverload, getPackage, getPartiallyQualifiedNames, 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.ContainerElementDefinition
getContainerMethods 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.TypedElementDefinition
getDefinedType, getDomain, getType, getType
-
Constructor Details
-
DefaultParameterDefinition
public DefaultParameterDefinition(RoutineDefinition routine, String name, int position, DataTypeDefinition type) -
DefaultParameterDefinition
public DefaultParameterDefinition(RoutineDefinition routine, String name, int position, DataTypeDefinition type, boolean isDefaulted) -
DefaultParameterDefinition
public DefaultParameterDefinition(RoutineDefinition routine, String name, int position, DataTypeDefinition type, boolean isDefaulted, boolean isUnnamed) -
DefaultParameterDefinition
public DefaultParameterDefinition(RoutineDefinition routine, String name, int position, DataTypeDefinition type, boolean isDefaulted, boolean isUnnamed, String comment) -
DefaultParameterDefinition
public DefaultParameterDefinition(RoutineDefinition routine, String name, int position, DataTypeDefinition type, boolean isDefaulted, boolean isUnnamed, String comment, String overload) -
DefaultParameterDefinition
public DefaultParameterDefinition(RoutineDefinition routine, String name, int position, DataTypeDefinition type, boolean isDefaulted, boolean isUnnamed, String comment, String overload, boolean isSynthetic)
-
-
Method Details
-
getPosition
public int getPosition()Description copied from interface:PositionedDefinitionThe object's 1-based position in the parent.[#17434] While in most RDBMS, this value is 1-based and a consecutive ordinal, there may be cases where a positional value is skipped, either by what's reported by the RDBMS's dictionary views, or because the definition is filtered by jOOQ-meta. Users shouldn't rely on the positions reflecting the actually generated column/attribute/etc. position.
- Specified by:
getPositionin interfacePositionedDefinition
-
isDefaulted
public boolean isDefaulted()Description copied from interface:ParameterDefinitionWhether the parameter has a default value.- Specified by:
isDefaultedin interfaceParameterDefinition- See Also:
-
isUnnamed
public boolean isUnnamed()Description copied from interface:ParameterDefinitionWhether the parameter has a name.- Specified by:
isUnnamedin interfaceParameterDefinition- See Also:
-
isSynthetic
public boolean isSynthetic()Description copied from interface:ParameterDefinitionWhether the parameter is synthetic.- Specified by:
isSyntheticin interfaceDefinition- Specified by:
isSyntheticin interfaceParameterDefinition
-