JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.higrid
Class SummaryColumn

java.lang.Object
  |
  +--com.klg.jclass.higrid.SummaryColumn
All Implemented Interfaces:
Serializable

public class SummaryColumn
extends Object
implements Serializable

The column object for the summary record types.

See Also:
Serialized Form

Field Summary
static int AGGREGATE_TYPE_AVERAGE
           
static int AGGREGATE_TYPE_COUNT
           
static int AGGREGATE_TYPE_FIRST
           
static int AGGREGATE_TYPE_LAST
           
static int AGGREGATE_TYPE_MAX
           
static int AGGREGATE_TYPE_MIN
           
static int AGGREGATE_TYPE_NONE
           
static int AGGREGATE_TYPE_SUM
           
static int COLUMN_TYPE_AGGREGATE
           
static int COLUMN_TYPE_DATASOURCE
           
static int COLUMN_TYPE_LABEL
           
static int COLUMN_TYPE_UNBOUND
           
static int COLUMN_TYPE_UNKNOWN
           
 
Constructor Summary
SummaryColumn(int table, String name, int column, int aggregate, int type)
           
SummaryColumn(com.klg.jclass.datasource.MetaDataModel dataSourceMetaData, String name, int column)
           
SummaryColumn(com.klg.jclass.datasource.MetaDataModel dataSourceMetaData, String name, int column, int aggregate)
           
SummaryColumn(com.klg.jclass.datasource.MetaDataModel dataSourceMetaData, String name, int column, int aggregate, int type)
           
SummaryColumn(String name)
          Constructors
 
Method Summary
 int getAggregateType()
          Returns the summary column aggregate type.
 int getColumnType()
          Returns the summary column type.
 int getDataType()
          Returns the summary column data type.
 int getDefaultAggregateType(int type)
          Determine the default aggregate type based on the data type.
 String getIdentifier()
          Return a string identifier for this column.
 String getName()
          Returns the summary column name.
 int getTable()
          Returns the summary column table source.
 void init(int table, String name, int column, int aggregate, int type)
          Initialize the summary column and redo the columnIdentifier.
 void setAggregateType(int type)
          Sets the summary column aggregate type.
 void setColumnType(int type)
          Sets the summary column type.
 void setDataType(int type)
          Sets the summary column data type.
 void setIdentifier()
          Sets the string identifier for this column.
 void setName(String name)
          Sets the summary column name.
 void setTable(int table)
          Sets the summary column table source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLUMN_TYPE_UNKNOWN

public static final int COLUMN_TYPE_UNKNOWN
See Also:
Constant Field Values

COLUMN_TYPE_LABEL

public static final int COLUMN_TYPE_LABEL
See Also:
Constant Field Values

COLUMN_TYPE_DATASOURCE

public static final int COLUMN_TYPE_DATASOURCE
See Also:
Constant Field Values

COLUMN_TYPE_AGGREGATE

public static final int COLUMN_TYPE_AGGREGATE
See Also:
Constant Field Values

COLUMN_TYPE_UNBOUND

public static final int COLUMN_TYPE_UNBOUND
See Also:
Constant Field Values

AGGREGATE_TYPE_NONE

public static final int AGGREGATE_TYPE_NONE
See Also:
Constant Field Values

AGGREGATE_TYPE_COUNT

public static final int AGGREGATE_TYPE_COUNT
See Also:
Constant Field Values

AGGREGATE_TYPE_SUM

public static final int AGGREGATE_TYPE_SUM
See Also:
Constant Field Values

AGGREGATE_TYPE_AVERAGE

public static final int AGGREGATE_TYPE_AVERAGE
See Also:
Constant Field Values

AGGREGATE_TYPE_MIN

public static final int AGGREGATE_TYPE_MIN
See Also:
Constant Field Values

AGGREGATE_TYPE_MAX

public static final int AGGREGATE_TYPE_MAX
See Also:
Constant Field Values

AGGREGATE_TYPE_FIRST

public static final int AGGREGATE_TYPE_FIRST
See Also:
Constant Field Values

AGGREGATE_TYPE_LAST

public static final int AGGREGATE_TYPE_LAST
See Also:
Constant Field Values
Constructor Detail

SummaryColumn

public SummaryColumn(String name)
Constructors


SummaryColumn

public SummaryColumn(com.klg.jclass.datasource.MetaDataModel dataSourceMetaData,
                     String name,
                     int column)

SummaryColumn

public SummaryColumn(com.klg.jclass.datasource.MetaDataModel dataSourceMetaData,
                     String name,
                     int column,
                     int aggregate)

SummaryColumn

public SummaryColumn(com.klg.jclass.datasource.MetaDataModel dataSourceMetaData,
                     String name,
                     int column,
                     int aggregate,
                     int type)

SummaryColumn

public SummaryColumn(int table,
                     String name,
                     int column,
                     int aggregate,
                     int type)
Method Detail

init

public void init(int table,
                 String name,
                 int column,
                 int aggregate,
                 int type)
Initialize the summary column and redo the columnIdentifier.


getDefaultAggregateType

public int getDefaultAggregateType(int type)
Determine the default aggregate type based on the data type.


getIdentifier

public String getIdentifier()
Return a string identifier for this column.

Returns:
The column identifier.

setIdentifier

public void setIdentifier()
Sets the string identifier for this column.


getName

public String getName()
Returns the summary column name.

Returns:
The summary column name.

setName

public void setName(String name)
Sets the summary column name.

Parameters:
name - The summary column name.

getTable

public int getTable()
Returns the summary column table source.

Returns:
The summary column table source.

setTable

public void setTable(int table)
Sets the summary column table source.


getColumnType

public int getColumnType()
Returns the summary column type.

Returns:
The summary column type.

setColumnType

public void setColumnType(int type)
Sets the summary column type.

Parameters:
type - The summary column type.

getDataType

public int getDataType()
Returns the summary column data type.

Returns:
The summary column data type.

setDataType

public void setDataType(int type)
Sets the summary column data type.

Parameters:
type - The summary column data type.

getAggregateType

public int getAggregateType()
Returns the summary column aggregate type. Applies to aggregated data source column type only.

Returns:
The summary column aggregate type.

setAggregateType

public void setAggregateType(int type)
Sets the summary column aggregate type. Applies to aggregated data source column type only.

Parameters:
type - The summary column aggregate type.

Copyright © 2004 Quest Software Inc..
All rights reserved.