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 AvpType

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

All Implemented Interfaces:
Serializable, AvpTypeMBean, AvpTypeReadOnlyMBean

public class AvpType
extends Object
implements Serializable, AvpTypeMBean

Java class for avpType complex type.

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

 <complexType name="avpType">
   <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="avpCode" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="vendorId" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
Serialized Form

Field Summary
protected  List<AvpType> avp
           
protected  int avpCode
           
protected  OpcodeType opcode
           
protected  String value
           
protected  int vendorId
           

 

Constructor Summary
AvpType()
          Default Constructor
AvpType(List<AvpType> avp, OpcodeType opcode, int avpCode, int vendorId, String value)
           

 

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.
 int getAvpCode()
          Gets the value of the avpCode property.
 List<AvpTypeMBean> getAvpMBean()
          Get the list of the AvpType element
 OpcodeType getOpcode()
          Gets the value of the opcode property.
 OpcodeTypeMBean getOpcodeMBean()
          Get the value of the OpcodeType element
 String getValue()
          Gets the value of the value property.
 int getVendorId()
          Gets the value of the vendorId property.
 boolean isSetAvp()
           
 boolean isSetAvpCode()
           
 boolean isSetOpcode()
           
 boolean isSetValue()
           
 boolean isSetVendorId()
           
 void removeAvp(int index)
          Remove an element named avp by the index
 void removeOpcode()
          Remove an element named opcode
 void setAvpCode(int value)
          Sets the value of the avpCode property.
 void setOpcode(OpcodeType value)
          Sets the value of the opcode property.
 void setOpcodeMBean(OpcodeTypeMBean val)
          Set the value of the OpcodeType element
 void setValue(String value)
          Sets the value of the value property.
 void setVendorId(int value)
          Sets the value of the vendorId property.
 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

avpCode

protected int avpCode

vendorId

protected int vendorId

value

protected String value

Constructor Detail

AvpType

public AvpType()
Default Constructor

AvpType

public AvpType(List<AvpType> avp,
               OpcodeType opcode,
               int avpCode,
               int vendorId,
               String value)

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 AvpTypeMBean

unsetAvp

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

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 AvpTypeMBean

getAvpCode

public int getAvpCode()
Gets the value of the avpCode property.
Specified by:
getAvpCode in interface AvpTypeReadOnlyMBean

setAvpCode

public void setAvpCode(int value)
Sets the value of the avpCode property.
Specified by:
setAvpCode in interface AvpTypeMBean

isSetAvpCode

public boolean isSetAvpCode()
Specified by:
isSetAvpCode in interface AvpTypeMBean

getVendorId

public int getVendorId()
Gets the value of the vendorId property.
Specified by:
getVendorId in interface AvpTypeReadOnlyMBean

setVendorId

public void setVendorId(int value)
Sets the value of the vendorId property.
Specified by:
setVendorId in interface AvpTypeMBean

isSetVendorId

public boolean isSetVendorId()
Specified by:
isSetVendorId in interface AvpTypeMBean

getValue

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

setValue

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

isSetValue

public boolean isSetValue()
Specified by:
isSetValue in interface AvpTypeMBean

addAvp

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

removeAvp

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

addOpcode

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

removeOpcode

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

getAvpMBean

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

getOpcodeMBean

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

setOpcodeMBean

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

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.