Skip navigation links

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

E26225-01


oracle.ocsb.app.rcc.mediation.pcp2ro.config.beans
Class CmdType

java.lang.Object
  extended by oracle.ocsb.app.rcc.mediation.pcp2ro.config.beans.CmdType

All Implemented Interfaces:
Serializable, CmdTypeMBean, CmdTypeReadOnlyMBean

public class CmdType
extends Object
implements Serializable, CmdTypeMBean

Java class for cmdType complex type.

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

 <complexType name="cmdType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="avp" type="{http://xmlns.oracle.com/axia/pcp-mediator-config}avpType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="opcode" type="{http://xmlns.oracle.com/axia/pcp-mediator-config}opcodeType" minOccurs="0"/>
       </sequence>
       <attribute name="code" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
Serialized Form

Field Summary
protected  List<AvpType> avp
           
protected  int code
           
protected  OpcodeType opcode
           

 

Constructor Summary
CmdType()
          Default Constructor
CmdType(List<AvpType> avp, OpcodeType opcode, int code)
           

 

Method Summary
 void addAvp()
          Add a new element named avp
 void addOpcode()
          Add a new element named opcode
 List<AvpType> getAvp()
          Gets the value of the avp property.
 List<AvpTypeMBean> getAvpMBean()
          Get the list of the AvpType element
 int getCode()
          Gets the value of the code property.
 OpcodeType getOpcode()
          Gets the value of the opcode property.
 OpcodeTypeMBean getOpcodeMBean()
          Get the value of the OpcodeType element
 boolean isSetAvp()
           
 boolean isSetCode()
           
 boolean isSetOpcode()
           
 void removeAvp(int index)
          Remove an element named avp by the index
 void removeOpcode()
          Remove an element named opcode
 void setCode(int value)
          Sets the value of the code property.
 void setOpcode(OpcodeType value)
          Sets the value of the opcode property.
 void setOpcodeMBean(OpcodeTypeMBean val)
          Set the value of the OpcodeType element
 void unsetAvp()
           

 

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

 

Field Detail

avp

protected List<AvpType> avp

opcode

protected OpcodeType opcode

code

protected int code

Constructor Detail

CmdType

public CmdType()
Default Constructor

CmdType

public CmdType(List<AvpType> avp,
               OpcodeType opcode,
               int code)

Method Detail

getAvp

public List<AvpType> getAvp()
Gets the value of the avp 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 avp property.

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

    getAvp().add(newItem);
 

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


isSetAvp

public boolean isSetAvp()
Specified by:
isSetAvp in interface CmdTypeMBean

unsetAvp

public void unsetAvp()
Specified by:
unsetAvp in interface CmdTypeMBean

getOpcode

public OpcodeType getOpcode()
Gets the value of the opcode property.
Returns:
possible object is OpcodeType

setOpcode

public void setOpcode(OpcodeType value)
Sets the value of the opcode property.
Parameters:
value - allowed object is OpcodeType

isSetOpcode

public boolean isSetOpcode()
Specified by:
isSetOpcode in interface CmdTypeMBean

getCode

public int getCode()
Gets the value of the code property.
Specified by:
getCode in interface CmdTypeReadOnlyMBean

setCode

public void setCode(int value)
Sets the value of the code property.
Specified by:
setCode in interface CmdTypeMBean

isSetCode

public boolean isSetCode()
Specified by:
isSetCode in interface CmdTypeMBean

addAvp

public void addAvp()
Add a new element named avp
Specified by:
addAvp in interface CmdTypeMBean

removeAvp

public void removeAvp(int index)
Remove an element named avp by the index
Specified by:
removeAvp in interface CmdTypeMBean
Parameters:
index - The index of removing elements

addOpcode

public void addOpcode()
Add a new element named opcode
Specified by:
addOpcode in interface CmdTypeMBean

removeOpcode

public void removeOpcode()
Remove an element named opcode
Specified by:
removeOpcode in interface CmdTypeMBean

getAvpMBean

public List<AvpTypeMBean> getAvpMBean()
Get the list of the AvpType element
Specified by:
getAvpMBean in interface CmdTypeReadOnlyMBean

getOpcodeMBean

public OpcodeTypeMBean getOpcodeMBean()
Get the value of the OpcodeType element
Specified by:
getOpcodeMBean in interface CmdTypeReadOnlyMBean

setOpcodeMBean

public void setOpcodeMBean(OpcodeTypeMBean val)
Set the value of the OpcodeType element
Specified by:
setOpcodeMBean in interface CmdTypeMBean

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.