org.opennms.netmgt.config.nsclient
Class Wpm

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

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

An NSClient Object Group

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

Constructor Summary
Wpm()
           
 
Method Summary
 void addAttrib(Attrib vAttrib)
          Method addAttrib
 void addAttrib(int index, Attrib vAttrib)
          Method addAttrib
 void clearAttrib()
          Method clearAttrib
 void deleteRecheckInterval()
          Method deleteRecheckInterval
 java.util.Enumeration enumerateAttrib()
          Method enumerateAttrib
 Attrib[] getAttrib()
          Method getAttrib
 Attrib getAttrib(int index)
          Method getAttrib
 java.util.ArrayList getAttribCollection()
          Method getAttribCollection Returns a reference to 'attrib'.
 int getAttribCount()
          Method getAttribCount
 java.lang.String getKeyvalue()
          Returns the value of field 'keyvalue'.
 java.lang.String getName()
          Returns the value of field 'name'.
 int getRecheckInterval()
          Returns the value of field 'recheckInterval'.
 boolean hasRecheckInterval()
          Method hasRecheckInterval
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeAttrib(Attrib vAttrib)
          Method removeAttrib
 void setAttrib(java.util.ArrayList attribCollection)
          Method setAttrib Sets the value of 'attrib' by copying the given ArrayList.
 void setAttrib(Attrib[] attribArray)
          Method setAttrib
 void setAttrib(int index, Attrib vAttrib)
          Method setAttrib
 void setAttribCollection(java.util.ArrayList attribCollection)
          Method setAttribCollection Sets the value of 'attrib' by setting it to the given ArrayList.
 void setKeyvalue(java.lang.String keyvalue)
          Sets the value of field 'keyvalue'.
 void setName(java.lang.String name)
          Sets the value of field 'name'.
 void setRecheckInterval(int recheckInterval)
          Sets the value of field 'recheckInterval'.
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

Wpm

public Wpm()
Method Detail

addAttrib

public void addAttrib(Attrib vAttrib)
               throws java.lang.IndexOutOfBoundsException
Method addAttrib

Parameters:
vAttrib -
Throws:
java.lang.IndexOutOfBoundsException

addAttrib

public void addAttrib(int index,
                      Attrib vAttrib)
               throws java.lang.IndexOutOfBoundsException
Method addAttrib

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

clearAttrib

public void clearAttrib()
Method clearAttrib


deleteRecheckInterval

public void deleteRecheckInterval()
Method deleteRecheckInterval


enumerateAttrib

public java.util.Enumeration enumerateAttrib()
Method enumerateAttrib

Returns:
Enumeration

getAttrib

public Attrib getAttrib(int index)
                 throws java.lang.IndexOutOfBoundsException
Method getAttrib

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

getAttrib

public Attrib[] getAttrib()
Method getAttrib

Returns:
Attrib

getAttribCollection

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

Returns:
ArrayList

getAttribCount

public int getAttribCount()
Method getAttribCount

Returns:
int

getKeyvalue

public java.lang.String getKeyvalue()
Returns the value of field 'keyvalue'. The field 'keyvalue' has the following description: The Key value which, if present, indicates that the rest of this group should be collected

Returns:
String

getName

public java.lang.String getName()
Returns the value of field 'name'. The field 'name' has the following description: The name of this group, for user id purposes

Returns:
String

getRecheckInterval

public int getRecheckInterval()
Returns the value of field 'recheckInterval'. The field 'recheckInterval' has the following description: Specifies how often the key value of this group should be rechecked for existence. In milliseconds

Returns:
int

hasRecheckInterval

public boolean hasRecheckInterval()
Method hasRecheckInterval

Returns:
boolean

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

removeAttrib

public boolean removeAttrib(Attrib vAttrib)
Method removeAttrib

Parameters:
vAttrib -
Returns:
boolean

setAttrib

public void setAttrib(int index,
                      Attrib vAttrib)
               throws java.lang.IndexOutOfBoundsException
Method setAttrib

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

setAttrib

public void setAttrib(Attrib[] attribArray)
Method setAttrib

Parameters:
attribArray -

setAttrib

public void setAttrib(java.util.ArrayList attribCollection)
Method setAttrib Sets the value of 'attrib' by copying the given ArrayList.

Parameters:
attribCollection - the Vector to copy.

setAttribCollection

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

Parameters:
attribCollection - the ArrayList to copy.

setKeyvalue

public void setKeyvalue(java.lang.String keyvalue)
Sets the value of field 'keyvalue'. The field 'keyvalue' has the following description: The Key value which, if present, indicates that the rest of this group should be collected

Parameters:
keyvalue - the value of field 'keyvalue'.

setName

public void setName(java.lang.String name)
Sets the value of field 'name'. The field 'name' has the following description: The name of this group, for user id purposes

Parameters:
name - the value of field 'name'.

setRecheckInterval

public void setRecheckInterval(int recheckInterval)
Sets the value of field 'recheckInterval'. The field 'recheckInterval' has the following description: Specifies how often the key value of this group should be rechecked for existence. In milliseconds

Parameters:
recheckInterval - the value of field 'recheckInterval'.

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.