|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.datacollection.SnmpCollection
public class SnmpCollection
a grouping of SNMP related RRD parms, MIB object groups and sysoid based system definitions.
| Constructor Summary | |
|---|---|
SnmpCollection()
|
|
| Method Summary | |
|---|---|
void |
addResourceType(int index,
ResourceType vResourceType)
Method addResourceType |
void |
addResourceType(ResourceType vResourceType)
Method addResourceType |
void |
clearResourceType()
Method clearResourceType |
void |
deleteMaxVarsPerPdu()
Method deleteMaxVarsPerPdu |
java.util.Enumeration |
enumerateResourceType()
Method enumerateResourceType |
Groups |
getGroups()
Returns the value of field 'groups'. |
int |
getMaxVarsPerPdu()
Returns the value of field 'maxVarsPerPdu'. |
java.lang.String |
getName()
Returns the value of field 'name'. |
ResourceType[] |
getResourceType()
Method getResourceType |
ResourceType |
getResourceType(int index)
Method getResourceType |
java.util.ArrayList |
getResourceTypeCollection()
Method getResourceTypeCollection Returns a reference to 'resourceType'. |
int |
getResourceTypeCount()
Method getResourceTypeCount |
Rrd |
getRrd()
Returns the value of field 'rrd'. |
java.lang.String |
getSnmpStorageFlag()
Returns the value of field 'snmpStorageFlag'. |
Systems |
getSystems()
Returns the value of field 'systems'. |
boolean |
hasMaxVarsPerPdu()
Method hasMaxVarsPerPdu |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeResourceType(ResourceType vResourceType)
Method removeResourceType |
void |
setGroups(Groups groups)
Sets the value of field 'groups'. |
void |
setMaxVarsPerPdu(int maxVarsPerPdu)
Sets the value of field 'maxVarsPerPdu'. |
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
void |
setResourceType(java.util.ArrayList resourceTypeCollection)
Method setResourceType Sets the value of 'resourceType' by copying the given ArrayList. |
void |
setResourceType(int index,
ResourceType vResourceType)
Method setResourceType |
void |
setResourceType(ResourceType[] resourceTypeArray)
Method setResourceType |
void |
setResourceTypeCollection(java.util.ArrayList resourceTypeCollection)
Method setResourceTypeCollection Sets the value of 'resourceType' by setting it to the given ArrayList. |
void |
setRrd(Rrd rrd)
Sets the value of field 'rrd'. |
void |
setSnmpStorageFlag(java.lang.String snmpStorageFlag)
Sets the value of field 'snmpStorageFlag'. |
void |
setSystems(Systems systems)
Sets the value of field 'systems'. |
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 |
|---|
public SnmpCollection()
| Method Detail |
|---|
public void addResourceType(ResourceType vResourceType)
throws java.lang.IndexOutOfBoundsException
vResourceType -
java.lang.IndexOutOfBoundsException
public void addResourceType(int index,
ResourceType vResourceType)
throws java.lang.IndexOutOfBoundsException
index - vResourceType -
java.lang.IndexOutOfBoundsExceptionpublic void clearResourceType()
public void deleteMaxVarsPerPdu()
public java.util.Enumeration enumerateResourceType()
public Groups getGroups()
public int getMaxVarsPerPdu()
public java.lang.String getName()
public ResourceType getResourceType(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic ResourceType[] getResourceType()
public java.util.ArrayList getResourceTypeCollection()
public int getResourceTypeCount()
public Rrd getRrd()
public java.lang.String getSnmpStorageFlag()
public Systems getSystems()
public boolean hasMaxVarsPerPdu()
public boolean isValid()
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationExceptionpublic boolean removeResourceType(ResourceType vResourceType)
vResourceType -
public void setGroups(Groups groups)
groups - the value of field 'groups'.public void setMaxVarsPerPdu(int maxVarsPerPdu)
maxVarsPerPdu - the value of field 'maxVarsPerPdu'.public void setName(java.lang.String name)
name - the value of field 'name'.
public void setResourceType(int index,
ResourceType vResourceType)
throws java.lang.IndexOutOfBoundsException
index - vResourceType -
java.lang.IndexOutOfBoundsExceptionpublic void setResourceType(ResourceType[] resourceTypeArray)
resourceTypeArray - public void setResourceType(java.util.ArrayList resourceTypeCollection)
resourceTypeCollection - the Vector to copy.public void setResourceTypeCollection(java.util.ArrayList resourceTypeCollection)
resourceTypeCollection - the ArrayList to copy.public void setRrd(Rrd rrd)
rrd - the value of field 'rrd'.public void setSnmpStorageFlag(java.lang.String snmpStorageFlag)
snmpStorageFlag - the value of field 'snmpStorageFlag'.public void setSystems(Systems systems)
systems - the value of field 'systems'.
public static java.lang.Object unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||