|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.surveillanceViews.Columns
public class Columns
Class Columns.
| Constructor Summary | |
|---|---|
Columns()
|
|
| Method Summary | |
|---|---|
void |
addColumnDef(ColumnDef vColumnDef)
|
void |
addColumnDef(int index,
ColumnDef vColumnDef)
|
Enumeration<ColumnDef> |
enumerateColumnDef()
Method enumerateColumnDef. |
ColumnDef[] |
getColumnDef()
Method getColumnDef.Returns the contents of the collection in an Array. |
ColumnDef |
getColumnDef(int index)
Method getColumnDef. |
List<ColumnDef> |
getColumnDefCollection()
Method getColumnDefCollection.Returns a reference to '_columnDefList'. |
int |
getColumnDefCount()
Method getColumnDefCount. |
boolean |
isValid()
Method isValid. |
Iterator<ColumnDef> |
iterateColumnDef()
Method iterateColumnDef. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllColumnDef()
|
boolean |
removeColumnDef(ColumnDef vColumnDef)
Method removeColumnDef. |
ColumnDef |
removeColumnDefAt(int index)
Method removeColumnDefAt. |
void |
setColumnDef(ColumnDef[] vColumnDefArray)
|
void |
setColumnDef(int index,
ColumnDef vColumnDef)
|
void |
setColumnDef(List<ColumnDef> vColumnDefList)
Sets the value of '_columnDefList' by copying the given Vector. |
void |
setColumnDefCollection(List<ColumnDef> columnDefList)
Deprecated. |
static Columns |
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 Columns()
| Method Detail |
|---|
public void addColumnDef(ColumnDef vColumnDef)
throws IndexOutOfBoundsException
vColumnDef -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addColumnDef(int index,
ColumnDef vColumnDef)
throws IndexOutOfBoundsException
index - vColumnDef -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<ColumnDef> enumerateColumnDef()
public ColumnDef getColumnDef(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic ColumnDef[] getColumnDef()
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<ColumnDef> getColumnDefCollection()
public int getColumnDefCount()
public boolean isValid()
public Iterator<ColumnDef> iterateColumnDef()
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 removeAllColumnDef()
public boolean removeColumnDef(ColumnDef vColumnDef)
vColumnDef -
public ColumnDef removeColumnDefAt(int index)
index -
public void setColumnDef(int index,
ColumnDef vColumnDef)
throws IndexOutOfBoundsException
index - vColumnDef -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setColumnDef(ColumnDef[] vColumnDefArray)
vColumnDefArray - public void setColumnDef(List<ColumnDef> vColumnDefList)
vColumnDefList - the Vector to copy.public void setColumnDefCollection(List<ColumnDef> columnDefList)
columnDefList - the Vector to set.
public static Columns 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 | ||||||||