Skip navigation links

Oracle Communications Service Broker Platform MBean Java API Reference
6.0

E26173-01


oracle.axia.config.beans.snmp
Class SnmpConfigurationType

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

All Implemented Interfaces:
SnmpConfigurationTypeMBean, SnmpConfigurationTypeReadOnlyMBean

public class SnmpConfigurationType
extends java.lang.Object
implements SnmpConfigurationTypeMBean

Java class for SnmpConfigurationType complex type.

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

 <complexType name="SnmpConfigurationType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="target" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="port" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="version">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <enumeration value="V1"/>
               <enumeration value="V2c"/>
               <enumeration value="V3"/>
             </restriction>
           </simpleType>
         </element>
         <element name="loggingLevel">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}int">
               <minInclusive value="0"/>
               <maxInclusive value="6"/>
             </restriction>
           </simpleType>
         </element>
         <element name="accessControlTable" type="{http://xmlns.oracle.com/axia/snmp/agent}AccessControlTableType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="v1V2TrapForwardingTable" type="{http://xmlns.oracle.com/axia/snmp/agent}V1V2TrapForwardingTableType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="v3TrapForwardingTable" type="{http://xmlns.oracle.com/axia/snmp/agent}V3TrapForwardingTableType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Field Summary
protected  java.util.List<AccessControlTableType> accessControlTable
           
protected  boolean enabled
           
protected  int loggingLevel
           
protected  int port
           
protected  java.lang.String target
           
protected  java.util.List<V1V2TrapForwardingTableType> v1V2TrapForwardingTable
           
protected  java.util.List<V3TrapForwardingTableType> v3TrapForwardingTable
           
protected  java.lang.String version
           

 

Constructor Summary
SnmpConfigurationType()
          Default Constructor
SnmpConfigurationType(java.lang.String target, boolean enabled, int port, java.lang.String version, int loggingLevel, java.util.List<AccessControlTableType> accessControlTable, java.util.List<V1V2TrapForwardingTableType> v1V2TrapForwardingTable, java.util.List<V3TrapForwardingTableType> v3TrapForwardingTable)
           

 

Method Summary
 void addAccessControlTable()
          Add a new element named accessControlTable
 void addV1V2TrapForwardingTable()
          Add a new element named v1V2TrapForwardingTable
 void addV3TrapForwardingTable()
          Add a new element named v3TrapForwardingTable
 java.util.List<AccessControlTableType> getAccessControlTable()
          Gets the value of the accessControlTable property.
 java.util.List<AccessControlTableTypeMBean> getAccessControlTableMBean()
          Get the list of the AccessControlTableType element
 int getLoggingLevel()
          Gets the value of the loggingLevel property.
 int getPort()
          Gets the value of the port property.
 java.lang.String getTarget()
          Gets the value of the target property.
 java.util.List<V1V2TrapForwardingTableType> getV1V2TrapForwardingTable()
          Gets the value of the v1V2TrapForwardingTable property.
 java.util.List<V1V2TrapForwardingTableTypeMBean> getV1V2TrapForwardingTableMBean()
          Get the list of the V1V2TrapForwardingTableType element
 java.util.List<V3TrapForwardingTableType> getV3TrapForwardingTable()
          Gets the value of the v3TrapForwardingTable property.
 java.util.List<V3TrapForwardingTableTypeMBean> getV3TrapForwardingTableMBean()
          Get the list of the V3TrapForwardingTableType element
 java.lang.String getVersion()
          Gets the value of the version property.
 boolean isEnabled()
          Gets the value of the enabled property.
 void removeAccessControlTable(int index)
          Remove an element named accessControlTable by the index
 void removeV1V2TrapForwardingTable(int index)
          Remove an element named v1V2TrapForwardingTable by the index
 void removeV3TrapForwardingTable(int index)
          Remove an element named v3TrapForwardingTable by the index
 void setEnabled(boolean value)
          Sets the value of the enabled property.
 void setLoggingLevel(int value)
          Sets the value of the loggingLevel property.
 void setPort(int value)
          Sets the value of the port property.
 void setTarget(java.lang.String value)
          Sets the value of the target property.
 void setVersion(java.lang.String value)
          Sets the value of the version property.

 

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

 

Field Detail

target

protected java.lang.String target

enabled

protected boolean enabled

port

protected int port

version

protected java.lang.String version

loggingLevel

protected int loggingLevel

accessControlTable

protected java.util.List<AccessControlTableType> accessControlTable

v1V2TrapForwardingTable

protected java.util.List<V1V2TrapForwardingTableType> v1V2TrapForwardingTable

v3TrapForwardingTable

protected java.util.List<V3TrapForwardingTableType> v3TrapForwardingTable

Constructor Detail

SnmpConfigurationType

public SnmpConfigurationType()
Default Constructor

SnmpConfigurationType

public SnmpConfigurationType(java.lang.String target,
                             boolean enabled,
                             int port,
                             java.lang.String version,
                             int loggingLevel,
                             java.util.List<AccessControlTableType> accessControlTable,
                             java.util.List<V1V2TrapForwardingTableType> v1V2TrapForwardingTable,
                             java.util.List<V3TrapForwardingTableType> v3TrapForwardingTable)

Method Detail

getTarget

public java.lang.String getTarget()
Gets the value of the target property.
Specified by:
getTarget in interface SnmpConfigurationTypeReadOnlyMBean
Returns:
possible object is String

setTarget

public void setTarget(java.lang.String value)
Sets the value of the target property.
Specified by:
setTarget in interface SnmpConfigurationTypeMBean
Parameters:
value - allowed object is String

isEnabled

public boolean isEnabled()
Gets the value of the enabled property.
Specified by:
isEnabled in interface SnmpConfigurationTypeMBean

setEnabled

public void setEnabled(boolean value)
Sets the value of the enabled property.
Specified by:
setEnabled in interface SnmpConfigurationTypeMBean

getPort

public int getPort()
Gets the value of the port property.
Specified by:
getPort in interface SnmpConfigurationTypeReadOnlyMBean

setPort

public void setPort(int value)
Sets the value of the port property.
Specified by:
setPort in interface SnmpConfigurationTypeMBean

getVersion

public java.lang.String getVersion()
Gets the value of the version property.
Specified by:
getVersion in interface SnmpConfigurationTypeReadOnlyMBean
Returns:
possible object is String

setVersion

public void setVersion(java.lang.String value)
Sets the value of the version property.
Specified by:
setVersion in interface SnmpConfigurationTypeMBean
Parameters:
value - allowed object is String

getLoggingLevel

public int getLoggingLevel()
Gets the value of the loggingLevel property.
Specified by:
getLoggingLevel in interface SnmpConfigurationTypeReadOnlyMBean

setLoggingLevel

public void setLoggingLevel(int value)
Sets the value of the loggingLevel property.
Specified by:
setLoggingLevel in interface SnmpConfigurationTypeMBean

getAccessControlTable

public java.util.List<AccessControlTableType> getAccessControlTable()
Gets the value of the accessControlTable 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 accessControlTable property.

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

    getAccessControlTable().add(newItem);
 

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


getV1V2TrapForwardingTable

public java.util.List<V1V2TrapForwardingTableType> getV1V2TrapForwardingTable()
Gets the value of the v1V2TrapForwardingTable 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 v1V2TrapForwardingTable property.

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

    getV1V2TrapForwardingTable().add(newItem);
 

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


getV3TrapForwardingTable

public java.util.List<V3TrapForwardingTableType> getV3TrapForwardingTable()
Gets the value of the v3TrapForwardingTable 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 v3TrapForwardingTable property.

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

    getV3TrapForwardingTable().add(newItem);
 

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


addAccessControlTable

public void addAccessControlTable()
Add a new element named accessControlTable
Specified by:
addAccessControlTable in interface SnmpConfigurationTypeMBean

removeAccessControlTable

public void removeAccessControlTable(int index)
Remove an element named accessControlTable by the index
Specified by:
removeAccessControlTable in interface SnmpConfigurationTypeMBean
Parameters:
index - The index of removing elements

addV1V2TrapForwardingTable

public void addV1V2TrapForwardingTable()
Add a new element named v1V2TrapForwardingTable
Specified by:
addV1V2TrapForwardingTable in interface SnmpConfigurationTypeMBean

removeV1V2TrapForwardingTable

public void removeV1V2TrapForwardingTable(int index)
Remove an element named v1V2TrapForwardingTable by the index
Specified by:
removeV1V2TrapForwardingTable in interface SnmpConfigurationTypeMBean
Parameters:
index - The index of removing elements

addV3TrapForwardingTable

public void addV3TrapForwardingTable()
Add a new element named v3TrapForwardingTable
Specified by:
addV3TrapForwardingTable in interface SnmpConfigurationTypeMBean

removeV3TrapForwardingTable

public void removeV3TrapForwardingTable(int index)
Remove an element named v3TrapForwardingTable by the index
Specified by:
removeV3TrapForwardingTable in interface SnmpConfigurationTypeMBean
Parameters:
index - The index of removing elements

getAccessControlTableMBean

public java.util.List<AccessControlTableTypeMBean> getAccessControlTableMBean()
Get the list of the AccessControlTableType element
Specified by:
getAccessControlTableMBean in interface SnmpConfigurationTypeReadOnlyMBean

getV1V2TrapForwardingTableMBean

public java.util.List<V1V2TrapForwardingTableTypeMBean> getV1V2TrapForwardingTableMBean()
Get the list of the V1V2TrapForwardingTableType element
Specified by:
getV1V2TrapForwardingTableMBean in interface SnmpConfigurationTypeReadOnlyMBean

getV3TrapForwardingTableMBean

public java.util.List<V3TrapForwardingTableTypeMBean> getV3TrapForwardingTableMBean()
Get the list of the V3TrapForwardingTableType element
Specified by:
getV3TrapForwardingTableMBean in interface SnmpConfigurationTypeReadOnlyMBean

Skip navigation links

Oracle Communications Service Broker Platform MBean Java API Reference
6.0

E26173-01


Copyright © 2011, Oracle. All rights reserved.