|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.diameter.charging.util.TalkBurstExchange
public class TalkBurstExchange
TalkBurstExchange is a lightweight representation of the Grouped [Talk-Burst-Exchange] Avp.
The Talk-Burst-Exchange Avp is defined by the 3GPP in ETSI TS 132 299 V6.9.0 (2006-12) - Diameter charging applications.
Constructor Summary | |
---|---|
TalkBurstExchange()
Constructs an empty TalkBurstExchange object representing the [Talk-Burst-Exchange] Avp. |
|
TalkBurstExchange(java.util.List<Avp> avps)
Constructs a TalkBurstExchange object representing the Grouped [Talk-Burst-Exchange] Avp. |
Method Summary | |
---|---|
java.lang.Integer |
getNumberOfParticipants()
Gets the value corresponding to the payload of the [Number-Of-Participants] Avp. |
java.lang.Integer |
getPocChangeCondition()
Gets the value corresponding to the payload of the [PoC-Change-Condition] Avp. |
java.lang.Long |
getPocChangeTime()
Gets the value corresponding to the payload of the {PoC-Change-Time} Avp. |
void |
setNumberOfParticipants(java.lang.Integer numberOfParticipants)
Sets the value corresponding to the payload of the [Number-Of-Participants] Avp. |
void |
setPocChangeCondition(java.lang.Integer pocChangeCondition)
Sets the value corresponding to the payload of the [PoC-Change-Condition] Avp. |
void |
setPocChangeTime(java.lang.Long pocChangeTime)
Sets the value corresponding to the payload of the {PoC-Change-Time} Avp. |
Avp |
toAvp()
Transforms a TalkBurstExchange object into a Grouped [Talk-Burst-Exchange] Avp. |
void |
validate()
Validates the members of the TalkBurstExchange object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TalkBurstExchange()
public TalkBurstExchange(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 TalkBurstExchange, 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
[Talk-Burst-Exchange] Avp.
AvpTransformationException
- if the Avp value is in an unexpected format.Method Detail |
---|
public java.lang.Integer getNumberOfParticipants()
public void setNumberOfParticipants(java.lang.Integer numberOfParticipants)
numberOfParticipants
- the value corresponding to the payload of the [Number-Of-Participants] Avp.public java.lang.Integer getPocChangeCondition()
public void setPocChangeCondition(java.lang.Integer pocChangeCondition)
pocChangeCondition
- the value corresponding to the payload of the [PoC-Change-Condition] Avp.public java.lang.Long getPocChangeTime()
public void setPocChangeTime(java.lang.Long pocChangeTime)
pocChangeTime
- the value corresponding to the payload of the {PoC-Change-Time} Avp.public void validate() throws ChargingValidationException
ChargingValidationException
- if a member of TalkBurstExchange is in an unexpected format.public Avp toAvp() throws AvpTransformationException
All non-null members of TalkBurstExchange will be transformed into Avps nested inside of the [Talk-Burst-Exchange] Avp.
AvpTransformationException
- if a member of TalkBurstExchange is in an unexpected format.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |