|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.surveillanceViews.Rows
public class Rows
Class Rows.
| Constructor Summary | |
|---|---|
Rows()
|
|
| Method Summary | |
|---|---|
void |
addRowDef(int index,
RowDef vRowDef)
|
void |
addRowDef(RowDef vRowDef)
|
Enumeration<RowDef> |
enumerateRowDef()
Method enumerateRowDef. |
RowDef[] |
getRowDef()
Method getRowDef.Returns the contents of the collection in an Array. |
RowDef |
getRowDef(int index)
Method getRowDef. |
List<RowDef> |
getRowDefCollection()
Method getRowDefCollection.Returns a reference to '_rowDefList'. |
int |
getRowDefCount()
Method getRowDefCount. |
boolean |
isValid()
Method isValid. |
Iterator<RowDef> |
iterateRowDef()
Method iterateRowDef. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllRowDef()
|
boolean |
removeRowDef(RowDef vRowDef)
Method removeRowDef. |
RowDef |
removeRowDefAt(int index)
Method removeRowDefAt. |
void |
setRowDef(int index,
RowDef vRowDef)
|
void |
setRowDef(List<RowDef> vRowDefList)
Sets the value of '_rowDefList' by copying the given Vector. |
void |
setRowDef(RowDef[] vRowDefArray)
|
void |
setRowDefCollection(List<RowDef> rowDefList)
Deprecated. |
static Rows |
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 Rows()
| Method Detail |
|---|
public void addRowDef(RowDef vRowDef)
throws IndexOutOfBoundsException
vRowDef -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addRowDef(int index,
RowDef vRowDef)
throws IndexOutOfBoundsException
index - vRowDef -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<RowDef> enumerateRowDef()
public RowDef getRowDef(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic RowDef[] getRowDef()
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<RowDef> getRowDefCollection()
public int getRowDefCount()
public boolean isValid()
public Iterator<RowDef> iterateRowDef()
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 removeAllRowDef()
public boolean removeRowDef(RowDef vRowDef)
vRowDef -
public RowDef removeRowDefAt(int index)
index -
public void setRowDef(int index,
RowDef vRowDef)
throws IndexOutOfBoundsException
index - vRowDef -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setRowDef(RowDef[] vRowDefArray)
vRowDefArray - public void setRowDef(List<RowDef> vRowDefList)
vRowDefList - the Vector to copy.public void setRowDefCollection(List<RowDef> rowDefList)
rowDefList - the Vector to set.
public static Rows 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 | ||||||||