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

Variable Index

 o NoNulls
 o Nullable
 o NullableUnknown
 o ReadOnly
 o ReadWriteUnknown
 o Write

Method Index

 o getCaseSensitive()
 o getDataSource()
Determines the data source (query) that created the result set that this column is apart of.
 o getDisplaySize()
 o getIndex()
 o getLabel()
 o getName()
 o getNullable()
 o getReadOnly()
 o getScale()
 o getTable()
 o getUnsigned()
 o getUpdatable()
 o getValue()
 o setValue(DataValue)

Variables

 o Nullable
  public final static byte Nullable
 o NoNulls
  public final static byte NoNulls
 o NullableUnknown
  public final static byte NullableUnknown
 o Write
  public final static byte Write
 o ReadOnly
  public final static byte ReadOnly
 o ReadWriteUnknown
  public final static byte ReadWriteUnknown

Methods

 o getCaseSensitive
  public abstract boolean getCaseSensitive()
 o 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.
 o getDisplaySize
  public abstract int getDisplaySize()
Returns:
The display size for the column.
 o 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.
 o getLabel
  public abstract String getLabel()
Returns:
The column label.
See Also:
getName
 o getName
  public abstract String getName()
Returns:
The column name
See Also:
getLabel
 o getNullable
  public abstract byte getNullable()
Returns:
If column accepts NULLs, returns Nullable, otherwise returns either NoNulls or NullableUnknown.
 o getReadOnly
  public abstract boolean getReadOnly()
Returns:
true if getUpdatable() returns SQL_ATTR_READONLY.
 o getScale
  public abstract int getScale()
Returns:
The column scale.
 o getTable
  public abstract String getTable()
Returns:
Name of the column's table, if applicable.
 o getUnsigned
  public abstract boolean getUnsigned()
Returns:
Whether or not the column is unsigned.
 o getUpdatable
  public abstract byte getUpdatable()
Returns:
If column is updatable, returns Write, otherwise returns ReadOnly or ReadWriteUnknown.
 o getValue
  public abstract DataValue getValue()
Returns:
The value of the column at the current row.
 o 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