org.opennms.netmgt.xml.event
Class Maskelement

java.lang.Object
  extended by org.opennms.netmgt.xml.event.Maskelement
All Implemented Interfaces:
java.io.Serializable

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

The mask element

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

Constructor Summary
Maskelement()
           
 
Method Summary
 void addMevalue(int index, java.lang.String vMevalue)
          Method addMevalue
 void addMevalue(java.lang.String vMevalue)
          Method addMevalue
 void clearMevalue()
          Method clearMevalue
 java.util.Enumeration enumerateMevalue()
          Method enumerateMevalue
 java.lang.String getMename()
          Returns the value of field 'mename'.
 java.lang.String[] getMevalue()
          Method getMevalue
 java.lang.String getMevalue(int index)
          Method getMevalue
 java.util.ArrayList getMevalueCollection()
          Method getMevalueCollection Returns a reference to 'mevalue'.
 int getMevalueCount()
          Method getMevalueCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeMevalue(java.lang.String vMevalue)
          Method removeMevalue
 void setMename(java.lang.String mename)
          Sets the value of field 'mename'.
 void setMevalue(java.util.ArrayList mevalueCollection)
          Method setMevalue Sets the value of 'mevalue' by copying the given ArrayList.
 void setMevalue(int index, java.lang.String vMevalue)
          Method setMevalue
 void setMevalue(java.lang.String[] mevalueArray)
          Method setMevalue
 void setMevalueCollection(java.util.ArrayList mevalueCollection)
          Method setMevalueCollection Sets the value of 'mevalue' 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

Maskelement

public Maskelement()
Method Detail

addMevalue

public void addMevalue(java.lang.String vMevalue)
                throws java.lang.IndexOutOfBoundsException
Method addMevalue

Parameters:
vMevalue -
Throws:
java.lang.IndexOutOfBoundsException

addMevalue

public void addMevalue(int index,
                       java.lang.String vMevalue)
                throws java.lang.IndexOutOfBoundsException
Method addMevalue

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

clearMevalue

public void clearMevalue()
Method clearMevalue


enumerateMevalue

public java.util.Enumeration enumerateMevalue()
Method enumerateMevalue

Returns:
Enumeration

getMename

public java.lang.String getMename()
Returns the value of field 'mename'. The field 'mename' has the following description: The mask element name can only be one of those specified above

Returns:
String

getMevalue

public java.lang.String getMevalue(int index)
                            throws java.lang.IndexOutOfBoundsException
Method getMevalue

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

getMevalue

public java.lang.String[] getMevalue()
Method getMevalue

Returns:
String

getMevalueCollection

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

Returns:
ArrayList

getMevalueCount

public int getMevalueCount()
Method getMevalueCount

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

removeMevalue

public boolean removeMevalue(java.lang.String vMevalue)
Method removeMevalue

Parameters:
vMevalue -
Returns:
boolean

setMename

public void setMename(java.lang.String mename)
Sets the value of field 'mename'. The field 'mename' has the following description: The mask element name can only be one of those specified above

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

setMevalue

public void setMevalue(int index,
                       java.lang.String vMevalue)
                throws java.lang.IndexOutOfBoundsException
Method setMevalue

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

setMevalue

public void setMevalue(java.lang.String[] mevalueArray)
Method setMevalue

Parameters:
mevalueArray -

setMevalue

public void setMevalue(java.util.ArrayList mevalueCollection)
Method setMevalue Sets the value of 'mevalue' by copying the given ArrayList.

Parameters:
mevalueCollection - the Vector to copy.

setMevalueCollection

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

Parameters:
mevalueCollection - 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.