nl.gx.webmanager.cms.integration
Interface QueryColumn

All Superinterfaces:
Wrapper

public interface QueryColumn
extends Wrapper

Representation of database column in the result of a query.

See Also:
Query

Method Summary
 java.lang.String getFieldName()
          This method returns the name of the column as it is used in a query.
 QueryColumnLink getLink()
          This method will return the width for use in the width attribute of a HTML table tag.
 java.lang.String getName()
          This method returns the name of the column for use in a header on a page.
 java.lang.String getWidth()
          This method will return the width for use in the width attribute of a HTML table tag.
 boolean isShowableColumn()
          If true, the column will be displayed.
 boolean isShowableZeroValue()
          If true, the column will display nothing for zero values.
 boolean isSortable()
          This method returns true if the column may be sorted by clicking on the header.
 
Methods inherited from interface nl.gx.webmanager.wrapper.Wrapper
getId, getUUID, setId, setUUID
 

Method Detail

isShowableZeroValue

boolean isShowableZeroValue()
If true, the column will display nothing for zero values.

Returns:
True if the column must not display "0" as a value, but "" instead.

getName

java.lang.String getName()
This method returns the name of the column for use in a header on a page.

Returns:
The name of the column on a page

getFieldName

java.lang.String getFieldName()
This method returns the name of the column as it is used in a query.

Returns:
The name of the column in a query

isShowableColumn

boolean isShowableColumn()
If true, the column will be displayed.

Returns:
true if the column must be displayed, false otherwise.

isSortable

boolean isSortable()
This method returns true if the column may be sorted by clicking on the header.

Returns:
true if the column may be sorted, false otherwise.

getWidth

java.lang.String getWidth()
This method will return the width for use in the width attribute of a HTML table tag.

Returns:
The width of the table used to display the results.

getLink

QueryColumnLink getLink()
This method will return the width for use in the width attribute of a HTML table tag.

Returns:
The width of the table used to display the results.


Copyright © 2007-2011 GX Software BV. All Rights Reserved.