|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.config.datacollection.IncludeCollection
public class IncludeCollection
Class IncludeCollection.
| Constructor Summary | |
|---|---|
IncludeCollection()
|
|
| Method Summary | |
|---|---|
void |
addExcludeFilter(int index,
String vExcludeFilter)
|
void |
addExcludeFilter(String vExcludeFilter)
|
Enumeration<String> |
enumerateExcludeFilter()
Method enumerateExcludeFilter. |
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method. |
String |
getDataCollectionGroup()
Returns the value of field 'dataCollectionGroup'. |
String[] |
getExcludeFilter()
Method getExcludeFilter.Returns the contents of the collection in an Array. |
String |
getExcludeFilter(int index)
Method getExcludeFilter. |
List<String> |
getExcludeFilterCollection()
Method getExcludeFilterCollection.Returns a reference to '_excludeFilterList'. |
int |
getExcludeFilterCount()
Method getExcludeFilterCount. |
String |
getSystemDef()
Returns the value of field 'systemDef'. |
int |
hashCode()
Overrides the java.lang.Object.hashCode method. |
boolean |
isValid()
Method isValid. |
Iterator<String> |
iterateExcludeFilter()
Method iterateExcludeFilter. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllExcludeFilter()
|
boolean |
removeExcludeFilter(String vExcludeFilter)
Method removeExcludeFilter. |
String |
removeExcludeFilterAt(int index)
Method removeExcludeFilterAt. |
void |
setDataCollectionGroup(String dataCollectionGroup)
Sets the value of field 'dataCollectionGroup'. |
void |
setExcludeFilter(int index,
String vExcludeFilter)
|
void |
setExcludeFilter(List<String> vExcludeFilterList)
Sets the value of '_excludeFilterList' by copying the given Vector. |
void |
setExcludeFilter(String[] vExcludeFilterArray)
|
void |
setExcludeFilterCollection(List<String> excludeFilterList)
Deprecated. |
void |
setSystemDef(String systemDef)
Sets the value of field 'systemDef'. |
static IncludeCollection |
unmarshal(Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IncludeCollection()
| Method Detail |
|---|
public void addExcludeFilter(String vExcludeFilter)
throws IndexOutOfBoundsException
vExcludeFilter -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addExcludeFilter(int index,
String vExcludeFilter)
throws IndexOutOfBoundsException
index - vExcludeFilter -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<String> enumerateExcludeFilter()
public boolean equals(Object obj)
equals in class Objectobj -
public String getDataCollectionGroup()
public String getExcludeFilter(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic String[] getExcludeFilter()
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> getExcludeFilterCollection()
public int getExcludeFilterCount()
public String getSystemDef()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
hashCode in class Objectpublic boolean isValid()
public Iterator<String> iterateExcludeFilter()
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 removeAllExcludeFilter()
public boolean removeExcludeFilter(String vExcludeFilter)
vExcludeFilter -
public String removeExcludeFilterAt(int index)
index -
public void setDataCollectionGroup(String dataCollectionGroup)
dataCollectionGroup - the value of field
'dataCollectionGroup'.
public void setExcludeFilter(int index,
String vExcludeFilter)
throws IndexOutOfBoundsException
index - vExcludeFilter -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setExcludeFilter(String[] vExcludeFilterArray)
vExcludeFilterArray - public void setExcludeFilter(List<String> vExcludeFilterList)
vExcludeFilterList - the Vector to copy.public void setExcludeFilterCollection(List<String> excludeFilterList)
excludeFilterList - the Vector to set.public void setSystemDef(String systemDef)
systemDef - the value of field 'systemDef'.
public static IncludeCollection 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 | |||||||||