org.opennms.netmgt.config.categories
Class Categorygroup

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

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

A category group containing categories. The only parts of the category group that seem to be used are the common element and the list of categories.

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

Constructor Summary
Categorygroup()
           
 
Method Summary
 Categories getCategories()
          Returns the value of field 'categories'.
 java.lang.String getComment()
          Returns the value of field 'comment'.
 Common getCommon()
          Returns the value of field 'common'.
 java.lang.String getName()
          Returns the value of field 'name'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setCategories(Categories categories)
          Sets the value of field 'categories'.
 void setComment(java.lang.String comment)
          Sets the value of field 'comment'.
 void setCommon(Common common)
          Sets the value of field 'common'.
 void setName(java.lang.String name)
          Sets the value of field 'name'.
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

Categorygroup

public Categorygroup()
Method Detail

getCategories

public Categories getCategories()
Returns the value of field 'categories'. The field 'categories' has the following description: The categories belonging to this category group.

Returns:
Categories

getComment

public java.lang.String getComment()
Returns the value of field 'comment'. The field 'comment' has the following description: A comment describing the category group. This is seemingly unused.

Returns:
String

getCommon

public Common getCommon()
Returns the value of field 'common'. The field 'common' has the following description: Common attributes that apply to all categories in the group.

Returns:
Common

getName

public java.lang.String getName()
Returns the value of field 'name'. The field 'name' has the following description: The name of the category group. This is seemingly unused.

Returns:
String

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

setCategories

public void setCategories(Categories categories)
Sets the value of field 'categories'. The field 'categories' has the following description: The categories belonging to this category group.

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

setComment

public void setComment(java.lang.String comment)
Sets the value of field 'comment'. The field 'comment' has the following description: A comment describing the category group. This is seemingly unused.

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

setCommon

public void setCommon(Common common)
Sets the value of field 'common'. The field 'common' has the following description: Common attributes that apply to all categories in the group.

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

setName

public void setName(java.lang.String name)
Sets the value of field 'name'. The field 'name' has the following description: The name of the category group. This is seemingly unused.

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

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.