|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.diameter.charging.util.ServiceInformation
public class ServiceInformation
ServiceInformation is a lightweight representation of the Grouped [Service-Information] Avp. The 3GPP has separated its vendor-specific AVPs into multiple service-specific charging groups. Contained within ServiceInformation, are nested classes that act as holders for service-specific data
The [Service-Information] Avp is defined by the 3GPP in ETSI TS 132 299 V6.9.0 (2006-12) - Diameter charging applications.
Constructor Summary | |
---|---|
ServiceInformation()
Constructs an empty ServiceInformation object representing the [Service-Information] Avp. |
|
ServiceInformation(java.util.List<Avp> avps)
Constructs a ServiceInformation object representing the Grouped [Service-Information] Avp. |
Method Summary | |
---|---|
IMSInformation |
getImsInformation()
Gets the value corresponding to the payload of the [IMS-Information] Avp. |
LCSInformation |
getLcsInformation()
Gets the value corresponding to the payload of the [LCS-Information] Avp. |
MBMSInformation |
getMbmsInformation()
Gets the value corresponding to the payload of the [MBMS-Information] Avp. |
MMSInformation |
getMmsInformation()
Gets the value corresponding to the payload of the [MMS-Information] Avp. |
PoCInformation |
getPocInformation()
Gets the value corresponding to the payload of the [PoC-Information] Avp. |
PSInformation |
getPsInformation()
Gets the value corresponding to the payload of the [PS-Information] Avp. |
WLANInformation |
getWlanInformation()
Gets the value corresponding to the payload of the [WLAN-Information] Avp. |
void |
setImsInformation(IMSInformation imsInformation)
Sets the value corresponding to the payload of the [IMS-Information] Avp. |
void |
setLcsInformation(LCSInformation lcsInformation)
Sets the value corresponding to the payload of the [LCS-Information] Avp. |
void |
setMbmsInformation(MBMSInformation mbmsInformation)
Sets the value corresponding to the payload of the [MBMS-Information] Avp. |
void |
setMmsInformation(MMSInformation mmsInformation)
Sets the value corresponding to the payload of the [MMS-Information] Avp. |
void |
setPocInformation(PoCInformation pocInformation)
Sets the value corresponding to the payload of the [PoC-Information] Avp. |
void |
setPsInformation(PSInformation psInformation)
Sets the value corresponding to the payload of the [PS-Information] Avp. |
void |
setWlanInformation(WLANInformation wlanInformation)
Sets the value corresponding to the payload of the [WLAN-Information] Avp. |
Avp |
toAvp()
Transforms a ServiceInformation object into a Grouped [Service-Information] Avp. |
void |
validate()
Validates the members of the ServiceInformation object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceInformation()
public ServiceInformation(java.util.List<Avp> avps) throws AvpTransformationException
The method takes a List of Avps as an input. If an Avp code inside the list corresponds to a member of ServiceInformation, the member will be populated with the Avp value during construction. If an Avp code is unknown, the value will be silently discarded.
avps
- a list of Avps that can appear in the Grouped
[Service-Information] Avp.
AvpTransformationException
- if the Avp value is in an unexpected format.Method Detail |
---|
public IMSInformation getImsInformation()
public void setImsInformation(IMSInformation imsInformation)
imsInformation
- the value corresponding to the payload of the [IMS-Information] Avp.public LCSInformation getLcsInformation()
public void setLcsInformation(LCSInformation lcsInformation)
lcsInformation
- the value corresponding to the payload of the [LCS-Information] Avp.public MMSInformation getMmsInformation()
public void setMmsInformation(MMSInformation mmsInformation)
mmsInformation
- the value corresponding to the payload of the [MMS-Information] Avp.public MBMSInformation getMbmsInformation()
public void setMbmsInformation(MBMSInformation mbmsInformation)
mbmsInformation
- the value corresponding to the payload of the [MBMS-Information] Avp.public PoCInformation getPocInformation()
public void setPocInformation(PoCInformation pocInformation)
pocInformation
- the value corresponding to the payload of the [PoC-Information] Avp.public PSInformation getPsInformation()
public void setPsInformation(PSInformation psInformation)
psInformation
- the value corresponding to the payload of the [PS-Information] Avp.public WLANInformation getWlanInformation()
public void setWlanInformation(WLANInformation wlanInformation)
wlanInformation
- the value corresponding to the payload of the [WLAN-Information] Avp.public void validate() throws ChargingValidationException
ChargingValidationException
- if a member of ServiceInformation is in an unexpected format.public Avp toAvp() throws AvpTransformationException
All non-null members of ServiceInformation will be transformed into Avps nested inside of the [Service-Information] Avp.
AvpTransformationException
- if a member of ServiceInformation is in an
unexpected format.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |