|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.nsclient.Wpms
public class Wpms
Nsclient object groups
| Constructor Summary | |
|---|---|
Wpms()
|
|
| Method Summary | |
|---|---|
void |
addWpm(int index,
Wpm vWpm)
|
void |
addWpm(Wpm vWpm)
|
Enumeration<Wpm> |
enumerateWpm()
Method enumerateWpm. |
Wpm[] |
getWpm()
Method getWpm.Returns the contents of the collection in an Array. |
Wpm |
getWpm(int index)
Method getWpm. |
List<Wpm> |
getWpmCollection()
Method getWpmCollection.Returns a reference to '_wpmList'. |
int |
getWpmCount()
Method getWpmCount. |
boolean |
isValid()
Method isValid. |
Iterator<Wpm> |
iterateWpm()
Method iterateWpm. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllWpm()
|
boolean |
removeWpm(Wpm vWpm)
Method removeWpm. |
Wpm |
removeWpmAt(int index)
Method removeWpmAt. |
void |
setWpm(int index,
Wpm vWpm)
|
void |
setWpm(List<Wpm> vWpmList)
Sets the value of '_wpmList' by copying the given Vector. |
void |
setWpm(Wpm[] vWpmArray)
|
void |
setWpmCollection(List<Wpm> wpmList)
Deprecated. |
static Wpms |
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 Wpms()
| Method Detail |
|---|
public void addWpm(Wpm vWpm)
throws IndexOutOfBoundsException
vWpm -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addWpm(int index,
Wpm vWpm)
throws IndexOutOfBoundsException
index - vWpm -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<Wpm> enumerateWpm()
public Wpm getWpm(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Wpm[] getWpm()
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<Wpm> getWpmCollection()
public int getWpmCount()
public boolean isValid()
public Iterator<Wpm> iterateWpm()
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 removeAllWpm()
public boolean removeWpm(Wpm vWpm)
vWpm -
public Wpm removeWpmAt(int index)
index -
public void setWpm(int index,
Wpm vWpm)
throws IndexOutOfBoundsException
index - vWpm -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setWpm(Wpm[] vWpmArray)
vWpmArray - public void setWpm(List<Wpm> vWpmList)
vWpmList - the Vector to copy.public void setWpmCollection(List<Wpm> wpmList)
wpmList - the Vector to set.
public static Wpms 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 | ||||||||