org.opennms.netmgt.config.nsclient
Class Wpms

java.lang.Object
  extended by org.opennms.netmgt.config.nsclient.Wpms
All Implemented Interfaces:
java.io.Serializable

public class Wpms
extends java.lang.Object
implements java.io.Serializable

Nsclient object groups

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Wpms()
           
 
Method Summary
 void addWpm(int index, Wpm vWpm)
          Method addWpm
 void addWpm(Wpm vWpm)
          Method addWpm
 void clearWpm()
          Method clearWpm
 java.util.Enumeration enumerateWpm()
          Method enumerateWpm
 Wpm[] getWpm()
          Method getWpm
 Wpm getWpm(int index)
          Method getWpm
 java.util.ArrayList getWpmCollection()
          Method getWpmCollection Returns a reference to 'wpm'.
 int getWpmCount()
          Method getWpmCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeWpm(Wpm vWpm)
          Method removeWpm
 void setWpm(java.util.ArrayList wpmCollection)
          Method setWpm Sets the value of 'wpm' by copying the given ArrayList.
 void setWpm(int index, Wpm vWpm)
          Method setWpm
 void setWpm(Wpm[] wpmArray)
          Method setWpm
 void setWpmCollection(java.util.ArrayList wpmCollection)
          Method setWpmCollection Sets the value of 'wpm' by setting it to the given ArrayList.
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Wpms

public Wpms()
Method Detail

addWpm

public void addWpm(Wpm vWpm)
            throws java.lang.IndexOutOfBoundsException
Method addWpm

Parameters:
vWpm -
Throws:
java.lang.IndexOutOfBoundsException

addWpm

public void addWpm(int index,
                   Wpm vWpm)
            throws java.lang.IndexOutOfBoundsException
Method addWpm

Parameters:
index -
vWpm -
Throws:
java.lang.IndexOutOfBoundsException

clearWpm

public void clearWpm()
Method clearWpm


enumerateWpm

public java.util.Enumeration enumerateWpm()
Method enumerateWpm

Returns:
Enumeration

getWpm

public Wpm getWpm(int index)
           throws java.lang.IndexOutOfBoundsException
Method getWpm

Parameters:
index -
Returns:
Wpm
Throws:
java.lang.IndexOutOfBoundsException

getWpm

public Wpm[] getWpm()
Method getWpm

Returns:
Wpm

getWpmCollection

public java.util.ArrayList getWpmCollection()
Method getWpmCollection Returns a reference to 'wpm'. No type checking is performed on any modications to the Collection.

Returns:
ArrayList

getWpmCount

public int getWpmCount()
Method getWpmCount

Returns:
int

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeWpm

public boolean removeWpm(Wpm vWpm)
Method removeWpm

Parameters:
vWpm -
Returns:
boolean

setWpm

public void setWpm(int index,
                   Wpm vWpm)
            throws java.lang.IndexOutOfBoundsException
Method setWpm

Parameters:
index -
vWpm -
Throws:
java.lang.IndexOutOfBoundsException

setWpm

public void setWpm(Wpm[] wpmArray)
Method setWpm

Parameters:
wpmArray -

setWpm

public void setWpm(java.util.ArrayList wpmCollection)
Method setWpm Sets the value of 'wpm' by copying the given ArrayList.

Parameters:
wpmCollection - the Vector to copy.

setWpmCollection

public void setWpmCollection(java.util.ArrayList wpmCollection)
Method setWpmCollection Sets the value of 'wpm' by setting it to the given ArrayList. No type checking is performed.

Parameters:
wpmCollection - the ArrayList to copy.

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Object
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 2007. All Rights Reserved.