org.opennms.report.availability
Class Row

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

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

Class Row.

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

Constructor Summary
Row()
           
 
Method Summary
 void addValue(int index, Value vValue)
          Method addValue
 void addValue(Value vValue)
          Method addValue
 void clearValue()
          Method clearValue
 java.util.Enumeration enumerateValue()
          Method enumerateValue
 Value[] getValue()
          Method getValue
 Value getValue(int index)
          Method getValue
 java.util.ArrayList getValueCollection()
          Method getValueCollection Returns a reference to 'value'.
 int getValueCount()
          Method getValueCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeValue(Value vValue)
          Method removeValue
 void setValue(java.util.ArrayList valueCollection)
          Method setValue Sets the value of 'value' by copying the given ArrayList.
 void setValue(int index, Value vValue)
          Method setValue
 void setValue(Value[] valueArray)
          Method setValue
 void setValueCollection(java.util.ArrayList valueCollection)
          Method setValueCollection Sets the value of 'value' 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

Row

public Row()
Method Detail

addValue

public void addValue(Value vValue)
              throws java.lang.IndexOutOfBoundsException
Method addValue

Parameters:
vValue -
Throws:
java.lang.IndexOutOfBoundsException

addValue

public void addValue(int index,
                     Value vValue)
              throws java.lang.IndexOutOfBoundsException
Method addValue

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

clearValue

public void clearValue()
Method clearValue


enumerateValue

public java.util.Enumeration enumerateValue()
Method enumerateValue

Returns:
Enumeration

getValue

public Value getValue(int index)
               throws java.lang.IndexOutOfBoundsException
Method getValue

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

getValue

public Value[] getValue()
Method getValue

Returns:
Value

getValueCollection

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

Returns:
ArrayList

getValueCount

public int getValueCount()
Method getValueCount

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

removeValue

public boolean removeValue(Value vValue)
Method removeValue

Parameters:
vValue -
Returns:
boolean

setValue

public void setValue(int index,
                     Value vValue)
              throws java.lang.IndexOutOfBoundsException
Method setValue

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

setValue

public void setValue(Value[] valueArray)
Method setValue

Parameters:
valueArray -

setValue

public void setValue(java.util.ArrayList valueCollection)
Method setValue Sets the value of 'value' by copying the given ArrayList.

Parameters:
valueCollection - the Vector to copy.

setValueCollection

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

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