Skip navigation links

Oracle Communications Service Broker Policy and Charging MBean Java API Reference
6.0

E26225-01


oracle.ocsb.app.localocf.common.actor.config.beans
Class LOCFConfigType

java.lang.Object
  extended by oracle.ocsb.app.localocf.common.actor.config.beans.LOCFConfigType

All Implemented Interfaces:
LOCFConfigTypeMBean, LOCFConfigTypeReadOnlyMBean

public class LOCFConfigType
extends Object
implements LOCFConfigTypeMBean

Java class for LOCFConfigType complex type.

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

 <complexType name="LOCFConfigType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="numActors" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="persistent" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="unitCalculatorObjectName" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="destinationRealm" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="destinationHost" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="Counters" type="{http://xmlns.oracle.com/axia/local-ocf-config}Counter" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Field Summary
protected  List<Counter> counters
           
protected  String destinationHost
           
protected  String destinationRealm
           
protected  int numActors
           
protected  boolean persistent
           
protected  String unitCalculatorObjectName
           

 

Constructor Summary
LOCFConfigType()
          Default Constructor
LOCFConfigType(int numActors, boolean persistent, String unitCalculatorObjectName, String destinationRealm, String destinationHost, List<Counter> counters)
           

 

Method Summary
 void addCounters()
          Add a new element named counters
 List<Counter> getCounters()
          Gets the value of the counters property.
 List<CounterMBean> getCountersMBean()
          Get the list of the Counter element
 String getDestinationHost()
          Gets the value of the destinationHost property.
 String getDestinationRealm()
          Gets the value of the destinationRealm property.
 int getNumActors()
          Gets the value of the numActors property.
 String getUnitCalculatorObjectName()
          Gets the value of the unitCalculatorObjectName property.
 boolean isPersistent()
          Gets the value of the persistent property.
 void removeCounters(int index)
          Remove an element named counters by the index
 void setDestinationHost(String value)
          Sets the value of the destinationHost property.
 void setDestinationRealm(String value)
          Sets the value of the destinationRealm property.
 void setNumActors(int value)
          Sets the value of the numActors property.
 void setPersistent(boolean value)
          Sets the value of the persistent property.
 void setUnitCalculatorObjectName(String value)
          Sets the value of the unitCalculatorObjectName property.

 

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

 

Field Detail

numActors

protected int numActors

persistent

protected boolean persistent

unitCalculatorObjectName

protected String unitCalculatorObjectName

destinationRealm

protected String destinationRealm

destinationHost

protected String destinationHost

counters

protected List<Counter> counters

Constructor Detail

LOCFConfigType

public LOCFConfigType()
Default Constructor

LOCFConfigType

public LOCFConfigType(int numActors,
                      boolean persistent,
                      String unitCalculatorObjectName,
                      String destinationRealm,
                      String destinationHost,
                      List<Counter> counters)

Method Detail

getNumActors

public int getNumActors()
Gets the value of the numActors property.
Specified by:
getNumActors in interface LOCFConfigTypeReadOnlyMBean

setNumActors

public void setNumActors(int value)
Sets the value of the numActors property.
Specified by:
setNumActors in interface LOCFConfigTypeMBean

isPersistent

public boolean isPersistent()
Gets the value of the persistent property.
Specified by:
isPersistent in interface LOCFConfigTypeMBean

setPersistent

public void setPersistent(boolean value)
Sets the value of the persistent property.
Specified by:
setPersistent in interface LOCFConfigTypeMBean

getUnitCalculatorObjectName

public String getUnitCalculatorObjectName()
Gets the value of the unitCalculatorObjectName property.
Specified by:
getUnitCalculatorObjectName in interface LOCFConfigTypeReadOnlyMBean
Returns:
possible object is String

setUnitCalculatorObjectName

public void setUnitCalculatorObjectName(String value)
Sets the value of the unitCalculatorObjectName property.
Specified by:
setUnitCalculatorObjectName in interface LOCFConfigTypeMBean
Parameters:
value - allowed object is String

getDestinationRealm

public String getDestinationRealm()
Gets the value of the destinationRealm property.
Specified by:
getDestinationRealm in interface LOCFConfigTypeReadOnlyMBean
Returns:
possible object is String

setDestinationRealm

public void setDestinationRealm(String value)
Sets the value of the destinationRealm property.
Specified by:
setDestinationRealm in interface LOCFConfigTypeMBean
Parameters:
value - allowed object is String

getDestinationHost

public String getDestinationHost()
Gets the value of the destinationHost property.
Specified by:
getDestinationHost in interface LOCFConfigTypeReadOnlyMBean
Returns:
possible object is String

setDestinationHost

public void setDestinationHost(String value)
Sets the value of the destinationHost property.
Specified by:
setDestinationHost in interface LOCFConfigTypeMBean
Parameters:
value - allowed object is String

getCounters

public List<Counter> getCounters()
Gets the value of the counters 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 counters property.

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

    getCounters().add(newItem);
 

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


addCounters

public void addCounters()
Add a new element named counters
Specified by:
addCounters in interface LOCFConfigTypeMBean

removeCounters

public void removeCounters(int index)
Remove an element named counters by the index
Specified by:
removeCounters in interface LOCFConfigTypeMBean
Parameters:
index - The index of removing elements

getCountersMBean

public List<CounterMBean> getCountersMBean()
Get the list of the Counter element
Specified by:
getCountersMBean in interface LOCFConfigTypeReadOnlyMBean

Skip navigation links

Oracle Communications Service Broker Policy and Charging MBean Java API Reference
6.0

E26225-01


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.