|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TypeModel
Field Summary | |
---|---|
static int |
NOT_NULLABLE
Nullability constant - indicates column does not allow nulls |
static int |
NOT_SEARCHABLE
Searchability constant - indicates column is not searchable (cannot be evaluated in a comparison). |
static int |
NULLABLE
Nullability constant - indicates column does allow nulls |
static int |
NULLABLE_UNKNOWN
Nullability constant - indicates column may or may not allow nulls |
static int |
SEARCHABLE
Searchability constant - indicates column can be searched by either a comparison or a LIKE. |
static int |
SEARCHABLE_COMPARE
Searchability constant - indicates column can be searched with a comparison but not with a LIKE |
static int |
SEARCHABLE_LIKE
Searchability constant - indicates column can be searched with a LIKE but not with a comparison |
Method Summary | |
---|---|
java.lang.Object |
getDefaultValue()
Get default value of this element. |
java.lang.Class |
getJavaType()
Get the expected Java class that should be returned for this element. |
int |
getLength()
Get length of this element or 0 if no length is available. |
java.lang.String |
getModeledBaseType()
Get the base type of the design-time model type name. |
java.lang.String |
getModeledPrimitiveType()
Get the primitive type of the design-time model type name. |
java.lang.String |
getModeledType()
Get the design-time model type name. |
int |
getNullability()
Get nullability of this column. |
int |
getPrecision()
Get precision of this column. |
int |
getScale()
Get scale of this column. |
Field Detail |
---|
static final int NOT_NULLABLE
static final int NOT_SEARCHABLE
static final int NULLABLE
static final int NULLABLE_UNKNOWN
static final int SEARCHABLE
static final int SEARCHABLE_COMPARE
static final int SEARCHABLE_LIKE
Method Detail |
---|
java.lang.Class getJavaType() throws ConnectorException
ConnectorException
- If an error occurs retrieving the data
from runtime metadataint getNullability() throws ConnectorException
ConnectorException
- If an error occurs retrieving the data
from runtime metadataNOT_NULLABLE
,
NULLABLE
,
NULLABLE_UNKNOWN
java.lang.Object getDefaultValue() throws ConnectorException
ConnectorException
- If an error occurs retrieving the data
from runtime metadataint getLength() throws ConnectorException
ConnectorException
- If an error occurs retrieving the data
from runtime metadataint getPrecision() throws ConnectorException
ConnectorException
- If an error occurs retrieving the data
from runtime metadataint getScale() throws ConnectorException
ConnectorException
- If an error occurs retrieving the data
from runtime metadatajava.lang.String getModeledType() throws ConnectorException
ConnectorException
- If an error occurs retrieving the data
from runtime metadatajava.lang.String getModeledBaseType() throws ConnectorException
ConnectorException
- If an error occurs retrieving the data
from runtime metadatajava.lang.String getModeledPrimitiveType() throws ConnectorException
ConnectorException
- If an error occurs retrieving the data
from runtime metadata
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |