org.opennms.dashboard.client
Class SurveillanceData

java.lang.Object
  extended by org.opennms.dashboard.client.SurveillanceData
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class SurveillanceData
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable

SurveillanceData class.

Since:
1.8.1
Version:
$Id: $
Author:
Mathew Brozowski

Constructor Summary
SurveillanceData()
           
 
Method Summary
 SurveillanceIntersection getCell(int row, int col)
          getCell
 int getColumnCount()
          getColumnCount
 SurveillanceGroup[] getColumnGroups()
          getColumnGroups
 String getColumnHeading(int columnIndex)
          The heading of the column number 'colunmIndex' using zero based index
 SurveillanceIntersection getIntersection(int row, int col)
          getIntersection
 String getName()
          getName
 int getRowCount()
          getRowCount
 SurveillanceGroup[] getRowGroups()
          getRowGroups
 String getRowHeading(int rowIndex)
          The heading of row with index 'rowIndex' using zero based index
 boolean isComplete()
          isComplete
 void setCell(int row, int col, String value)
          setCell
 void setCell(int row, int col, String data, String status)
          setCell
 void setCell(int row, int col, SurveillanceIntersection cell)
          setCell
 void setColumnGroups(SurveillanceGroup[] columnGroups)
          setColumnGroups
 void setComplete(boolean complete)
          setComplete
 void setName(String name)
          setName
 void setRowGroups(SurveillanceGroup[] rowGroups)
          setRowGroups
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SurveillanceData

public SurveillanceData()
Method Detail

getName

public String getName()

getName

Returns:
a String object.

setName

public void setName(String name)

setName

Parameters:
name - a String object.

isComplete

public boolean isComplete()

isComplete

Returns:
a boolean.

setComplete

public void setComplete(boolean complete)

setComplete

Parameters:
complete - a boolean.

getColumnCount

public int getColumnCount()

getColumnCount

Returns:
a int.

getRowCount

public int getRowCount()

getRowCount

Returns:
a int.

getColumnHeading

public String getColumnHeading(int columnIndex)
The heading of the column number 'colunmIndex' using zero based index

Parameters:
columnIndex - the index of the column
Returns:
the heading for the column

getRowHeading

public String getRowHeading(int rowIndex)
The heading of row with index 'rowIndex' using zero based index

Parameters:
rowIndex - the index of the row
Returns:
the heading for the row

getCell

public SurveillanceIntersection getCell(int row,
                                        int col)

getCell

Parameters:
row - a int.
col - a int.
Returns:
a SurveillanceIntersection object.

setCell

public void setCell(int row,
                    int col,
                    SurveillanceIntersection cell)

setCell

Parameters:
row - a int.
col - a int.
cell - a SurveillanceIntersection object.

setCell

public void setCell(int row,
                    int col,
                    String data,
                    String status)

setCell

Parameters:
row - a int.
col - a int.
data - a String object.
status - a String object.

setCell

public void setCell(int row,
                    int col,
                    String value)

setCell

Parameters:
row - a int.
col - a int.
value - a String object.

getIntersection

public SurveillanceIntersection getIntersection(int row,
                                                int col)

getIntersection

Parameters:
row - a int.
col - a int.
Returns:
a SurveillanceIntersection object.

getColumnGroups

public SurveillanceGroup[] getColumnGroups()

getColumnGroups

Returns:
an array of SurveillanceGroup objects.

setColumnGroups

public void setColumnGroups(SurveillanceGroup[] columnGroups)

setColumnGroups

Parameters:
columnGroups - an array of SurveillanceGroup objects.

getRowGroups

public SurveillanceGroup[] getRowGroups()

getRowGroups

Returns:
an array of SurveillanceGroup objects.

setRowGroups

public void setRowGroups(SurveillanceGroup[] rowGroups)

setRowGroups

Parameters:
rowGroups - an array of SurveillanceGroup objects.


Copyright © 2011. All Rights Reserved.