Class StatisticElement

java.lang.Object
  extended byStatisticElement

public class StatisticElement
extends java.lang.Object


Nested Class Summary
(package private)  class StatisticElement.IntervalDescription
           
(package private)  class StatisticElement.LineSQLTable
           
(package private)  class StatisticElement.PointSQLTable
           
 
Field Summary
private  java.util.Vector intervalList
           
private  java.util.Vector lineSQLTables
           
private  java.util.Vector pointSQLTables
           
private  java.lang.String statisticDescription
           
private  java.lang.String statisticName
           
private  java.lang.String statisticType
           
private  java.lang.String statisticUnit
           
 
Constructor Summary
StatisticElement(java.lang.String name, java.lang.String type, java.lang.String description, java.lang.String unit)
          Creates a new instance of StatisticElement
 
Method Summary
 void addIntervalDescription(int start, int end, java.awt.Color colour, int size, javax.swing.ImageIcon symbol)
           
 void addLineSQLTable(java.lang.String line_table, java.lang.String column1, java.lang.String column2, int stepSize)
           
 void addPointSQLTable(java.lang.String point_table, java.lang.String point_column, java.lang.String eq_table, java.lang.String eq_column, int stepSize)
           
 java.lang.String getDescription()
           
 java.util.Vector getIntervalDescriptions()
           
 StatisticElement.LineSQLTable getLineSQLTable(int stepSize)
           
 StatisticElement.PointSQLTable getPointSQLTable(int stepSize)
           
 java.util.Vector getStepSizes()
           
 java.lang.String getType()
           
 boolean isLineStatistic()
           
 boolean isPointStatistic()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

statisticName

private java.lang.String statisticName

statisticType

private java.lang.String statisticType

statisticDescription

private java.lang.String statisticDescription

statisticUnit

private java.lang.String statisticUnit

pointSQLTables

private java.util.Vector pointSQLTables

lineSQLTables

private java.util.Vector lineSQLTables

intervalList

private java.util.Vector intervalList
Constructor Detail

StatisticElement

public StatisticElement(java.lang.String name,
                        java.lang.String type,
                        java.lang.String description,
                        java.lang.String unit)
Creates a new instance of StatisticElement

Method Detail

addLineSQLTable

public void addLineSQLTable(java.lang.String line_table,
                            java.lang.String column1,
                            java.lang.String column2,
                            int stepSize)

addPointSQLTable

public void addPointSQLTable(java.lang.String point_table,
                             java.lang.String point_column,
                             java.lang.String eq_table,
                             java.lang.String eq_column,
                             int stepSize)

addIntervalDescription

public void addIntervalDescription(int start,
                                   int end,
                                   java.awt.Color colour,
                                   int size,
                                   javax.swing.ImageIcon symbol)

isPointStatistic

public boolean isPointStatistic()

isLineStatistic

public boolean isLineStatistic()

getType

public java.lang.String getType()

getDescription

public java.lang.String getDescription()

getLineSQLTable

public StatisticElement.LineSQLTable getLineSQLTable(int stepSize)

getPointSQLTable

public StatisticElement.PointSQLTable getPointSQLTable(int stepSize)

getIntervalDescriptions

public java.util.Vector getIntervalDescriptions()

getStepSizes

public java.util.Vector getStepSizes()

toString

public java.lang.String toString()