org.opennms.netmgt.config.filter
Class Table

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

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

Class Table.

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

Constructor Summary
Table()
           
 
Method Summary
 void addColumn(Column vColumn)
          Method addColumn
 void addColumn(int index, Column vColumn)
          Method addColumn
 void addJoin(int index, Join vJoin)
          Method addJoin
 void addJoin(Join vJoin)
          Method addJoin
 void clearColumn()
          Method clearColumn
 void clearJoin()
          Method clearJoin
 java.util.Enumeration enumerateColumn()
          Method enumerateColumn
 java.util.Enumeration enumerateJoin()
          Method enumerateJoin
 Column[] getColumn()
          Method getColumn
 Column getColumn(int index)
          Method getColumn
 java.util.ArrayList getColumnCollection()
          Method getColumnCollection Returns a reference to 'column'.
 int getColumnCount()
          Method getColumnCount
 Join[] getJoin()
          Method getJoin
 Join getJoin(int index)
          Method getJoin
 java.util.ArrayList getJoinCollection()
          Method getJoinCollection Returns a reference to 'join'.
 int getJoinCount()
          Method getJoinCount
 java.lang.String getKey()
          Returns the value of field 'key'.
 java.lang.String getName()
          Returns the value of field 'name'.
 java.lang.String getVisable()
          Returns the value of field 'visable'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeColumn(Column vColumn)
          Method removeColumn
 boolean removeJoin(Join vJoin)
          Method removeJoin
 void setColumn(java.util.ArrayList columnCollection)
          Method setColumn Sets the value of 'column' by copying the given ArrayList.
 void setColumn(Column[] columnArray)
          Method setColumn
 void setColumn(int index, Column vColumn)
          Method setColumn
 void setColumnCollection(java.util.ArrayList columnCollection)
          Method setColumnCollection Sets the value of 'column' by setting it to the given ArrayList.
 void setJoin(java.util.ArrayList joinCollection)
          Method setJoin Sets the value of 'join' by copying the given ArrayList.
 void setJoin(int index, Join vJoin)
          Method setJoin
 void setJoin(Join[] joinArray)
          Method setJoin
 void setJoinCollection(java.util.ArrayList joinCollection)
          Method setJoinCollection Sets the value of 'join' by setting it to the given ArrayList.
 void setKey(java.lang.String key)
          Sets the value of field 'key'.
 void setName(java.lang.String name)
          Sets the value of field 'name'.
 void setVisable(java.lang.String visable)
          Sets the value of field 'visable'.
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

Table

public Table()
Method Detail

addColumn

public void addColumn(Column vColumn)
               throws java.lang.IndexOutOfBoundsException
Method addColumn

Parameters:
vColumn -
Throws:
java.lang.IndexOutOfBoundsException

addColumn

public void addColumn(int index,
                      Column vColumn)
               throws java.lang.IndexOutOfBoundsException
Method addColumn

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

addJoin

public void addJoin(Join vJoin)
             throws java.lang.IndexOutOfBoundsException
Method addJoin

Parameters:
vJoin -
Throws:
java.lang.IndexOutOfBoundsException

addJoin

public void addJoin(int index,
                    Join vJoin)
             throws java.lang.IndexOutOfBoundsException
Method addJoin

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

clearColumn

public void clearColumn()
Method clearColumn


clearJoin

public void clearJoin()
Method clearJoin


enumerateColumn

public java.util.Enumeration enumerateColumn()
Method enumerateColumn

Returns:
Enumeration

enumerateJoin

public java.util.Enumeration enumerateJoin()
Method enumerateJoin

Returns:
Enumeration

getColumn

public Column getColumn(int index)
                 throws java.lang.IndexOutOfBoundsException
Method getColumn

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

getColumn

public Column[] getColumn()
Method getColumn

Returns:
Column

getColumnCollection

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

Returns:
ArrayList

getColumnCount

public int getColumnCount()
Method getColumnCount

Returns:
int

getJoin

public Join getJoin(int index)
             throws java.lang.IndexOutOfBoundsException
Method getJoin

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

getJoin

public Join[] getJoin()
Method getJoin

Returns:
Join

getJoinCollection

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

Returns:
ArrayList

getJoinCount

public int getJoinCount()
Method getJoinCount

Returns:
int

getKey

public java.lang.String getKey()
Returns the value of field 'key'.

Returns:
String

getName

public java.lang.String getName()
Returns the value of field 'name'.

Returns:
String

getVisable

public java.lang.String getVisable()
Returns the value of field 'visable'.

Returns:
String

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

removeColumn

public boolean removeColumn(Column vColumn)
Method removeColumn

Parameters:
vColumn -
Returns:
boolean

removeJoin

public boolean removeJoin(Join vJoin)
Method removeJoin

Parameters:
vJoin -
Returns:
boolean

setColumn

public void setColumn(int index,
                      Column vColumn)
               throws java.lang.IndexOutOfBoundsException
Method setColumn

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

setColumn

public void setColumn(Column[] columnArray)
Method setColumn

Parameters:
columnArray -

setColumn

public void setColumn(java.util.ArrayList columnCollection)
Method setColumn Sets the value of 'column' by copying the given ArrayList.

Parameters:
columnCollection - the Vector to copy.

setColumnCollection

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

Parameters:
columnCollection - the ArrayList to copy.

setJoin

public void setJoin(int index,
                    Join vJoin)
             throws java.lang.IndexOutOfBoundsException
Method setJoin

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

setJoin

public void setJoin(Join[] joinArray)
Method setJoin

Parameters:
joinArray -

setJoin

public void setJoin(java.util.ArrayList joinCollection)
Method setJoin Sets the value of 'join' by copying the given ArrayList.

Parameters:
joinCollection - the Vector to copy.

setJoinCollection

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

Parameters:
joinCollection - the ArrayList to copy.

setKey

public void setKey(java.lang.String key)
Sets the value of field 'key'.

Parameters:
key - the value of field 'key'.

setName

public void setName(java.lang.String name)
Sets the value of field 'name'.

Parameters:
name - the value of field 'name'.

setVisable

public void setVisable(java.lang.String visable)
Sets the value of field 'visable'.

Parameters:
visable - the value of field 'visable'.

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.