|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.diameter.charging.util.PoCInformation
public class PoCInformation
PoCInformation is a lightweight representation of the Grouped [PoC-Information] Avp. It is used to record accounting and charging information that is specific to the Push-To-Talk over Cellular (PoC) service.
The [PoC-Information] Avp is defined by the 3GPP in ETSI TS 132 299 V6.9.0 (2006-12) - Diameter charging applications.
Constructor Summary | |
---|---|
PoCInformation()
Constructs an empty PoCInformation object representing the [PoC-Information] Avp. |
|
PoCInformation(java.util.List<Avp> avps)
Constructs a PoCInformation object representing the Grouped [PoC-Information] Avp. |
Method Summary | |
---|---|
java.lang.String |
getChargedParty()
Gets the value corresponding to the payload of the [Charged-Party] Avp. |
java.lang.Integer |
getNumberOfParticipants()
Gets the value corresponding to the payload of the [Number-Of-Participants] Avp. |
java.lang.String[] |
getParticipantsInvolved()
Gets the value corresponding to the payload of the [Participants-Involved] Avp. |
java.lang.String |
getPocControllingAddress()
Gets the value corresponding to the payload of the [PoC-Controlling-Address] Avp. |
java.lang.String |
getPocGroupName()
Gets the value corresponding to the payload of the [PoC-Group-Name] Avp. |
java.lang.Integer |
getPocServerRole()
Gets the value corresponding to the payload of the [PoC-Server-Role] Avp. |
java.lang.String |
getPocSessionId()
Gets the value corresponding to the payload of the [PoC-Session-Id] Avp. |
java.lang.Integer |
getPocSessionType()
Gets the value corresponding to the payload of the [PoC-Session-Type] Avp. |
TalkBurstExchange[] |
getTalkBurstExchange()
Gets the values corresponding to the payloads of the [Talk-Burst-Exchange] Avps. |
void |
setChargedParty(java.lang.String chargedParty)
Sets the value corresponding to the payload of the [Charged-Party] Avp. |
void |
setNumberOfParticipants(java.lang.Integer numberOfParticipants)
Sets the value corresponding to the payload of the [Number-Of-Participants] Avp. |
void |
setParticipantsInvolved(java.lang.String[] participantsInvolved)
Sets the values corresponding to the payloads of the [Participants-Involved] Avps. |
void |
setPocControllingAddress(java.lang.String pocControllingAddress)
Sets the value corresponding to the payload of the [PoC-Controlling-Address] Avp. |
void |
setPocGroupName(java.lang.String pocGroupName)
Sets the value corresponding to the payload of the [PoC-Group-Name] Avp. |
void |
setPocServerRole(java.lang.Integer pocServerRole)
Sets the value corresponding to the payload of the [PoC-Server-Role] Avp. |
void |
setPocSessionId(java.lang.String pocSessionId)
Sets the value corresponding to the payload of the [PoC-Session-Id] Avp. |
void |
setPocSessionType(java.lang.Integer pocSessionType)
Sets the value corresponding to the payload of the [PoC-Session-Type] Avp. |
void |
setTalkBurstExchange(TalkBurstExchange[] talkBurstExchange)
Sets the values corresponding to the payloads of the [Talk-Burst-Exchange] Avps. |
Avp |
toAvp()
Transforms a PoCInformation object into a Grouped [PoC-Information] Avp. |
void |
validate()
Validates the members of the PoCInformation object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PoCInformation()
public PoCInformation(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 PoCInformation, 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
[PoC-Information] Avp.
AvpTransformationException
- if the Avp value is in an unexpected format.Method Detail |
---|
public java.lang.String getChargedParty()
public void setChargedParty(java.lang.String chargedParty)
chargedParty
- the value corresponding to the payload of the [Charged-Party] Avp.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.String[] getParticipantsInvolved()
public void setParticipantsInvolved(java.lang.String[] participantsInvolved)
participantsInvolved
- the values corresponding to the payloads of the [Participants-Involved] Avps.public java.lang.String getPocControllingAddress()
public void setPocControllingAddress(java.lang.String pocControllingAddress)
pocControllingAddress
- the value corresponding to the payload of the [PoC-Controlling-Address] Avp.public java.lang.String getPocGroupName()
public void setPocGroupName(java.lang.String pocGroupName)
pocGroupName
- the value corresponding to the payload of the [PoC-Group-Name] Avp.public java.lang.Integer getPocServerRole()
public void setPocServerRole(java.lang.Integer pocServerRole)
pocServerRole
- the value corresponding to the payload of the [PoC-Server-Role] Avp.public java.lang.String getPocSessionId()
public void setPocSessionId(java.lang.String pocSessionId)
pocSessionId
- the value corresponding to the payload of the [PoC-Session-Id] Avp.public java.lang.Integer getPocSessionType()
public void setPocSessionType(java.lang.Integer pocSessionType)
pocSessionType
- the value corresponding to the payload of the [PoC-Session-Type] Avp.public TalkBurstExchange[] getTalkBurstExchange()
public void setTalkBurstExchange(TalkBurstExchange[] talkBurstExchange)
talkBurstExchange
- the values corresponding to the payloads of the [Talk-Burst-Exchange] Avps.public void validate() throws ChargingValidationException
ChargingValidationException
- if a member of PoCInformation is in an unexpected format.public Avp toAvp() throws AvpTransformationException
All non-null members of PoCInformation will be transformed into Avps nested inside of the [PoC-Information] Avp.
AvpTransformationException
- if a member of PoCInformation is in an
unexpected format.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |