Skip navigation links

Oracle Communications Service Broker Platform MBean Java API Reference
6.0

E26173-01


oracle.axia.config.beans.logging.log4jconfig
Class LevelType

java.lang.Object
  extended by oracle.axia.config.beans.logging.log4jconfig.LevelType

All Implemented Interfaces:
LevelTypeMBean, LevelTypeReadOnlyMBean

public class LevelType
extends java.lang.Object
implements LevelTypeMBean

This defines the level of log messages that will be allowed to be logged for this logger. Normal usage has a value of "debug", "info", "warn", "error", or "fatal". Only that level or above will be reported to the log.

Java class for levelType complex type.

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

 <complexType name="levelType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="param" type="{http://jakarta.apache.org/log4j/}paramType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

Field Summary
protected  java.lang.String clazz
           
protected  java.util.List<ParamType> param
           
protected  java.lang.String value
           

 

Constructor Summary
LevelType()
          Default Constructor
LevelType(java.util.List<ParamType> param, java.lang.String clazz, java.lang.String value)
           

 

Method Summary
 void addParam()
          Add a new element named param
 java.lang.String getClazz()
          Gets the value of the clazz property.
 java.util.List<ParamType> getParam()
          Gets the value of the param property.
 java.util.List<ParamTypeMBean> getParamMBean()
          Get the list of the ParamType element
 java.lang.String getValue()
          Gets the value of the value property.
 void removeParam(int index)
          Remove an element named param by the index
 void setClazz(java.lang.String value)
          Sets the value of the clazz property.
 void setValue(java.lang.String value)
          Sets the value of the value property.

 

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

 

Field Detail

param

protected java.util.List<ParamType> param

clazz

protected java.lang.String clazz

value

protected java.lang.String value

Constructor Detail

LevelType

public LevelType()
Default Constructor

LevelType

public LevelType(java.util.List<ParamType> param,
                 java.lang.String clazz,
                 java.lang.String value)

Method Detail

getParam

public java.util.List<ParamType> getParam()
Gets the value of the param 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 param property.

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

    getParam().add(newItem);
 

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


getClazz

public java.lang.String getClazz()
Gets the value of the clazz property.
Specified by:
getClazz in interface LevelTypeReadOnlyMBean
Returns:
possible object is String

setClazz

public void setClazz(java.lang.String value)
Sets the value of the clazz property.
Specified by:
setClazz in interface LevelTypeMBean
Parameters:
value - allowed object is String

getValue

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

setValue

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

addParam

public void addParam()
Add a new element named param
Specified by:
addParam in interface LevelTypeMBean

removeParam

public void removeParam(int index)
Remove an element named param by the index
Specified by:
removeParam in interface LevelTypeMBean
Parameters:
index - The index of removing elements

getParamMBean

public java.util.List<ParamTypeMBean> getParamMBean()
Get the list of the ParamType element
Specified by:
getParamMBean in interface LevelTypeReadOnlyMBean

Skip navigation links

Oracle Communications Service Broker Platform MBean Java API Reference
6.0

E26173-01


Copyright © 2011, Oracle. All rights reserved.