| java.lang.Object org.apache.openjpa.jdbc.schema.ColumnIO
ColumnIO | public class ColumnIO implements Serializable(Code) | | Metadata about column I/O in a specific context. In the context of
a foreign key, the standard foreign key columns are indexed first, then
the constant columns.
author: Abe White |
Method Summary | |
public boolean | isAllInsertable(int col, boolean nullValue) Whether all columns up to but excluding the given index are insertable. | public boolean | isAllInsertable(Column[] cols, boolean nullValue) Equivalent to isAllInsertable (cols.length, nullValue) . | public boolean | isAllInsertable(ForeignKey fk, boolean nullValue) Return true if all columns for the given key are insertable. | public boolean | isAllUpdatable(int col, boolean nullValue) Whether all columns up to but excluding the given index are updatable. | public boolean | isAllUpdatable(Column[] cols, boolean nullValue) Equivalent to isAllUpdatable (cols.length, nullValue) . | public boolean | isAllUpdatable(ForeignKey fk, boolean nullValue) Return true if all columns for the given key are updatable. | public boolean | isAnyInsertable(int col, boolean nullValue) Whether any column up to but excluding the given index is insertable. | public boolean | isAnyInsertable(Column[] cols, boolean nullValue) Equivalent to isAnyInsertable (cols.length, nullValue) . | public boolean | isAnyInsertable(ForeignKey fk, boolean nullValue) Return true if any columns for the given key are insertable. | public boolean | isAnyUpdatable(int col, boolean nullValue) Whether any column up to but excluding the given index is updatable. | public boolean | isAnyUpdatable(Column[] cols, boolean nullValue) Equivalent to isAnyUpdatable (cols.length, nullValue) . | public boolean | isAnyUpdatable(ForeignKey fk, boolean nullValue) Return true if any columns for the given key are updatable. | public boolean | isInsertable(int col, boolean nullValue) Whether the column at the given index is insertable in this context. | public boolean | isInsertable(Column col, boolean nullValue) Equivalent to isInsertable (0, nullValue) , but returns
false if the given column is null. | public boolean | isUpdatable(int col, boolean nullValue) Whether the column at the given index is updatable in this context. | public boolean | isUpdatable(Column col, boolean nullValue) Equivalent to isUpdatable (0, nullValue) , but returns
false if the given column is null. | public void | setInsertable(int col, boolean insertable) Whether the column at the given index is insertable in this context. | public void | setNullInsertable(int col, boolean insertable) Whether this context can insert the given column as null/default in
this context. | public void | setNullUpdatable(int col, boolean updatable) Whether this context can set the given column to null/default in
this context. | public void | setUpdatable(int col, boolean updatable) Whether the column at the given index is updatable in this context. |
isAllInsertable | public boolean isAllInsertable(int col, boolean nullValue)(Code) | | Whether all columns up to but excluding the given index are insertable.
|
isAllInsertable | public boolean isAllInsertable(Column[] cols, boolean nullValue)(Code) | | Equivalent to isAllInsertable (cols.length, nullValue) .
|
isAllInsertable | public boolean isAllInsertable(ForeignKey fk, boolean nullValue)(Code) | | Return true if all columns for the given key are insertable.
|
isAllUpdatable | public boolean isAllUpdatable(int col, boolean nullValue)(Code) | | Whether all columns up to but excluding the given index are updatable.
|
isAllUpdatable | public boolean isAllUpdatable(Column[] cols, boolean nullValue)(Code) | | Equivalent to isAllUpdatable (cols.length, nullValue) .
|
isAllUpdatable | public boolean isAllUpdatable(ForeignKey fk, boolean nullValue)(Code) | | Return true if all columns for the given key are updatable.
|
isAnyInsertable | public boolean isAnyInsertable(int col, boolean nullValue)(Code) | | Whether any column up to but excluding the given index is insertable.
|
isAnyInsertable | public boolean isAnyInsertable(Column[] cols, boolean nullValue)(Code) | | Equivalent to isAnyInsertable (cols.length, nullValue) .
|
isAnyInsertable | public boolean isAnyInsertable(ForeignKey fk, boolean nullValue)(Code) | | Return true if any columns for the given key are insertable.
|
isAnyUpdatable | public boolean isAnyUpdatable(int col, boolean nullValue)(Code) | | Whether any column up to but excluding the given index is updatable.
|
isAnyUpdatable | public boolean isAnyUpdatable(Column[] cols, boolean nullValue)(Code) | | Equivalent to isAnyUpdatable (cols.length, nullValue) .
|
isAnyUpdatable | public boolean isAnyUpdatable(ForeignKey fk, boolean nullValue)(Code) | | Return true if any columns for the given key are updatable.
|
isInsertable | public boolean isInsertable(int col, boolean nullValue)(Code) | | Whether the column at the given index is insertable in this context.
|
isInsertable | public boolean isInsertable(Column col, boolean nullValue)(Code) | | Equivalent to isInsertable (0, nullValue) , but returns
false if the given column is null.
|
isUpdatable | public boolean isUpdatable(int col, boolean nullValue)(Code) | | Whether the column at the given index is updatable in this context.
|
isUpdatable | public boolean isUpdatable(Column col, boolean nullValue)(Code) | | Equivalent to isUpdatable (0, nullValue) , but returns
false if the given column is null.
|
setInsertable | public void setInsertable(int col, boolean insertable)(Code) | | Whether the column at the given index is insertable in this context.
|
setNullInsertable | public void setNullInsertable(int col, boolean insertable)(Code) | | Whether this context can insert the given column as null/default in
this context.
|
setNullUpdatable | public void setNullUpdatable(int col, boolean updatable)(Code) | | Whether this context can set the given column to null/default in
this context.
|
setUpdatable | public void setUpdatable(int col, boolean updatable)(Code) | | Whether the column at the given index is updatable in this context.
|
|
|