|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.config.filter.Table
public class Table
Class Table.
| Constructor Summary | |
|---|---|
Table()
|
|
| Method Summary | |
|---|---|
void |
addColumn(Column vColumn)
|
void |
addColumn(int index,
Column vColumn)
|
void |
addJoin(int index,
Join vJoin)
|
void |
addJoin(Join vJoin)
|
Enumeration<Column> |
enumerateColumn()
Method enumerateColumn. |
Enumeration<Join> |
enumerateJoin()
Method enumerateJoin. |
Column[] |
getColumn()
Method getColumn.Returns the contents of the collection in an Array. |
Column |
getColumn(int index)
Method getColumn. |
List<Column> |
getColumnCollection()
Method getColumnCollection.Returns a reference to '_columnList'. |
int |
getColumnCount()
Method getColumnCount. |
Join[] |
getJoin()
Method getJoin.Returns the contents of the collection in an Array. |
Join |
getJoin(int index)
Method getJoin. |
List<Join> |
getJoinCollection()
Method getJoinCollection.Returns a reference to '_joinList'. |
int |
getJoinCount()
Method getJoinCount. |
String |
getKey()
Returns the value of field 'key'. |
String |
getName()
Returns the value of field 'name'. |
String |
getVisible()
Returns the value of field 'visible'. |
boolean |
isValid()
Method isValid. |
Iterator<Column> |
iterateColumn()
Method iterateColumn. |
Iterator<Join> |
iterateJoin()
Method iterateJoin. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllColumn()
|
void |
removeAllJoin()
|
boolean |
removeColumn(Column vColumn)
Method removeColumn. |
Column |
removeColumnAt(int index)
Method removeColumnAt. |
boolean |
removeJoin(Join vJoin)
Method removeJoin. |
Join |
removeJoinAt(int index)
Method removeJoinAt. |
void |
setColumn(Column[] vColumnArray)
|
void |
setColumn(int index,
Column vColumn)
|
void |
setColumn(List<Column> vColumnList)
Sets the value of '_columnList' by copying the given Vector. |
void |
setColumnCollection(List<Column> columnList)
Deprecated. |
void |
setJoin(int index,
Join vJoin)
|
void |
setJoin(Join[] vJoinArray)
|
void |
setJoin(List<Join> vJoinList)
Sets the value of '_joinList' by copying the given Vector. |
void |
setJoinCollection(List<Join> joinList)
Deprecated. |
void |
setKey(String key)
Sets the value of field 'key'. |
void |
setName(String name)
Sets the value of field 'name'. |
void |
setVisible(String visible)
Sets the value of field 'visible'. |
static Table |
unmarshal(Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Table()
| Method Detail |
|---|
public void addColumn(Column vColumn)
throws IndexOutOfBoundsException
vColumn -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addColumn(int index,
Column vColumn)
throws IndexOutOfBoundsException
index - vColumn -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addJoin(Join vJoin)
throws IndexOutOfBoundsException
vJoin -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addJoin(int index,
Join vJoin)
throws IndexOutOfBoundsException
index - vJoin -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<Column> enumerateColumn()
public Enumeration<Join> enumerateJoin()
public Column getColumn(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Column[] getColumn()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Column> getColumnCollection()
public int getColumnCount()
public Join getJoin(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Join[] getJoin()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Join> getJoinCollection()
public int getJoinCount()
public String getKey()
public String getName()
public String getVisible()
public boolean isValid()
public Iterator<Column> iterateColumn()
public Iterator<Join> iterateJoin()
public void marshal(Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
IOException - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void removeAllColumn()
public void removeAllJoin()
public boolean removeColumn(Column vColumn)
vColumn -
public Column removeColumnAt(int index)
index -
public boolean removeJoin(Join vJoin)
vJoin -
public Join removeJoinAt(int index)
index -
public void setColumn(int index,
Column vColumn)
throws IndexOutOfBoundsException
index - vColumn -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setColumn(Column[] vColumnArray)
vColumnArray - public void setColumn(List<Column> vColumnList)
vColumnList - the Vector to copy.public void setColumnCollection(List<Column> columnList)
columnList - the Vector to set.
public void setJoin(int index,
Join vJoin)
throws IndexOutOfBoundsException
index - vJoin -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setJoin(Join[] vJoinArray)
vJoinArray - public void setJoin(List<Join> vJoinList)
vJoinList - the Vector to copy.public void setJoinCollection(List<Join> joinList)
joinList - the Vector to set.public void setKey(String key)
key - the value of field 'key'.public void setName(String name)
name - the value of field 'name'.public void setVisible(String visible)
visible - the value of field 'visible'.
public static Table unmarshal(Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||