org.opennms.netmgt.config.groups
Class Groupinfo

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

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

Top-level element for the groups.xml configuration file.

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

Constructor Summary
Groupinfo()
           
 
Method Summary
 Groups getGroups()
          Returns the value of field 'groups'.
 Header getHeader()
          Returns the value of field 'header'.
 Roles getRoles()
          Returns the value of field 'roles'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setGroups(Groups groups)
          Sets the value of field 'groups'.
 void setHeader(Header header)
          Sets the value of field 'header'.
 void setRoles(Roles roles)
          Sets the value of field 'roles'.
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

Groupinfo

public Groupinfo()
Method Detail

getGroups

public Groups getGroups()
Returns the value of field 'groups'.

Returns:
Groups

getHeader

public Header getHeader()
Returns the value of field 'header'. The field 'header' has the following description: Header containing information about this configuration file.

Returns:
Header

getRoles

public Roles getRoles()
Returns the value of field 'roles'.

Returns:
Roles

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

setGroups

public void setGroups(Groups groups)
Sets the value of field 'groups'.

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

setHeader

public void setHeader(Header header)
Sets the value of field 'header'. The field 'header' has the following description: Header containing information about this configuration file.

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

setRoles

public void setRoles(Roles roles)
Sets the value of field 'roles'.

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

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.