org.objectweb.jorm.metainfo.api.rdb
Interface RDBColumnSpec
- All Known Implementing Classes:
- BasicRDBColumnSpec, BasicRDBColumnSpec
- public interface RDBColumnSpec
RDBColumnSpec defines one column in the table where the class
is projected.
- Author:
- X. Spengler
|
Method Summary |
java.lang.String |
getName()
Returns the name of the current column. |
java.lang.String |
getType()
Returns the SQL type of the current object. |
boolean |
isNotNull()
Allows to know if the column could be notnull or not. |
getName
public java.lang.String getName()
- Returns the name of the current column.
- Returns:
- the string representation of column name
getType
public java.lang.String getType()
- Returns the SQL type of the current object.
- Returns:
- the string representation of the sql type
isNotNull
public boolean isNotNull()
- Allows to know if the column could be notnull or not.
- Returns:
- true, if the column could be notnull, else false