org.opennms.netmgt.config.datacollection
Class Systems

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

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

systems

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

Constructor Summary
Systems()
           
 
Method Summary
 void addSystemDef(int index, SystemDef vSystemDef)
          Method addSystemDef
 void addSystemDef(SystemDef vSystemDef)
          Method addSystemDef
 void clearSystemDef()
          Method clearSystemDef
 java.util.Enumeration enumerateSystemDef()
          Method enumerateSystemDef
 SystemDef[] getSystemDef()
          Method getSystemDef
 SystemDef getSystemDef(int index)
          Method getSystemDef
 java.util.ArrayList getSystemDefCollection()
          Method getSystemDefCollection Returns a reference to 'systemDef'.
 int getSystemDefCount()
          Method getSystemDefCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeSystemDef(SystemDef vSystemDef)
          Method removeSystemDef
 void setSystemDef(java.util.ArrayList systemDefCollection)
          Method setSystemDef Sets the value of 'systemDef' by copying the given ArrayList.
 void setSystemDef(int index, SystemDef vSystemDef)
          Method setSystemDef
 void setSystemDef(SystemDef[] systemDefArray)
          Method setSystemDef
 void setSystemDefCollection(java.util.ArrayList systemDefCollection)
          Method setSystemDefCollection Sets the value of 'systemDef' 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

Systems

public Systems()
Method Detail

addSystemDef

public void addSystemDef(SystemDef vSystemDef)
                  throws java.lang.IndexOutOfBoundsException
Method addSystemDef

Parameters:
vSystemDef -
Throws:
java.lang.IndexOutOfBoundsException

addSystemDef

public void addSystemDef(int index,
                         SystemDef vSystemDef)
                  throws java.lang.IndexOutOfBoundsException
Method addSystemDef

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

clearSystemDef

public void clearSystemDef()
Method clearSystemDef


enumerateSystemDef

public java.util.Enumeration enumerateSystemDef()
Method enumerateSystemDef

Returns:
Enumeration

getSystemDef

public SystemDef getSystemDef(int index)
                       throws java.lang.IndexOutOfBoundsException
Method getSystemDef

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

getSystemDef

public SystemDef[] getSystemDef()
Method getSystemDef

Returns:
SystemDef

getSystemDefCollection

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

Returns:
ArrayList

getSystemDefCount

public int getSystemDefCount()
Method getSystemDefCount

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

removeSystemDef

public boolean removeSystemDef(SystemDef vSystemDef)
Method removeSystemDef

Parameters:
vSystemDef -
Returns:
boolean

setSystemDef

public void setSystemDef(int index,
                         SystemDef vSystemDef)
                  throws java.lang.IndexOutOfBoundsException
Method setSystemDef

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

setSystemDef

public void setSystemDef(SystemDef[] systemDefArray)
Method setSystemDef

Parameters:
systemDefArray -

setSystemDef

public void setSystemDef(java.util.ArrayList systemDefCollection)
Method setSystemDef Sets the value of 'systemDef' by copying the given ArrayList.

Parameters:
systemDefCollection - the Vector to copy.

setSystemDefCollection

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

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