org.opennms.report.availability
Class Col

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

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

Class Col.

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

Constructor Summary
Col()
           
 
Method Summary
 void addColTitle(int index, java.lang.String vColTitle)
          Method addColTitle
 void addColTitle(java.lang.String vColTitle)
          Method addColTitle
 void clearColTitle()
          Method clearColTitle
 java.util.Enumeration enumerateColTitle()
          Method enumerateColTitle
 java.lang.String[] getColTitle()
          Method getColTitle
 java.lang.String getColTitle(int index)
          Method getColTitle
 java.util.ArrayList getColTitleCollection()
          Method getColTitleCollection Returns a reference to 'colTitle'.
 int getColTitleCount()
          Method getColTitleCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeColTitle(java.lang.String vColTitle)
          Method removeColTitle
 void setColTitle(java.util.ArrayList colTitleCollection)
          Method setColTitle Sets the value of 'colTitle' by copying the given ArrayList.
 void setColTitle(int index, java.lang.String vColTitle)
          Method setColTitle
 void setColTitle(java.lang.String[] colTitleArray)
          Method setColTitle
 void setColTitleCollection(java.util.ArrayList colTitleCollection)
          Method setColTitleCollection Sets the value of 'colTitle' 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

Col

public Col()
Method Detail

addColTitle

public void addColTitle(java.lang.String vColTitle)
                 throws java.lang.IndexOutOfBoundsException
Method addColTitle

Parameters:
vColTitle -
Throws:
java.lang.IndexOutOfBoundsException

addColTitle

public void addColTitle(int index,
                        java.lang.String vColTitle)
                 throws java.lang.IndexOutOfBoundsException
Method addColTitle

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

clearColTitle

public void clearColTitle()
Method clearColTitle


enumerateColTitle

public java.util.Enumeration enumerateColTitle()
Method enumerateColTitle

Returns:
Enumeration

getColTitle

public java.lang.String getColTitle(int index)
                             throws java.lang.IndexOutOfBoundsException
Method getColTitle

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

getColTitle

public java.lang.String[] getColTitle()
Method getColTitle

Returns:
String

getColTitleCollection

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

Returns:
ArrayList

getColTitleCount

public int getColTitleCount()
Method getColTitleCount

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

removeColTitle

public boolean removeColTitle(java.lang.String vColTitle)
Method removeColTitle

Parameters:
vColTitle -
Returns:
boolean

setColTitle

public void setColTitle(int index,
                        java.lang.String vColTitle)
                 throws java.lang.IndexOutOfBoundsException
Method setColTitle

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

setColTitle

public void setColTitle(java.lang.String[] colTitleArray)
Method setColTitle

Parameters:
colTitleArray -

setColTitle

public void setColTitle(java.util.ArrayList colTitleCollection)
Method setColTitle Sets the value of 'colTitle' by copying the given ArrayList.

Parameters:
colTitleCollection - the Vector to copy.

setColTitleCollection

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

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