Skip navigation links

Oracle Communications Service Broker Platform MBean Java API Reference
6.0

E26173-01


oracle.axia.config.beans.snmp
Class SnmpConfigType

java.lang.Object
  extended by oracle.axia.config.beans.snmp.SnmpConfigType

All Implemented Interfaces:
SnmpConfigTypeMBean, SnmpConfigTypeReadOnlyMBean

public class SnmpConfigType
extends java.lang.Object
implements SnmpConfigTypeMBean

Configuration for SNMP.

Java class for SnmpConfigType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="SnmpConfigType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="configuration" type="{http://xmlns.oracle.com/axia/snmp/agent}SnmpConfigurationType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Field Summary
protected  java.util.List<SnmpConfigurationType> configuration
           

 

Constructor Summary
SnmpConfigType()
          Default Constructor
SnmpConfigType(java.util.List<SnmpConfigurationType> configuration)
           

 

Method Summary
 void addConfiguration()
          Add a new element named configuration
 java.util.List<SnmpConfigurationType> getConfiguration()
          Gets the value of the configuration property.
 java.util.List<SnmpConfigurationTypeMBean> getConfigurationMBean()
          Get the list of the SnmpConfigurationType element
 void removeConfiguration(int index)
          Remove an element named configuration by the index

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

configuration

protected java.util.List<SnmpConfigurationType> configuration

Constructor Detail

SnmpConfigType

public SnmpConfigType()
Default Constructor

SnmpConfigType

public SnmpConfigType(java.util.List<SnmpConfigurationType> configuration)

Method Detail

getConfiguration

public java.util.List<SnmpConfigurationType> getConfiguration()
Gets the value of the configuration property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the configuration property.

For example, to add a new item, do as follows:

    getConfiguration().add(newItem);
 

Objects of the following type(s) are allowed in the list SnmpConfigurationType


addConfiguration

public void addConfiguration()
Add a new element named configuration
Specified by:
addConfiguration in interface SnmpConfigTypeMBean

removeConfiguration

public void removeConfiguration(int index)
Remove an element named configuration by the index
Specified by:
removeConfiguration in interface SnmpConfigTypeMBean
Parameters:
index - The index of removing elements

getConfigurationMBean

public java.util.List<SnmpConfigurationTypeMBean> getConfigurationMBean()
Get the list of the SnmpConfigurationType element
Specified by:
getConfigurationMBean in interface SnmpConfigTypeReadOnlyMBean

Skip navigation links

Oracle Communications Service Broker Platform MBean Java API Reference
6.0

E26173-01


Copyright © 2011, Oracle. All rights reserved.