OpenNMS API 1.2.3

org.opennms.netmgt.config.categories
Class Catinfo

java.lang.Object
  extended byorg.opennms.netmgt.config.categories.Catinfo
All Implemented Interfaces:
java.io.Serializable

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

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

Field Summary
private  java.util.ArrayList _categorygroupList
           
private  Header _header
           
private  java.util.Vector propertyChangeListeners
           
 
Constructor Summary
Catinfo()
           
 
Method Summary
 void addCategorygroup(Categorygroup vCategorygroup)
           
 void addCategorygroup(int index, Categorygroup vCategorygroup)
           
 void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
          Registers a PropertyChangeListener with this class.
 void clearCategorygroup()
           
 java.util.Enumeration enumerateCategorygroup()
           
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 Categorygroup[] getCategorygroup()
           
 Categorygroup getCategorygroup(int index)
           
 java.util.Collection getCategorygroupCollection()
           
 int getCategorygroupCount()
           
 Header getHeader()
          Returns the value of field 'header'.
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
protected  void notifyPropertyChangeListeners(java.lang.String fieldName, java.lang.Object oldValue, java.lang.Object newValue)
          Notifies all registered PropertyChangeListeners when a bound property's value changes.
 boolean removeCategorygroup(Categorygroup vCategorygroup)
           
 boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
          Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners.
 void setCategorygroup(Categorygroup[] categorygroupArray)
           
 void setCategorygroup(int index, Categorygroup vCategorygroup)
           
 void setCategorygroupCollection(java.util.Collection vCategorygroup)
           
 void setHeader(Header header)
          Sets the value of field 'header'.
static Catinfo unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_header

private Header _header

_categorygroupList

private java.util.ArrayList _categorygroupList

propertyChangeListeners

private java.util.Vector propertyChangeListeners
Constructor Detail

Catinfo

public Catinfo()
Method Detail

addCategorygroup

public void addCategorygroup(Categorygroup vCategorygroup)
                      throws java.lang.IndexOutOfBoundsException
Parameters:
vCategorygroup -
Throws:
java.lang.IndexOutOfBoundsException

addCategorygroup

public void addCategorygroup(int index,
                             Categorygroup vCategorygroup)
                      throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vCategorygroup -
Throws:
java.lang.IndexOutOfBoundsException

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class.

Parameters:
pcl - The PropertyChangeListener to register.

clearCategorygroup

public void clearCategorygroup()

enumerateCategorygroup

public java.util.Enumeration enumerateCategorygroup()

equals

public boolean equals(java.lang.Object obj)
Note: hashCode() has not been overriden

Parameters:
obj -

getCategorygroup

public Categorygroup getCategorygroup(int index)
                               throws java.lang.IndexOutOfBoundsException
Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getCategorygroup

public Categorygroup[] getCategorygroup()

getCategorygroupCollection

public java.util.Collection getCategorygroupCollection()

getCategorygroupCount

public int getCategorygroupCount()

getHeader

public Header getHeader()
Returns the value of field 'header'.

Returns:
the value of field 'header'.

isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

notifyPropertyChangeListeners

protected void notifyPropertyChangeListeners(java.lang.String fieldName,
                                             java.lang.Object oldValue,
                                             java.lang.Object newValue)
Notifies all registered PropertyChangeListeners when a bound property's value changes.

Parameters:
fieldName - the name of the property that has changed.
newValue - the new value of the property.
oldValue - the old value of the property.

removeCategorygroup

public boolean removeCategorygroup(Categorygroup vCategorygroup)
Parameters:
vCategorygroup -

removePropertyChangeListener

public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners.

Parameters:
pcl - The PropertyChangeListener to remove.
Returns:
true if the given PropertyChangeListener was removed.

setCategorygroup

public void setCategorygroup(int index,
                             Categorygroup vCategorygroup)
                      throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vCategorygroup -
Throws:
java.lang.IndexOutOfBoundsException

setCategorygroup

public void setCategorygroup(Categorygroup[] categorygroupArray)
Parameters:
categorygroupArray -

setCategorygroupCollection

public void setCategorygroupCollection(java.util.Collection vCategorygroup)
Parameters:
vCategorygroup -

setHeader

public void setHeader(Header header)
Sets the value of field 'header'.

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

unmarshal

public static Catinfo unmarshal(java.io.Reader reader)
                         throws org.exolab.castor.xml.MarshalException,
                                org.exolab.castor.xml.ValidationException
Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

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

OpenNMS API 1.2.3

Generated by eevans on May 29 2005 2015.