|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.diameter.charging.util.PSInformation
public class PSInformation
PSInformation is a lightweight representation of the Grouped [PS-Information] Avp. It is used to record accounting and charging information that is specific to the Packet Switched (PS) service.
The [PS-Information] Avp is defined by the 3GPP in ETSI TS 132 299 V6.9.0 (2006-12) - Diameter charging applications.
Constructor Summary | |
---|---|
PSInformation()
Constructs an empty PSInformation object representing the [PS-Information] Avp. |
|
PSInformation(java.util.List<Avp> avps)
Constructs a PSInformation object representing the Grouped [PS-Information] Avp. |
Method Summary | |
---|---|
java.lang.String |
getCalledStationId()
Gets the value corresponding to the payload of the [Called-Station-Id] Avp. |
java.lang.String |
getCgAddress()
Gets the value corresponding to the payload of the [CG-Address] Avp. |
java.lang.String |
getChargingRuleBaseName()
Gets the value corresponding to the payload of the [Charging-Rule-Base-Name] Avp. |
java.lang.String |
getGgsnAddress()
Gets the value corresponding to the payload of the [GGSN-Address] Avp. |
java.lang.String |
getPdpAddress()
Gets the value corresponding to the payload of the [PDP-Address] Avp. |
java.lang.Integer |
getPdpContextType()
Gets the value corresponding to the payload of the [PDP-Context-Type] Avp. |
PSFurnishChargingInformation |
getPsFurnishChargingInformation()
Gets the value corresponding to the payload of the [PS-Furnish-Charging-Information] Avp. |
java.lang.String |
getSgsnAddress()
Gets the value corresponding to the payload of the [SGSN-Address] Avp. |
byte[] |
getTgppCamelChargingInfo()
Gets the value corresponding to the payload of the [3GPP-Camel-Charging-Info] Avp. |
java.lang.String |
getTgppChargingCharacteristics()
Gets the value corresponding to the payload of the [3GPP-Charging-Characteristics] Avp. |
java.lang.Integer |
getTgppChargingId()
Gets the value corresponding to the payload of the [3GPP-Charging-Id] Avp. |
java.lang.String |
getTgppGgsnMccMnc()
Gets the value corresponding to the payload of the [3GPP-GGSN-MCC-MNC] Avp. |
java.lang.String |
getTgppGprsNegotiatedQosProfile()
Gets the value corresponding to the payload of the [3GPP-GPRS-Negotiated-QoS-Profile] Avp. |
java.lang.String |
getTgppImsiMccMnc()
Gets the value corresponding to the payload of the [3GPP-IMSI-MCC-MNC] Avp. |
byte[] |
getTgppMsTimezone()
Gets the value corresponding to the payload of the [3GPP-MS-Timezone] Avp. |
java.lang.String |
getTgppNsapi()
Gets the value corresponding to the payload of the [3GPP-Nsapi] Avp. |
java.lang.Integer |
getTgppPdpType()
Gets the value corresponding to the payload of the [3GPP-PDP-Type] Avp. |
byte[] |
getTgppRatType()
Gets the value corresponding to the payload of the [3GPP-RAT-Type] Avp. |
java.lang.String |
getTgppSelectionMode()
Gets the value corresponding to the payload of the [3GPP-Selection-Mode] Avp. |
byte[] |
getTgppSessionStopIndicator()
Gets the value corresponding to the payload of the [3GPP-Session-Stop-Indicator] Avp. |
java.lang.String |
getTgppSgsnMccMnc()
Gets the value corresponding to the payload of the [3GPP-SGSN-MCC-MNC] Avp. |
byte[] |
getTgppUserLocationInfo()
Gets the value corresponding to the payload of the [3GPP-User-Location-Info] Avp. |
void |
setCalledStationId(java.lang.String calledStationId)
Sets the value corresponding to the payload of the [Called-Station-Id] Avp. |
void |
setCgAddress(java.lang.String cgAddress)
Sets the value corresponding to the payload of the [CG-Address] Avp. |
void |
setChargingRuleBaseName(java.lang.String chargingRuleBaseName)
Sets the value corresponding to the payload of the [Charging-Rule-Base-Name] Avp. |
void |
setGgsnAddress(java.lang.String ggsnAddress)
Sets the value corresponding to the payload of the [GGSN-Address] Avp. |
void |
setPdpAddress(java.lang.String pdpAddress)
Sets the value corresponding to the payload of the [PDP-Address] Avp. |
void |
setPdpContextType(java.lang.Integer pdpContextType)
Sets the value corresponding to the payload of the [PDP-Context-Type] Avp. |
void |
setPsFurnishChargingInformation(PSFurnishChargingInformation psFurnishChargingInformation)
Sets the value corresponding to the payload of the [PS-Furnish-Charging-Information] Avp. |
void |
setSgsnAddress(java.lang.String sgsnAddress)
Sets the value corresponding to the payload of the [SGSN-Address] Avp. |
void |
setTgppCamelChargingInfo(byte[] tgppCamelChargingInfo)
Sets the value corresponding to the payload of the [3GPP-Camel-Charging-Info] Avp. |
void |
setTgppChargingCharacteristics(java.lang.String tgppChargingCharacteristics)
Sets the value corresponding to the payload of the [3GPP-Charging-Characteristics] Avp. |
void |
setTgppChargingId(java.lang.Integer tgppChargingId)
Sets the value corresponding to the payload of the [3GPP-Charging-Id] Avp. |
void |
setTgppGgsnMccMnc(java.lang.String tgppGgsnMccMnc)
Sets the value corresponding to the payload of the [3GPP-GGSN-MCC-MNC] Avp. |
void |
setTgppGprsNegotiatedQosProfile(java.lang.String tgppGprsNegotiatedQosProfile)
Sets the value corresponding to the payload of the [3GPP-GPRS-Negotiated-QoS-Profile] Avp. |
void |
setTgppImsiMccMnc(java.lang.String tgppImsiMccMnc)
Sets the value corresponding to the payload of the [3GPP-IMSI-MCC-MNC] Avp. |
void |
setTgppMsTimezone(byte[] tgppMsTimezone)
Sets the value corresponding to the payload of the [3GPP-MS-Timezone] Avp. |
void |
setTgppNsapi(java.lang.String tgppNsapi)
Sets the value corresponding to the payload of the [3GPP-Nsapi] Avp. |
void |
setTgppPdpType(java.lang.Integer tgppPdpType)
Sets the value corresponding to the payload of the [3GPP-PDP-Type] Avp. |
void |
setTgppRatType(byte[] tgppRatType)
Sets the value corresponding to the payload of the [3GPP-RAT-Type] Avp. |
void |
setTgppSelectionMode(java.lang.String tgppSelectionMode)
Sets the value corresponding to the payload of the [3GPP-Selection-Mode] Avp. |
void |
setTgppSessionStopIndicator(byte[] tgppSessionStopIndicator)
Sets the value corresponding to the payload of the [3GPP-Session-Stop-Indicator] Avp. |
void |
setTgppSgsnMccMnc(java.lang.String tgppSgsnMccMnc)
Sets the value corresponding to the payload of the [3GPP-SGSN-MCC-MNC] Avp. |
void |
setTgppUserLocationInfo(byte[] tgppUserLocationInfo)
Sets the value corresponding to the payload of the [3GPP-User-Location-Info] Avp. |
Avp |
toAvp()
Transforms a PSInformation object into a Grouped [PS-Information] Avp. |
void |
validate()
Validates the members of the PSInformation object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PSInformation()
public PSInformation(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 PSInformation, 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
[PS-Information] Avp.
AvpTransformationException
- if the Avp value is in an unexpected format.Method Detail |
---|
public java.lang.String getCalledStationId()
public java.lang.String getCgAddress()
public java.lang.String getChargingRuleBaseName()
public java.lang.String getGgsnAddress()
public java.lang.String getPdpAddress()
public java.lang.Integer getPdpContextType()
public PSFurnishChargingInformation getPsFurnishChargingInformation()
public java.lang.String getSgsnAddress()
public byte[] getTgppCamelChargingInfo()
public java.lang.String getTgppChargingCharacteristics()
public java.lang.Integer getTgppChargingId()
public java.lang.String getTgppGgsnMccMnc()
public java.lang.String getTgppGprsNegotiatedQosProfile()
public java.lang.String getTgppImsiMccMnc()
public byte[] getTgppMsTimezone()
public java.lang.String getTgppNsapi()
public java.lang.Integer getTgppPdpType()
public byte[] getTgppRatType()
public java.lang.String getTgppSelectionMode()
public byte[] getTgppSessionStopIndicator()
public java.lang.String getTgppSgsnMccMnc()
public byte[] getTgppUserLocationInfo()
public void setCalledStationId(java.lang.String calledStationId)
calledStationId
- the value corresponding to the payload of the [Called-Station-Id] Avp.public void setCgAddress(java.lang.String cgAddress)
cgAddress
- the value corresponding to the payload of the [CG-Address] Avp.public void setChargingRuleBaseName(java.lang.String chargingRuleBaseName)
chargingRuleBaseName
- the value corresponding to the payload of the [Charging-Rule-Base-Name] Avp.public void setGgsnAddress(java.lang.String ggsnAddress)
ggsnAddress
- the value corresponding to the payload of the [GGSN-Address] Avp.public void setPdpAddress(java.lang.String pdpAddress)
pdpAddress
- the value corresponding to the payload of the [PDP-Address] Avp.public void setPdpContextType(java.lang.Integer pdpContextType)
pdpContextType
- the value corresponding to the payload of the [PDP-Context-Type] Avp.public void setPsFurnishChargingInformation(PSFurnishChargingInformation psFurnishChargingInformation)
psFurnishChargingInformation
- the value corresponding to the payload of the [PS-Furnish-Charging-Information] Avp.public void setSgsnAddress(java.lang.String sgsnAddress)
sgsnAddress
- the value corresponding to the payload of the [SGSN-Address] Avp.public void setTgppCamelChargingInfo(byte[] tgppCamelChargingInfo)
tgppCamelChargingInfo
- the value corresponding to the payload of the [3GPP-Camel-Charging-Info] Avp.public void setTgppChargingCharacteristics(java.lang.String tgppChargingCharacteristics)
tgppChargingCharacteristics
- the value corresponding to the payload of the [3GPP-Charging-Characteristics] Avp.public void setTgppChargingId(java.lang.Integer tgppChargingId)
tgppChargingId
- the value corresponding to the payload of the [3GPP-Charging-Id] Avp.public void setTgppGgsnMccMnc(java.lang.String tgppGgsnMccMnc)
tgppGgsnMccMnc
- the value corresponding to the payload of the [3GPP-GGSN-MCC-MNC] Avp.public void setTgppGprsNegotiatedQosProfile(java.lang.String tgppGprsNegotiatedQosProfile)
tgppGprsNegotiatedQosProfile
- the value corresponding to the payload of the [3GPP-GPRS-Negotiated-QoS-Profile] Avp.public void setTgppImsiMccMnc(java.lang.String tgppImsiMccMnc)
tgppImsiMccMnc
- the value corresponding to the payload of the [3GPP-IMSI-MCC-MNC] Avp.public void setTgppMsTimezone(byte[] tgppMsTimezone)
tgppMsTimezone
- the value corresponding to the payload of the [3GPP-MS-Timezone] Avp.public void setTgppNsapi(java.lang.String tgppNsapi)
tgppNsapi
- the value corresponding to the payload of the [3GPP-Nsapi] Avp.public void setTgppPdpType(java.lang.Integer tgppPdpType)
tgppPdpType
- the value corresponding to the payload of the [3GPP-PDP-Type] Avp.public void setTgppRatType(byte[] tgppRatType)
tgppRatType
- the value corresponding to the payload of the [3GPP-RAT-Type] Avp.public void setTgppSelectionMode(java.lang.String tgppSelectionMode)
tgppSelectionMode
- the value corresponding to the payload of the [3GPP-Selection-Mode] Avp.public void setTgppSessionStopIndicator(byte[] tgppSessionStopIndicator)
tgppSessionStopIndicator
- the value corresponding to the payload of the [3GPP-Session-Stop-Indicator] Avp.public void setTgppSgsnMccMnc(java.lang.String tgppSgsnMccMnc)
tgppSgsnMccMnc
- the value corresponding to the payload of the [3GPP-SGSN-MCC-MNC] Avp.public void setTgppUserLocationInfo(byte[] tgppUserLocationInfo)
tgppUserLocationInfo
- the value corresponding to the payload of the [3GPP-User-Location-Info] Avp.public void validate() throws ChargingValidationException
ChargingValidationException
- if a member of PSInformation is in an unexpected format.public Avp toAvp() throws AvpTransformationException
All non-null members of PSInformation will be transformed into Avps nested inside of the [PS-Information] Avp.
AvpTransformationException
- if a member of PSInformation is in an
unexpected format.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |