org.apache.empire.data
Interface ColumnExpr

All Known Subinterfaces:
Column
All Known Implementing Classes:
BeanProperty, DBAbstractFuncExpr, DBAliasExpr, DBCalcExpr, DBCaseExpr, DBColumn, DBColumnExpr, DBCommandExpr.DBCmdColumn, DBConcatExpr, DBConvertExpr, DBCountExpr, DBDecodeExpr, DBFuncExpr, DBQuery.DBQueryColumn, DBTableColumn, DBValueExpr, DBView.DBViewColumn, OracleRowNumExpr

public interface ColumnExpr

The column interface provides methods for accessing metadata that is relevant for managing and displaying data available through the RecordData interface.


Method Summary
 Object getAttribute(String name)
          Returns futher metadata attributes.
 String getBeanPropertyName()
          Returns the name of a Java bean property to which this column is mapped.
 String getControlType()
          Returns the column's control type used for displaying and entering data.
 DataType getDataType()
          Returns the column's data type.
 String getName()
          Returns the physical column name.
 Options getOptions()
          Returns an option set with possible column values and their corresponding display text.
 Column getSourceColumn()
          Returns the underlying source column (if any).
 String getTitle()
          Returns the column's display title.
 

Method Detail

getDataType

DataType getDataType()
Returns the column's data type.

Returns:
the column's data type
See Also:
DataType

getName

String getName()
Returns the physical column name.

Returns:
the physical column name

getTitle

String getTitle()
Returns the column's display title.

Returns:
the column's display title

getControlType

String getControlType()
Returns the column's control type used for displaying and entering data.

Returns:
the column's control type used for displaying and entering data

getAttribute

Object getAttribute(String name)
Returns futher metadata attributes.

Parameters:
name - the name of the attribute
Returns:
futher metadata attributes

getOptions

Options getOptions()
Returns an option set with possible column values and their corresponding display text.

Returns:
option set with possible column values and their corresponding display text

getBeanPropertyName

String getBeanPropertyName()
Returns the name of a Java bean property to which this column is mapped.

Returns:
the name of a Java bean property to which this column is mapped

getSourceColumn

Column getSourceColumn()
Returns the underlying source column (if any). If an expression is based not based on a particutlar column this function returns null.

Returns:
the column on which this expression is based or null if not applicable.


Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.