org.opennms.report.availability
Class Rows

java.lang.Object
  extended by org.opennms.report.availability.Rows
All Implemented Interfaces:
java.io.Serializable

public class Rows
extends java.lang.Object
implements java.io.Serializable

Class Rows.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Rows()
           
 
Method Summary
 void addRow(int index, Row vRow)
          Method addRow
 void addRow(Row vRow)
          Method addRow
 void clearRow()
          Method clearRow
 java.util.Enumeration enumerateRow()
          Method enumerateRow
 Row[] getRow()
          Method getRow
 Row getRow(int index)
          Method getRow
 java.util.ArrayList getRowCollection()
          Method getRowCollection Returns a reference to 'row'.
 int getRowCount()
          Method getRowCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeRow(Row vRow)
          Method removeRow
 void setRow(java.util.ArrayList rowCollection)
          Method setRow Sets the value of 'row' by copying the given ArrayList.
 void setRow(int index, Row vRow)
          Method setRow
 void setRow(Row[] rowArray)
          Method setRow
 void setRowCollection(java.util.ArrayList rowCollection)
          Method setRowCollection Sets the value of 'row' by setting it to the given ArrayList.
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rows

public Rows()
Method Detail

addRow

public void addRow(Row vRow)
            throws java.lang.IndexOutOfBoundsException
Method addRow

Parameters:
vRow -
Throws:
java.lang.IndexOutOfBoundsException

addRow

public void addRow(int index,
                   Row vRow)
            throws java.lang.IndexOutOfBoundsException
Method addRow

Parameters:
index -
vRow -
Throws:
java.lang.IndexOutOfBoundsException

clearRow

public void clearRow()
Method clearRow


enumerateRow

public java.util.Enumeration enumerateRow()
Method enumerateRow

Returns:
Enumeration

getRow

public Row getRow(int index)
           throws java.lang.IndexOutOfBoundsException
Method getRow

Parameters:
index -
Returns:
Row
Throws:
java.lang.IndexOutOfBoundsException

getRow

public Row[] getRow()
Method getRow

Returns:
Row

getRowCollection

public java.util.ArrayList getRowCollection()
Method getRowCollection Returns a reference to 'row'. No type checking is performed on any modications to the Collection.

Returns:
ArrayList

getRowCount

public int getRowCount()
Method getRowCount

Returns:
int

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeRow

public boolean removeRow(Row vRow)
Method removeRow

Parameters:
vRow -
Returns:
boolean

setRow

public void setRow(int index,
                   Row vRow)
            throws java.lang.IndexOutOfBoundsException
Method setRow

Parameters:
index -
vRow -
Throws:
java.lang.IndexOutOfBoundsException

setRow

public void setRow(Row[] rowArray)
Method setRow

Parameters:
rowArray -

setRow

public void setRow(java.util.ArrayList rowCollection)
Method setRow Sets the value of 'row' by copying the given ArrayList.

Parameters:
rowCollection - the Vector to copy.

setRowCollection

public void setRowCollection(java.util.ArrayList rowCollection)
Method setRowCollection Sets the value of 'row' by setting it to the given ArrayList. No type checking is performed.

Parameters:
rowCollection - the ArrayList to copy.

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Object
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 2007. All Rights Reserved.