org.opennms.netmgt.config.surveillanceViews
Class Columns

java.lang.Object
  extended by org.opennms.netmgt.config.surveillanceViews.Columns
All Implemented Interfaces:
java.io.Serializable

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

Class Columns.

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

Constructor Summary
Columns()
           
 
Method Summary
 void addColumnDef(ColumnDef vColumnDef)
          Method addColumnDef
 void addColumnDef(int index, ColumnDef vColumnDef)
          Method addColumnDef
 void clearColumnDef()
          Method clearColumnDef
 java.util.Enumeration enumerateColumnDef()
          Method enumerateColumnDef
 ColumnDef[] getColumnDef()
          Method getColumnDef
 ColumnDef getColumnDef(int index)
          Method getColumnDef
 java.util.ArrayList getColumnDefCollection()
          Method getColumnDefCollection Returns a reference to 'columnDef'.
 int getColumnDefCount()
          Method getColumnDefCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeColumnDef(ColumnDef vColumnDef)
          Method removeColumnDef
 void setColumnDef(java.util.ArrayList columnDefCollection)
          Method setColumnDef Sets the value of 'columnDef' by copying the given ArrayList.
 void setColumnDef(ColumnDef[] columnDefArray)
          Method setColumnDef
 void setColumnDef(int index, ColumnDef vColumnDef)
          Method setColumnDef
 void setColumnDefCollection(java.util.ArrayList columnDefCollection)
          Method setColumnDefCollection Sets the value of 'columnDef' 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

Columns

public Columns()
Method Detail

addColumnDef

public void addColumnDef(ColumnDef vColumnDef)
                  throws java.lang.IndexOutOfBoundsException
Method addColumnDef

Parameters:
vColumnDef -
Throws:
java.lang.IndexOutOfBoundsException

addColumnDef

public void addColumnDef(int index,
                         ColumnDef vColumnDef)
                  throws java.lang.IndexOutOfBoundsException
Method addColumnDef

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

clearColumnDef

public void clearColumnDef()
Method clearColumnDef


enumerateColumnDef

public java.util.Enumeration enumerateColumnDef()
Method enumerateColumnDef

Returns:
Enumeration

getColumnDef

public ColumnDef getColumnDef(int index)
                       throws java.lang.IndexOutOfBoundsException
Method getColumnDef

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

getColumnDef

public ColumnDef[] getColumnDef()
Method getColumnDef

Returns:
ColumnDef

getColumnDefCollection

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

Returns:
ArrayList

getColumnDefCount

public int getColumnDefCount()
Method getColumnDefCount

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

removeColumnDef

public boolean removeColumnDef(ColumnDef vColumnDef)
Method removeColumnDef

Parameters:
vColumnDef -
Returns:
boolean

setColumnDef

public void setColumnDef(int index,
                         ColumnDef vColumnDef)
                  throws java.lang.IndexOutOfBoundsException
Method setColumnDef

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

setColumnDef

public void setColumnDef(ColumnDef[] columnDefArray)
Method setColumnDef

Parameters:
columnDefArray -

setColumnDef

public void setColumnDef(java.util.ArrayList columnDefCollection)
Method setColumnDef Sets the value of 'columnDef' by copying the given ArrayList.

Parameters:
columnDefCollection - the Vector to copy.

setColumnDefCollection

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

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