wt.query.report
Class ColumnResultSpec

java.lang.Object
  extended bywt.query.report.ColumnResultSpec
All Implemented Interfaces:
Externalizable, ResultSpec, Serializable

public class ColumnResultSpec
extends Object
implements ResultSpec, Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  Vector columnDefinitions
           
static long EXTERNALIZATION_VERSION_UID
           
protected static long OLD_FORMAT_VERSION_UID
           
private static String RESOURCE
           
private  ResultSetSpec resultSet
           
(package private) static long serialVersionUID
           
 
Fields inherited from interface wt.query.report.ResultSpec
COLUMN_COUNT, RESULT_SET, ROW_COUNT
 
Constructor Summary
ColumnResultSpec()
          

Supported API: false
ColumnResultSpec(ResultSetSpec a_resultSetSpec, Vector a_columnDefinitions)
          

Supported API: false
 
Method Summary
private  void checkColumn(int a_column)
           
private  void columnDefinitionsValidate(Vector a_ColumnDefinitions)
           
 int getColumnCount()
          Gets the value of the attribute: columnCount.
 Vector getColumnDefinitions()
          Gets the object for the association that plays role: columnDefinitions.
 Vector getColumnsByResultIndex(int a_resultIndex)
          

Supported API: false
 Object getHeading(int a_column)
          

Supported API: false
 ResultSetSpec getResultSet()
          Gets the object for the association that plays role: resultSet.
 int getRowCount()
          Gets the value of the attribute: rowCount.
 Class getType(int a_column)
          

Supported API: false
 Object getValue(int a_row, int a_column)
          

Supported API: false
 void readExternal(ObjectInput input)
          Reads the non-transient fields of this class from an external source.
private  boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source, which is not the current version.
protected  boolean readVersion(ColumnResultSpec thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setColumnDefinitions(Vector a_ColumnDefinitions)
          Sets the object for the association that plays role: columnDefinitions.
 void setResultSet(ResultSetSpec a_ResultSet)
          Sets the object for the association that plays role: resultSet.
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

resultSet

private ResultSetSpec resultSet

columnDefinitions

private Vector columnDefinitions

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

EXTERNALIZATION_VERSION_UID

public static final long EXTERNALIZATION_VERSION_UID
See Also:
Constant Field Values

OLD_FORMAT_VERSION_UID

protected static final long OLD_FORMAT_VERSION_UID
See Also:
Constant Field Values
Constructor Detail

ColumnResultSpec

public ColumnResultSpec()


Supported API: false


ColumnResultSpec

public ColumnResultSpec(ResultSetSpec a_resultSetSpec,
                        Vector a_columnDefinitions)
                 throws WTPropertyVetoException


Supported API: false

Parameters:
a_resultSetSpec -
a_columnDefinitions -
Throws:
WTPropertyVetoException
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Writes the non-transient fields of this class to an external source.

Supported API: false

Specified by:
writeExternal in interface Externalizable
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Specified by:
readExternal in interface Externalizable
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(ColumnResultSpec thisObject,
                              ObjectInput input,
                              long readSerialVersionUID,
                              boolean passThrough,
                              boolean superDone)
                       throws IOException,
                              ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Parameters:
thisObject -
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

readOldVersion

private boolean readOldVersion(ObjectInput input,
                               long readSerialVersionUID,
                               boolean passThrough,
                               boolean superDone)
                        throws IOException,
                               ClassNotFoundException
Reads the non-transient fields of this class from an external source, which is not the current version.

Parameters:
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

getColumnDefinitions

public Vector getColumnDefinitions()
Gets the object for the association that plays role: columnDefinitions.

Supported API: false

Returns:
Vector

setColumnDefinitions

public void setColumnDefinitions(Vector a_ColumnDefinitions)
                          throws WTPropertyVetoException
Sets the object for the association that plays role: columnDefinitions.

Supported API: false

Parameters:
a_ColumnDefinitions -
Throws:
WTPropertyVetoException

columnDefinitionsValidate

private void columnDefinitionsValidate(Vector a_ColumnDefinitions)
                                throws WTPropertyVetoException
Parameters:
a_ColumnDefinitions -
Throws:
WTPropertyVetoException

getRowCount

public int getRowCount()
Gets the value of the attribute: rowCount.

Supported API: false

Specified by:
getRowCount in interface ResultSpec
Returns:
int

getColumnCount

public int getColumnCount()
Gets the value of the attribute: columnCount.

Supported API: false

Specified by:
getColumnCount in interface ResultSpec
Returns:
int

getValue

public Object getValue(int a_row,
                       int a_column)
                throws WTException


Supported API: false

Specified by:
getValue in interface ResultSpec
Parameters:
a_row -
a_column -
Returns:
Object
Throws:
WTException

getHeading

public Object getHeading(int a_column)
                  throws WTException


Supported API: false

Specified by:
getHeading in interface ResultSpec
Parameters:
a_column -
Returns:
Object
Throws:
WTException

getColumnsByResultIndex

public Vector getColumnsByResultIndex(int a_resultIndex)
                               throws WTException


Supported API: false

Specified by:
getColumnsByResultIndex in interface ResultSpec
Parameters:
a_resultIndex -
Returns:
Vector
Throws:
WTException

getType

public Class getType(int a_column)
              throws WTException


Supported API: false

Specified by:
getType in interface ResultSpec
Parameters:
a_column -
Returns:
Class
Throws:
WTException

getResultSet

public ResultSetSpec getResultSet()
Gets the object for the association that plays role: resultSet.

Supported API: false

Specified by:
getResultSet in interface ResultSpec
Returns:
ResultSetSpec

setResultSet

public void setResultSet(ResultSetSpec a_ResultSet)
                  throws WTPropertyVetoException
Sets the object for the association that plays role: resultSet.

Supported API: false

Specified by:
setResultSet in interface ResultSpec
Parameters:
a_ResultSet -
Throws:
WTPropertyVetoException

checkColumn

private void checkColumn(int a_column)
                  throws WTException
Throws:
WTException