[#5947] Add TypedElementDefinition.getDefinedType()
This commit is contained in:
parent
2926b98f43
commit
37e7b33427
@ -113,7 +113,8 @@ abstract class AbstractTypedElementDefinition<T extends Definition>
|
||||
return type;
|
||||
}
|
||||
|
||||
DataTypeDefinition getDefinedType() {
|
||||
@Override
|
||||
public DataTypeDefinition getDefinedType() {
|
||||
return definedType;
|
||||
}
|
||||
|
||||
|
||||
@ -35,19 +35,24 @@
|
||||
package org.jooq.util;
|
||||
|
||||
/**
|
||||
* An element that has a data type
|
||||
* An element that has a data type.
|
||||
*
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
public interface TypedElementDefinition<T extends Definition> extends Definition {
|
||||
|
||||
/**
|
||||
* The column / parameter type
|
||||
* The column / parameter / attribute type after applying forced types.
|
||||
*/
|
||||
DataTypeDefinition getType();
|
||||
|
||||
/**
|
||||
* The container that contains this typed element
|
||||
* The column / parameter type as declared in the database (prior to applying forced types).
|
||||
*/
|
||||
DataTypeDefinition getDefinedType();
|
||||
|
||||
/**
|
||||
* The container that contains this typed element.
|
||||
*/
|
||||
T getContainer();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user