Interface powersoft.jcm.db.DataColumn
All Packages Class Hierarchy This Package Previous Next Index
Interface powersoft.jcm.db.DataColumn
- public interface DataColumn
- extends Object
Represents a column in the result set generated by a Query.
- See Also:
- Query, DataSource, DataTarget
-
NoNulls
-
-
Nullable
-
-
NullableUnknown
-
-
ReadOnly
-
-
ReadWriteUnknown
-
-
Write
-
-
getCaseSensitive()
-
-
getDataSource()
- Determines the data source (query) that created the result set that
this column is apart of.
-
getDisplaySize()
-
-
getIndex()
-
-
getLabel()
-
-
getName()
-
-
getNullable()
-
-
getReadOnly()
-
-
getScale()
-
-
getTable()
-
-
getUnsigned()
-
-
getUpdatable()
-
-
getValue()
-
-
setValue(DataValue)
-
Nullable
public final static byte Nullable
NoNulls
public final static byte NoNulls
NullableUnknown
public final static byte NullableUnknown
Write
public final static byte Write
ReadOnly
public final static byte ReadOnly
ReadWriteUnknown
public final static byte ReadWriteUnknown
getCaseSensitive
public abstract boolean getCaseSensitive()
getDataSource
public abstract DataSource getDataSource()
- Determines the data source (query) that created the result set that
this column is apart of.
- Returns:
- The data source that created this column.
getDisplaySize
public abstract int getDisplaySize()
- Returns:
- The display size for the column.
getIndex
public abstract int getIndex()
- Returns:
- The number of the column from 1 to n. Returns a
negative value if the column is no longer valid.
getLabel
public abstract String getLabel()
- Returns:
- The column label.
- See Also:
- getName
getName
public abstract String getName()
- Returns:
- The column name
- See Also:
- getLabel
getNullable
public abstract byte getNullable()
- Returns:
- If column accepts NULLs, returns Nullable, otherwise
returns either NoNulls or NullableUnknown.
getReadOnly
public abstract boolean getReadOnly()
- Returns:
- true if getUpdatable() returns SQL_ATTR_READONLY.
getScale
public abstract int getScale()
- Returns:
- The column scale.
getTable
public abstract String getTable()
- Returns:
- Name of the column's table, if applicable.
getUnsigned
public abstract boolean getUnsigned()
- Returns:
- Whether or not the column is unsigned.
getUpdatable
public abstract byte getUpdatable()
- Returns:
- If column is updatable, returns Write, otherwise
returns ReadOnly or ReadWriteUnknown.
getValue
public abstract DataValue getValue()
- Returns:
- The value of the column at the current row.
setValue
public abstract boolean setValue(DataValue value)
- Parameters:
- value - Specifies the column in the current row.
All Packages Class Hierarchy This Package Previous Next Index