|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.datacollection.Systems
public class Systems
systems
| Constructor Summary | |
|---|---|
Systems()
|
|
| Method Summary | |
|---|---|
void |
addSystemDef(int index,
SystemDef vSystemDef)
|
void |
addSystemDef(SystemDef vSystemDef)
|
Enumeration<SystemDef> |
enumerateSystemDef()
Method enumerateSystemDef. |
SystemDef[] |
getSystemDef()
Method getSystemDef.Returns the contents of the collection in an Array. |
SystemDef |
getSystemDef(int index)
Method getSystemDef. |
List<SystemDef> |
getSystemDefCollection()
Method getSystemDefCollection.Returns a reference to '_systemDefList'. |
int |
getSystemDefCount()
Method getSystemDefCount. |
boolean |
isValid()
Method isValid. |
Iterator<SystemDef> |
iterateSystemDef()
Method iterateSystemDef. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllSystemDef()
|
boolean |
removeSystemDef(SystemDef vSystemDef)
Method removeSystemDef. |
SystemDef |
removeSystemDefAt(int index)
Method removeSystemDefAt. |
void |
setSystemDef(int index,
SystemDef vSystemDef)
|
void |
setSystemDef(List<SystemDef> vSystemDefList)
Sets the value of '_systemDefList' by copying the given Vector. |
void |
setSystemDef(SystemDef[] vSystemDefArray)
|
void |
setSystemDefCollection(List<SystemDef> systemDefList)
Deprecated. |
static Systems |
unmarshal(Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Systems()
| Method Detail |
|---|
public void addSystemDef(SystemDef vSystemDef)
throws IndexOutOfBoundsException
vSystemDef -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addSystemDef(int index,
SystemDef vSystemDef)
throws IndexOutOfBoundsException
index - vSystemDef -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<SystemDef> enumerateSystemDef()
public SystemDef getSystemDef(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic SystemDef[] getSystemDef()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<SystemDef> getSystemDefCollection()
public int getSystemDefCount()
public boolean isValid()
public Iterator<SystemDef> iterateSystemDef()
public void marshal(Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
IOException - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void removeAllSystemDef()
public boolean removeSystemDef(SystemDef vSystemDef)
vSystemDef -
public SystemDef removeSystemDefAt(int index)
index -
public void setSystemDef(int index,
SystemDef vSystemDef)
throws IndexOutOfBoundsException
index - vSystemDef -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setSystemDef(SystemDef[] vSystemDefArray)
vSystemDefArray - public void setSystemDef(List<SystemDef> vSystemDefList)
vSystemDefList - the Vector to copy.public void setSystemDefCollection(List<SystemDef> systemDefList)
systemDefList - the Vector to set.
public static Systems unmarshal(Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||