com.irisel.util
Class ConfigurationPropertiesList

java.lang.Object
  extended by com.irisel.util.ConfigurationPropertiesList

public class ConfigurationPropertiesList
extends java.lang.Object

A collection of report properties arranged into columns to provide access for the DataRowBackend class. All marked properties are added as column to the ReportPropertyList.

See Also:
ReportProperties#setMarked, ReportProperties#isMarked

Constructor Summary
ConfigurationPropertiesList(ConfigurationProperties base)
          Creates a list of report properties.
 
Method Summary
 java.lang.Object get(int column)
          Returns the value in the specified column.
 int getColumnCount()
          Returns the number of columns.
 java.lang.String getColumnName(int column)
          Returns the name of the specified column.
 java.lang.String toString()
          Returns a string describing the object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigurationPropertiesList

public ConfigurationPropertiesList(ConfigurationProperties base)
Creates a list of report properties. Searches all marked properties and adds them to the ReportPropertyList. The property-values remain in the original ReportProperties-collection, all queries to this list are forwarded to that base-object.

Parameters:
base - the underlying properties.
Method Detail

getColumnCount

public int getColumnCount()
Returns the number of columns.

Returns:
the column count.

getColumnName

public java.lang.String getColumnName(int column)
Returns the name of the specified column.

Parameters:
column - the column index (zero-based).
Returns:
the column name.

get

public java.lang.Object get(int column)
Returns the value in the specified column.

Parameters:
column - the column index (zero-based).
Returns:
the value.

toString

public java.lang.String toString()
Returns a string describing the object.

Overrides:
toString in class java.lang.Object
Returns:
The string.