|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.reporting.availability.Col
public class Col
Class Col.
| Constructor Summary | |
|---|---|
Col()
|
|
| Method Summary | |
|---|---|
void |
addColTitle(int index,
String vColTitle)
|
void |
addColTitle(String vColTitle)
|
Enumeration<String> |
enumerateColTitle()
Method enumerateColTitle. |
String[] |
getColTitle()
Method getColTitle.Returns the contents of the collection in an Array. |
String |
getColTitle(int index)
Method getColTitle. |
List<String> |
getColTitleCollection()
Method getColTitleCollection.Returns a reference to '_colTitleList'. |
int |
getColTitleCount()
Method getColTitleCount. |
boolean |
isValid()
Method isValid. |
Iterator<String> |
iterateColTitle()
Method iterateColTitle. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllColTitle()
|
boolean |
removeColTitle(String vColTitle)
Method removeColTitle. |
String |
removeColTitleAt(int index)
Method removeColTitleAt. |
void |
setColTitle(int index,
String vColTitle)
|
void |
setColTitle(List<String> vColTitleList)
Sets the value of '_colTitleList' by copying the given Vector. |
void |
setColTitle(String[] vColTitleArray)
|
void |
setColTitleCollection(List<String> colTitleList)
Deprecated. |
static Col |
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 Col()
| Method Detail |
|---|
public void addColTitle(String vColTitle)
throws IndexOutOfBoundsException
vColTitle -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addColTitle(int index,
String vColTitle)
throws IndexOutOfBoundsException
index - vColTitle -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<String> enumerateColTitle()
public String getColTitle(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic String[] getColTitle()
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<String> getColTitleCollection()
public int getColTitleCount()
public boolean isValid()
public Iterator<String> iterateColTitle()
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 removeAllColTitle()
public boolean removeColTitle(String vColTitle)
vColTitle -
public String removeColTitleAt(int index)
index -
public void setColTitle(int index,
String vColTitle)
throws IndexOutOfBoundsException
index - vColTitle -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setColTitle(String[] vColTitleArray)
vColTitleArray - public void setColTitle(List<String> vColTitleList)
vColTitleList - the Vector to copy.public void setColTitleCollection(List<String> colTitleList)
colTitleList - the Vector to set.
public static Col 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 | |||||||||