|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.surveillanceViews.ColumnDef
public class ColumnDef
Class ColumnDef.
| Constructor Summary | |
|---|---|
ColumnDef()
|
|
| Method Summary | |
|---|---|
void |
addCategory(Category vCategory)
|
void |
addCategory(int index,
Category vCategory)
|
Enumeration<Category> |
enumerateCategory()
Method enumerateCategory. |
Category[] |
getCategory()
Method getCategory.Returns the contents of the collection in an Array. |
Category |
getCategory(int index)
Method getCategory. |
List<Category> |
getCategoryCollection()
Method getCategoryCollection.Returns a reference to '_categoryList'. |
int |
getCategoryCount()
Method getCategoryCount. |
String |
getLabel()
Returns the value of field 'label'. |
String |
getReportCategory()
Returns the value of field 'reportCategory'. |
boolean |
isValid()
Method isValid. |
Iterator<Category> |
iterateCategory()
Method iterateCategory. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllCategory()
|
boolean |
removeCategory(Category vCategory)
Method removeCategory. |
Category |
removeCategoryAt(int index)
Method removeCategoryAt. |
void |
setCategory(Category[] vCategoryArray)
|
void |
setCategory(int index,
Category vCategory)
|
void |
setCategory(List<Category> vCategoryList)
Sets the value of '_categoryList' by copying the given Vector. |
void |
setCategoryCollection(List<Category> categoryList)
Deprecated. |
void |
setLabel(String label)
Sets the value of field 'label'. |
void |
setReportCategory(String reportCategory)
Sets the value of field 'reportCategory'. |
static ColumnDef |
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 ColumnDef()
| Method Detail |
|---|
public void addCategory(Category vCategory)
throws IndexOutOfBoundsException
vCategory -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addCategory(int index,
Category vCategory)
throws IndexOutOfBoundsException
index - vCategory -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<Category> enumerateCategory()
public Category getCategory(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Category[] getCategory()
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<Category> getCategoryCollection()
public int getCategoryCount()
public String getLabel()
public String getReportCategory()
public boolean isValid()
public Iterator<Category> iterateCategory()
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 removeAllCategory()
public boolean removeCategory(Category vCategory)
vCategory -
public Category removeCategoryAt(int index)
index -
public void setCategory(int index,
Category vCategory)
throws IndexOutOfBoundsException
index - vCategory -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setCategory(Category[] vCategoryArray)
vCategoryArray - public void setCategory(List<Category> vCategoryList)
vCategoryList - the Vector to copy.public void setCategoryCollection(List<Category> categoryList)
categoryList - the Vector to set.public void setLabel(String label)
label - the value of field 'label'.public void setReportCategory(String reportCategory)
reportCategory - the value of field 'reportCategory'.
public static ColumnDef 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 | ||||||||