org.opennms.netmgt.config.surveillanceViews
Class Rows

java.lang.Object
  extended by org.opennms.netmgt.config.surveillanceViews.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 addRowDef(int index, RowDef vRowDef)
          Method addRowDef
 void addRowDef(RowDef vRowDef)
          Method addRowDef
 void clearRowDef()
          Method clearRowDef
 java.util.Enumeration enumerateRowDef()
          Method enumerateRowDef
 RowDef[] getRowDef()
          Method getRowDef
 RowDef getRowDef(int index)
          Method getRowDef
 java.util.ArrayList getRowDefCollection()
          Method getRowDefCollection Returns a reference to 'rowDef'.
 int getRowDefCount()
          Method getRowDefCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeRowDef(RowDef vRowDef)
          Method removeRowDef
 void setRowDef(java.util.ArrayList rowDefCollection)
          Method setRowDef Sets the value of 'rowDef' by copying the given ArrayList.
 void setRowDef(int index, RowDef vRowDef)
          Method setRowDef
 void setRowDef(RowDef[] rowDefArray)
          Method setRowDef
 void setRowDefCollection(java.util.ArrayList rowDefCollection)
          Method setRowDefCollection Sets the value of 'rowDef' 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

addRowDef

public void addRowDef(RowDef vRowDef)
               throws java.lang.IndexOutOfBoundsException
Method addRowDef

Parameters:
vRowDef -
Throws:
java.lang.IndexOutOfBoundsException

addRowDef

public void addRowDef(int index,
                      RowDef vRowDef)
               throws java.lang.IndexOutOfBoundsException
Method addRowDef

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

clearRowDef

public void clearRowDef()
Method clearRowDef


enumerateRowDef

public java.util.Enumeration enumerateRowDef()
Method enumerateRowDef

Returns:
Enumeration

getRowDef

public RowDef getRowDef(int index)
                 throws java.lang.IndexOutOfBoundsException
Method getRowDef

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

getRowDef

public RowDef[] getRowDef()
Method getRowDef

Returns:
RowDef

getRowDefCollection

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

Returns:
ArrayList

getRowDefCount

public int getRowDefCount()
Method getRowDefCount

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

removeRowDef

public boolean removeRowDef(RowDef vRowDef)
Method removeRowDef

Parameters:
vRowDef -
Returns:
boolean

setRowDef

public void setRowDef(int index,
                      RowDef vRowDef)
               throws java.lang.IndexOutOfBoundsException
Method setRowDef

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

setRowDef

public void setRowDef(RowDef[] rowDefArray)
Method setRowDef

Parameters:
rowDefArray -

setRowDef

public void setRowDef(java.util.ArrayList rowDefCollection)
Method setRowDef Sets the value of 'rowDef' by copying the given ArrayList.

Parameters:
rowDefCollection - the Vector to copy.

setRowDefCollection

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

Parameters:
rowDefCollection - 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.