Interface PsInformation
-
- All Superinterfaces:
Cloneable,DiameterAvp,GroupedAvp
public interface PsInformation extends GroupedAvp
Defines an interface representing the PS-Information grouped AVP type. From the Diameter Rf Reference Point Protocol Details (3GPP TS 32.299 V10.0.0) specification:7.2.158 PS-Information AVP The PS-Information AVP (AVP code 874) is of type Grouped. Its purpose is to allow the transmission of additional PS service specific information elements. It has the following ABNF grammar: PS-Information ::= < AVP Header: 874> [ TGPP-Charging-Id ] [ PDN-Connection-ID ] [ Node-Id ] [ TGPP-PDP-Type ] * [ PDP-Address ] [ Dynamic-Address-Flag ] [ QoS-Information ] [ SGSN-Address ] [ GGSN-Address ] [ CG-Address ] [ Serving-Node-Type ] [ SGW-Change ] [ TGPP-IMSI-MCC-MNC ] [ IMSI-Unauthenticated-Flag ] [ TGPP-GGSN-MCC-MNC ] [ TGPP-NSAPI ] [ Called-Station-Id ] [ TGPP-Session-Stop-Indicator ] [ TGPP-Selection-Mode ] [ TGPP-Charging-Characteristics ] [ Charging-Characteristics-Selection-Mode ] [ TGPP-SGSN-MCC-MNC ] [ TGPP-MS-TimeZone ] [ Charging-Rule-Base-Name ] [ TGPP-User-Location-Info ] [ User-CSG-Information ] [ TGPP2-BSID ] [ TGPP-RAT-Type ] [ PS-Furnish-Charging-Information ] [ PDP-Context-Type ] [ Offline-Charging ] * [ Traffic-Data-Volumes ] * [ Service-Data-Container ] [ User-Equipment-Info ] [ Terminal-Information ] [ Start-Time ] [ Stop-Time ] [ Change-Condition ] [ Diagnostics ]Note:
The support for extension AVPs is present even thou the ABNF grammar for this AVP does not contain the "* [ AVP ]" line. Be aware that adding any extension AVPs may result in interoperability problems with products that strongly validate the incoming diameter message for it's adherence to the specification.
-
-
Field Summary
-
Fields inherited from interface org.jainslee.resources.diameter.base.DiameterAvp
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCalledStationId()Returns the value of the Called-Station-Id AVP, of type UTF8String.AddressgetCgAddress()Returns the value of the CG-Address AVP, of type Address.intgetChangeCondition()Returns the value of the Change-Condition AVP, of type Integer32.ChargingCharacteristicsSelectionModegetChargingCharacteristicsSelectionMode()Returns the value of the Charging-Characteristics-Selection-Mode AVP, of type Enumerated.byte[]getChargingRuleBaseName()Returns the value of the Charging-Rule-Base-Name AVP, of type OctetString.intgetDiagnostics()Returns the value of the Diagnostics AVP, of type Integer32.DynamicAddressFlaggetDynamicAddressFlag()Returns the value of the Dynamic-Address-Flag AVP, of type Enumerated.DiameterAvp[]getExtensionAvps()Returns the set of extension AVPs.AddressgetGgsnAddress()Returns the value of the GGSN-Address AVP, of type Address.ImsiUnauthenticatedFlaggetImsiUnauthenticatedFlag()Returns the value of the IMSI-Unauthenticated-Flag AVP, of type Enumerated.StringgetNodeId()Returns the value of the Node-Id AVP, of type UTF8String.OfflineCharginggetOfflineCharging()Returns the value of the Offline-Charging AVP, of type Grouped.longgetPdnConnectionId()Returns the value of the PDN-Connection-ID AVP, of type Unsigned32.Address[]getPdpAddresses()Returns the set of PDP-Address AVPs.PdpContextTypegetPdpContextType()Returns the value of the PDP-Context-Type AVP, of type Enumerated.PsFurnishChargingInformationgetPsFurnishChargingInformation()Returns the value of the PS-Furnish-Charging-Information AVP, of type Grouped.QosInformationgetQosInformation()Returns the value of the QoS-Information AVP, of type Grouped.ServiceDataContainer[]getServiceDataContainers()Returns the set of Service-Data-Container AVPs.ServingNodeTypegetServingNodeType()Returns the value of the Serving-Node-Type AVP, of type Enumerated.AddressgetSgsnAddress()Returns the value of the SGSN-Address AVP, of type Address.SgwChangegetSgwChange()Returns the value of the SGW-Change AVP, of type Enumerated.DategetStartTime()Returns the value of the Start-Time AVP, of type Time.DategetStopTime()Returns the value of the Stop-Time AVP, of type Time.TerminalInformationgetTerminalInformation()Returns the value of the Terminal-Information AVP, of type Grouped.StringgetTgpp2Bsid()Returns the value of the TGPP2-BSID AVP, of type UTF8String.StringgetTgppChargingCharacteristics()Returns the value of the TGPP-Charging-Characteristics AVP, of type UTF8String.byte[]getTgppChargingId()Returns the value of the TGPP-Charging-Id AVP, of type OctetString.StringgetTgppGgsnMccMnc()Returns the value of the TGPP-GGSN-MCC-MNC AVP, of type UTF8String.StringgetTgppImsiMccMnc()Returns the value of the TGPP-IMSI-MCC-MNC AVP, of type UTF8String.byte[]getTgppMsTimezone()Returns the value of the TGPP-MS-TimeZone AVP, of type OctetString.byte[]getTgppNsapi()Returns the value of the TGPP-NSAPI AVP, of type OctetString.intgetTgppPdpType()Returns the value of the TGPP-PDP-Type AVP, of type Integer32.byte[]getTgppRatType()Returns the value of the TGPP-RAT-Type AVP, of type OctetString.StringgetTgppSelectionMode()Returns the value of the TGPP-Selection-Mode AVP, of type UTF8String.byte[]getTgppSessionStopIndicator()Returns the value of the TGPP-Session-Stop-Indicator AVP, of type OctetString.StringgetTgppSgsnMccMnc()Returns the value of the TGPP-SGSN-MCC-MNC AVP, of type UTF8String.byte[]getTgppUserLocationInfo()Returns the value of the TGPP-User-Location-Info AVP, of type OctetString.TrafficDataVolumes[]getTrafficDataVolumeses()Returns the set of Traffic-Data-Volumes AVPs.UserCsgInformationgetUserCsgInformation()Returns the value of the User-CSG-Information AVP, of type Grouped.UserEquipmentInfogetUserEquipmentInfo()Returns the value of the User-Equipment-Info AVP, of type Grouped.booleanhasCalledStationId()Returns true if the Called-Station-Id AVP is present in the PS-Information AVP.booleanhasCgAddress()Returns true if the CG-Address AVP is present in the PS-Information AVP.booleanhasChangeCondition()Returns true if the Change-Condition AVP is present in the PS-Information AVP.booleanhasChargingCharacteristicsSelectionMode()Returns true if the Charging-Characteristics-Selection-Mode AVP is present in the PS-Information AVP.booleanhasChargingRuleBaseName()Returns true if the Charging-Rule-Base-Name AVP is present in the PS-Information AVP.booleanhasDiagnostics()Returns true if the Diagnostics AVP is present in the PS-Information AVP.booleanhasDynamicAddressFlag()Returns true if the Dynamic-Address-Flag AVP is present in the PS-Information AVP.booleanhasGgsnAddress()Returns true if the GGSN-Address AVP is present in the PS-Information AVP.booleanhasImsiUnauthenticatedFlag()Returns true if the IMSI-Unauthenticated-Flag AVP is present in the PS-Information AVP.booleanhasNodeId()Returns true if the Node-Id AVP is present in the PS-Information AVP.booleanhasOfflineCharging()Returns true if the Offline-Charging AVP is present in the PS-Information AVP.booleanhasPdnConnectionId()Returns true if the PDN-Connection-ID AVP is present in the PS-Information AVP.booleanhasPdpContextType()Returns true if the PDP-Context-Type AVP is present in the PS-Information AVP.booleanhasPsFurnishChargingInformation()Returns true if the PS-Furnish-Charging-Information AVP is present in the PS-Information AVP.booleanhasQosInformation()Returns true if the QoS-Information AVP is present in the PS-Information AVP.booleanhasServingNodeType()Returns true if the Serving-Node-Type AVP is present in the PS-Information AVP.booleanhasSgsnAddress()Returns true if the SGSN-Address AVP is present in the PS-Information AVP.booleanhasSgwChange()Returns true if the SGW-Change AVP is present in the PS-Information AVP.booleanhasStartTime()Returns true if the Start-Time AVP is present in the PS-Information AVP.booleanhasStopTime()Returns true if the Stop-Time AVP is present in the PS-Information AVP.booleanhasTerminalInformation()Returns true if the Terminal-Information AVP is present in the PS-Information AVP.booleanhasTgpp2Bsid()Returns true if the TGPP2-BSID AVP is present in the PS-Information AVP.booleanhasTgppChargingCharacteristics()Returns true if the TGPP-Charging-Characteristics AVP is present in the PS-Information AVP.booleanhasTgppChargingId()Returns true if the TGPP-Charging-Id AVP is present in the PS-Information AVP.booleanhasTgppGgsnMccMnc()Returns true if the TGPP-GGSN-MCC-MNC AVP is present in the PS-Information AVP.booleanhasTgppImsiMccMnc()Returns true if the TGPP-IMSI-MCC-MNC AVP is present in the PS-Information AVP.booleanhasTgppMsTimezone()Returns true if the TGPP-MS-TimeZone AVP is present in the PS-Information AVP.booleanhasTgppNsapi()Returns true if the TGPP-NSAPI AVP is present in the PS-Information AVP.booleanhasTgppPdpType()Returns true if the TGPP-PDP-Type AVP is present in the PS-Information AVP.booleanhasTgppRatType()Returns true if the TGPP-RAT-Type AVP is present in the PS-Information AVP.booleanhasTgppSelectionMode()Returns true if the TGPP-Selection-Mode AVP is present in the PS-Information AVP.booleanhasTgppSessionStopIndicator()Returns true if the TGPP-Session-Stop-Indicator AVP is present in the PS-Information AVP.booleanhasTgppSgsnMccMnc()Returns true if the TGPP-SGSN-MCC-MNC AVP is present in the PS-Information AVP.booleanhasTgppUserLocationInfo()Returns true if the TGPP-User-Location-Info AVP is present in the PS-Information AVP.booleanhasUserCsgInformation()Returns true if the User-CSG-Information AVP is present in the PS-Information AVP.booleanhasUserEquipmentInfo()Returns true if the User-Equipment-Info AVP is present in the PS-Information AVP.voidremoveCalledStationId()Removes the Called-Station-Id AVP from the PS-Information AVP.voidremoveCgAddress()Removes the CG-Address AVP from the PS-Information AVP.voidremoveChangeCondition()Removes the Change-Condition AVP from the PS-Information AVP.voidremoveChargingCharacteristicsSelectionMode()Removes the Charging-Characteristics-Selection-Mode AVP from the PS-Information AVP.voidremoveChargingRuleBaseName()Removes the Charging-Rule-Base-Name AVP from the PS-Information AVP.voidremoveDiagnostics()Removes the Diagnostics AVP from the PS-Information AVP.voidremoveDynamicAddressFlag()Removes the Dynamic-Address-Flag AVP from the PS-Information AVP.voidremoveExtensionAvps()Removes all extension AVPs from the PS-Information AVP.voidremoveGgsnAddress()Removes the GGSN-Address AVP from the PS-Information AVP.voidremoveImsiUnauthenticatedFlag()Removes the IMSI-Unauthenticated-Flag AVP from the PS-Information AVP.voidremoveNodeId()Removes the Node-Id AVP from the PS-Information AVP.voidremoveOfflineCharging()Removes the Offline-Charging AVP from the PS-Information AVP.voidremovePdnConnectionId()Removes the PDN-Connection-ID AVP from the PS-Information AVP.voidremovePdpAddresses()Removes all PDP-Address AVPs from the PS-Information AVP.voidremovePdpContextType()Removes the PDP-Context-Type AVP from the PS-Information AVP.voidremovePsFurnishChargingInformation()Removes the PS-Furnish-Charging-Information AVP from the PS-Information AVP.voidremoveQosInformation()Removes the QoS-Information AVP from the PS-Information AVP.voidremoveServiceDataContainers()Removes all Service-Data-Container AVPs from the PS-Information AVP.voidremoveServingNodeType()Removes the Serving-Node-Type AVP from the PS-Information AVP.voidremoveSgsnAddress()Removes the SGSN-Address AVP from the PS-Information AVP.voidremoveSgwChange()Removes the SGW-Change AVP from the PS-Information AVP.voidremoveStartTime()Removes the Start-Time AVP from the PS-Information AVP.voidremoveStopTime()Removes the Stop-Time AVP from the PS-Information AVP.voidremoveTerminalInformation()Removes the Terminal-Information AVP from the PS-Information AVP.voidremoveTgpp2Bsid()Removes the TGPP2-BSID AVP from the PS-Information AVP.voidremoveTgppChargingCharacteristics()Removes the TGPP-Charging-Characteristics AVP from the PS-Information AVP.voidremoveTgppChargingId()Removes the TGPP-Charging-Id AVP from the PS-Information AVP.voidremoveTgppGgsnMccMnc()Removes the TGPP-GGSN-MCC-MNC AVP from the PS-Information AVP.voidremoveTgppImsiMccMnc()Removes the TGPP-IMSI-MCC-MNC AVP from the PS-Information AVP.voidremoveTgppMsTimezone()Removes the TGPP-MS-TimeZone AVP from the PS-Information AVP.voidremoveTgppNsapi()Removes the TGPP-NSAPI AVP from the PS-Information AVP.voidremoveTgppPdpType()Removes the TGPP-PDP-Type AVP from the PS-Information AVP.voidremoveTgppRatType()Removes the TGPP-RAT-Type AVP from the PS-Information AVP.voidremoveTgppSelectionMode()Removes the TGPP-Selection-Mode AVP from the PS-Information AVP.voidremoveTgppSessionStopIndicator()Removes the TGPP-Session-Stop-Indicator AVP from the PS-Information AVP.voidremoveTgppSgsnMccMnc()Removes the TGPP-SGSN-MCC-MNC AVP from the PS-Information AVP.voidremoveTgppUserLocationInfo()Removes the TGPP-User-Location-Info AVP from the PS-Information AVP.voidremoveTrafficDataVolumeses()Removes all Traffic-Data-Volumes AVPs from the PS-Information AVP.voidremoveUserCsgInformation()Removes the User-CSG-Information AVP from the PS-Information AVP.voidremoveUserEquipmentInfo()Removes the User-Equipment-Info AVP from the PS-Information AVP.voidsetCalledStationId(String calledStationId)Sets the value of the Called-Station-Id AVP, of type UTF8String.voidsetCgAddress(Address cgAddress)Sets the value of the CG-Address AVP, of type Address.voidsetChangeCondition(int changeCondition)Sets the value of the Change-Condition AVP, of type Integer32.voidsetChargingCharacteristicsSelectionMode(ChargingCharacteristicsSelectionMode chargingCharacteristicsSelectionMode)Sets the value of the Charging-Characteristics-Selection-Mode AVP, of type Enumerated.voidsetChargingRuleBaseName(byte[] chargingRuleBaseName)Sets the value of the Charging-Rule-Base-Name AVP, of type OctetString.voidsetDiagnostics(int diagnostics)Sets the value of the Diagnostics AVP, of type Integer32.voidsetDynamicAddressFlag(DynamicAddressFlag dynamicAddressFlag)Sets the value of the Dynamic-Address-Flag AVP, of type Enumerated.voidsetExtensionAvps(DiameterAvp[] avps)Sets the set of extension AVPs with all the values in the given array.voidsetGgsnAddress(Address ggsnAddress)Sets the value of the GGSN-Address AVP, of type Address.voidsetImsiUnauthenticatedFlag(ImsiUnauthenticatedFlag imsiUnauthenticatedFlag)Sets the value of the IMSI-Unauthenticated-Flag AVP, of type Enumerated.voidsetNodeId(String nodeId)Sets the value of the Node-Id AVP, of type UTF8String.voidsetOfflineCharging(OfflineCharging offlineCharging)Sets the value of the Offline-Charging AVP, of type Grouped.voidsetPdnConnectionId(long pdnConnectionId)Sets the value of the PDN-Connection-ID AVP, of type Unsigned32.voidsetPdpAddress(Address pdpAddress)Sets a single PDP-Address AVP in the PS-Information AVP, of type Address.voidsetPdpAddresses(Address[] pdpAddresses)Sets the set of PDP-Address AVPs, with all the values in the given array.voidsetPdpContextType(PdpContextType pdpContextType)Sets the value of the PDP-Context-Type AVP, of type Enumerated.voidsetPsFurnishChargingInformation(PsFurnishChargingInformation psFurnishChargingInformation)Sets the value of the PS-Furnish-Charging-Information AVP, of type Grouped.voidsetQosInformation(QosInformation qosInformation)Sets the value of the QoS-Information AVP, of type Grouped.voidsetServiceDataContainer(ServiceDataContainer serviceDataContainer)Sets a single Service-Data-Container AVP in the PS-Information AVP, of type Grouped.voidsetServiceDataContainers(ServiceDataContainer[] serviceDataContainers)Sets the set of Service-Data-Container AVPs, with all the values in the given array.voidsetServingNodeType(ServingNodeType servingNodeType)Sets the value of the Serving-Node-Type AVP, of type Enumerated.voidsetSgsnAddress(Address sgsnAddress)Sets the value of the SGSN-Address AVP, of type Address.voidsetSgwChange(SgwChange sgwChange)Sets the value of the SGW-Change AVP, of type Enumerated.voidsetStartTime(Date startTime)Sets the value of the Start-Time AVP, of type Time.voidsetStopTime(Date stopTime)Sets the value of the Stop-Time AVP, of type Time.voidsetTerminalInformation(TerminalInformation terminalInformation)Sets the value of the Terminal-Information AVP, of type Grouped.voidsetTgpp2Bsid(String tgpp2Bsid)Sets the value of the TGPP2-BSID AVP, of type UTF8String.voidsetTgppChargingCharacteristics(String tgppChargingCharacteristics)Sets the value of the TGPP-Charging-Characteristics AVP, of type UTF8String.voidsetTgppChargingId(byte[] tgppChargingId)Sets the value of the TGPP-Charging-Id AVP, of type OctetString.voidsetTgppGgsnMccMnc(String tgppGgsnMccMnc)Sets the value of the TGPP-GGSN-MCC-MNC AVP, of type UTF8String.voidsetTgppImsiMccMnc(String tgppImsiMccMnc)Sets the value of the TGPP-IMSI-MCC-MNC AVP, of type UTF8String.voidsetTgppMsTimezone(byte[] tgppMsTimezone)Sets the value of the TGPP-MS-TimeZone AVP, of type OctetString.voidsetTgppNsapi(byte[] tgppNsapi)Sets the value of the TGPP-NSAPI AVP, of type OctetString.voidsetTgppPdpType(int tgppPdpType)Sets the value of the TGPP-PDP-Type AVP, of type Integer32.voidsetTgppRatType(byte[] tgppRatType)Sets the value of the TGPP-RAT-Type AVP, of type OctetString.voidsetTgppSelectionMode(String tgppSelectionMode)Sets the value of the TGPP-Selection-Mode AVP, of type UTF8String.voidsetTgppSessionStopIndicator(byte[] tgppSessionStopIndicator)Sets the value of the TGPP-Session-Stop-Indicator AVP, of type OctetString.voidsetTgppSgsnMccMnc(String tgppSgsnMccMnc)Sets the value of the TGPP-SGSN-MCC-MNC AVP, of type UTF8String.voidsetTgppUserLocationInfo(byte[] tgppUserLocationInfo)Sets the value of the TGPP-User-Location-Info AVP, of type OctetString.voidsetTrafficDataVolumes(TrafficDataVolumes trafficDataVolumes)Sets a single Traffic-Data-Volumes AVP in the PS-Information AVP, of type Grouped.voidsetTrafficDataVolumeses(TrafficDataVolumes[] trafficDataVolumeses)Sets the set of Traffic-Data-Volumes AVPs, with all the values in the given array.voidsetUserCsgInformation(UserCsgInformation userCsgInformation)Sets the value of the User-CSG-Information AVP, of type Grouped.voidsetUserEquipmentInfo(UserEquipmentInfo userEquipmentInfo)Sets the value of the User-Equipment-Info AVP, of type Grouped.-
Methods inherited from interface org.jainslee.resources.diameter.base.DiameterAvp
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
-
-
-
-
Method Detail
-
hasTgppChargingId
boolean hasTgppChargingId()
Returns true if the TGPP-Charging-Id AVP is present in the PS-Information AVP.
-
getTgppChargingId
byte[] getTgppChargingId()
Returns the value of the TGPP-Charging-Id AVP, of type OctetString.- Returns:
- the value of the TGPP-Charging-Id AVP, or null if it has not been set.
-
setTgppChargingId
void setTgppChargingId(byte[] tgppChargingId)
Sets the value of the TGPP-Charging-Id AVP, of type OctetString.- Throws:
NullPointerException- iftgppChargingIdisnull.
-
removeTgppChargingId
void removeTgppChargingId()
Removes the TGPP-Charging-Id AVP from the PS-Information AVP. If the TGPP-Charging-Id AVP is not present, this method returns silently.
-
hasPdnConnectionId
boolean hasPdnConnectionId()
Returns true if the PDN-Connection-ID AVP is present in the PS-Information AVP.
-
getPdnConnectionId
long getPdnConnectionId()
Returns the value of the PDN-Connection-ID AVP, of type Unsigned32. UsehasPdnConnectionId()to check the existence of this AVP.- Returns:
- the value of the PDN-Connection-ID AVP
- Throws:
IllegalStateException- if the PDN-Connection-ID AVP has not been set.
-
setPdnConnectionId
void setPdnConnectionId(long pdnConnectionId)
Sets the value of the PDN-Connection-ID AVP, of type Unsigned32.
-
removePdnConnectionId
void removePdnConnectionId()
Removes the PDN-Connection-ID AVP from the PS-Information AVP. If the PDN-Connection-ID AVP is not present, this method returns silently.
-
hasNodeId
boolean hasNodeId()
Returns true if the Node-Id AVP is present in the PS-Information AVP.
-
getNodeId
String getNodeId()
Returns the value of the Node-Id AVP, of type UTF8String.- Returns:
- the value of the Node-Id AVP, or null if it has not been set.
-
setNodeId
void setNodeId(String nodeId)
Sets the value of the Node-Id AVP, of type UTF8String.- Throws:
NullPointerException- ifnodeIdisnull.
-
removeNodeId
void removeNodeId()
Removes the Node-Id AVP from the PS-Information AVP. If the Node-Id AVP is not present, this method returns silently.
-
hasTgppPdpType
boolean hasTgppPdpType()
Returns true if the TGPP-PDP-Type AVP is present in the PS-Information AVP.
-
getTgppPdpType
int getTgppPdpType()
Returns the value of the TGPP-PDP-Type AVP, of type Integer32. UsehasTgppPdpType()to check the existence of this AVP.- Returns:
- the value of the TGPP-PDP-Type AVP
- Throws:
IllegalStateException- if the TGPP-PDP-Type AVP has not been set.
-
setTgppPdpType
void setTgppPdpType(int tgppPdpType)
Sets the value of the TGPP-PDP-Type AVP, of type Integer32.
-
removeTgppPdpType
void removeTgppPdpType()
Removes the TGPP-PDP-Type AVP from the PS-Information AVP. If the TGPP-PDP-Type AVP is not present, this method returns silently.
-
getPdpAddresses
Address[] getPdpAddresses()
Returns the set of PDP-Address AVPs. The returned array contains the AVPs in the order they appear in the PS-Information AVP. A return value of null implies that no PDP-Address AVPs have been set. The elements in the given array are Address objects.
-
setPdpAddress
void setPdpAddress(Address pdpAddress)
Sets a single PDP-Address AVP in the PS-Information AVP, of type Address.- Throws:
NullPointerException- ifpdpAddressisnull.
-
setPdpAddresses
void setPdpAddresses(Address[] pdpAddresses)
Sets the set of PDP-Address AVPs, with all the values in the given array. The AVPs will be added to the PS-Information AVP in the order in which they appear in the array. Note: the array must not be altered by the caller following this call, and getPdpAddresses() is not guaranteed to return the same array instance, e.g. an "==" check would fail.- Throws:
NullPointerException- ifpdpAddressesisnull.
-
removePdpAddresses
void removePdpAddresses()
Removes all PDP-Address AVPs from the PS-Information AVP. If no PDP-Address AVPs are present, this method returns silently.
-
hasDynamicAddressFlag
boolean hasDynamicAddressFlag()
Returns true if the Dynamic-Address-Flag AVP is present in the PS-Information AVP.
-
getDynamicAddressFlag
DynamicAddressFlag getDynamicAddressFlag()
Returns the value of the Dynamic-Address-Flag AVP, of type Enumerated.- Returns:
- the value of the Dynamic-Address-Flag AVP, or null if it has not been set.
-
setDynamicAddressFlag
void setDynamicAddressFlag(DynamicAddressFlag dynamicAddressFlag)
Sets the value of the Dynamic-Address-Flag AVP, of type Enumerated.- Throws:
NullPointerException- ifdynamicAddressFlagisnull.
-
removeDynamicAddressFlag
void removeDynamicAddressFlag()
Removes the Dynamic-Address-Flag AVP from the PS-Information AVP. If the Dynamic-Address-Flag AVP is not present, this method returns silently.
-
hasQosInformation
boolean hasQosInformation()
Returns true if the QoS-Information AVP is present in the PS-Information AVP.
-
getQosInformation
QosInformation getQosInformation()
Returns the value of the QoS-Information AVP, of type Grouped.- Returns:
- the value of the QoS-Information AVP, or null if it has not been set.
-
setQosInformation
void setQosInformation(QosInformation qosInformation)
Sets the value of the QoS-Information AVP, of type Grouped.- Throws:
NullPointerException- ifqosInformationisnull.
-
removeQosInformation
void removeQosInformation()
Removes the QoS-Information AVP from the PS-Information AVP. If the QoS-Information AVP is not present, this method returns silently.
-
hasSgsnAddress
boolean hasSgsnAddress()
Returns true if the SGSN-Address AVP is present in the PS-Information AVP.
-
getSgsnAddress
Address getSgsnAddress()
Returns the value of the SGSN-Address AVP, of type Address.- Returns:
- the value of the SGSN-Address AVP, or null if it has not been set.
-
setSgsnAddress
void setSgsnAddress(Address sgsnAddress)
Sets the value of the SGSN-Address AVP, of type Address.- Throws:
NullPointerException- ifsgsnAddressisnull.
-
removeSgsnAddress
void removeSgsnAddress()
Removes the SGSN-Address AVP from the PS-Information AVP. If the SGSN-Address AVP is not present, this method returns silently.
-
hasGgsnAddress
boolean hasGgsnAddress()
Returns true if the GGSN-Address AVP is present in the PS-Information AVP.
-
getGgsnAddress
Address getGgsnAddress()
Returns the value of the GGSN-Address AVP, of type Address.- Returns:
- the value of the GGSN-Address AVP, or null if it has not been set.
-
setGgsnAddress
void setGgsnAddress(Address ggsnAddress)
Sets the value of the GGSN-Address AVP, of type Address.- Throws:
NullPointerException- ifggsnAddressisnull.
-
removeGgsnAddress
void removeGgsnAddress()
Removes the GGSN-Address AVP from the PS-Information AVP. If the GGSN-Address AVP is not present, this method returns silently.
-
hasCgAddress
boolean hasCgAddress()
Returns true if the CG-Address AVP is present in the PS-Information AVP.
-
getCgAddress
Address getCgAddress()
Returns the value of the CG-Address AVP, of type Address.- Returns:
- the value of the CG-Address AVP, or null if it has not been set.
-
setCgAddress
void setCgAddress(Address cgAddress)
Sets the value of the CG-Address AVP, of type Address.- Throws:
NullPointerException- ifcgAddressisnull.
-
removeCgAddress
void removeCgAddress()
Removes the CG-Address AVP from the PS-Information AVP. If the CG-Address AVP is not present, this method returns silently.
-
hasServingNodeType
boolean hasServingNodeType()
Returns true if the Serving-Node-Type AVP is present in the PS-Information AVP.
-
getServingNodeType
ServingNodeType getServingNodeType()
Returns the value of the Serving-Node-Type AVP, of type Enumerated.- Returns:
- the value of the Serving-Node-Type AVP, or null if it has not been set.
-
setServingNodeType
void setServingNodeType(ServingNodeType servingNodeType)
Sets the value of the Serving-Node-Type AVP, of type Enumerated.- Throws:
NullPointerException- ifservingNodeTypeisnull.
-
removeServingNodeType
void removeServingNodeType()
Removes the Serving-Node-Type AVP from the PS-Information AVP. If the Serving-Node-Type AVP is not present, this method returns silently.
-
hasSgwChange
boolean hasSgwChange()
Returns true if the SGW-Change AVP is present in the PS-Information AVP.
-
getSgwChange
SgwChange getSgwChange()
Returns the value of the SGW-Change AVP, of type Enumerated.- Returns:
- the value of the SGW-Change AVP, or null if it has not been set.
-
setSgwChange
void setSgwChange(SgwChange sgwChange)
Sets the value of the SGW-Change AVP, of type Enumerated.- Throws:
NullPointerException- ifsgwChangeisnull.
-
removeSgwChange
void removeSgwChange()
Removes the SGW-Change AVP from the PS-Information AVP. If the SGW-Change AVP is not present, this method returns silently.
-
hasTgppImsiMccMnc
boolean hasTgppImsiMccMnc()
Returns true if the TGPP-IMSI-MCC-MNC AVP is present in the PS-Information AVP.
-
getTgppImsiMccMnc
String getTgppImsiMccMnc()
Returns the value of the TGPP-IMSI-MCC-MNC AVP, of type UTF8String.- Returns:
- the value of the TGPP-IMSI-MCC-MNC AVP, or null if it has not been set.
-
setTgppImsiMccMnc
void setTgppImsiMccMnc(String tgppImsiMccMnc)
Sets the value of the TGPP-IMSI-MCC-MNC AVP, of type UTF8String.- Throws:
NullPointerException- iftgppImsiMccMncisnull.
-
removeTgppImsiMccMnc
void removeTgppImsiMccMnc()
Removes the TGPP-IMSI-MCC-MNC AVP from the PS-Information AVP. If the TGPP-IMSI-MCC-MNC AVP is not present, this method returns silently.
-
hasImsiUnauthenticatedFlag
boolean hasImsiUnauthenticatedFlag()
Returns true if the IMSI-Unauthenticated-Flag AVP is present in the PS-Information AVP.
-
getImsiUnauthenticatedFlag
ImsiUnauthenticatedFlag getImsiUnauthenticatedFlag()
Returns the value of the IMSI-Unauthenticated-Flag AVP, of type Enumerated.- Returns:
- the value of the IMSI-Unauthenticated-Flag AVP, or null if it has not been set.
-
setImsiUnauthenticatedFlag
void setImsiUnauthenticatedFlag(ImsiUnauthenticatedFlag imsiUnauthenticatedFlag)
Sets the value of the IMSI-Unauthenticated-Flag AVP, of type Enumerated.- Throws:
NullPointerException- ifimsiUnauthenticatedFlagisnull.
-
removeImsiUnauthenticatedFlag
void removeImsiUnauthenticatedFlag()
Removes the IMSI-Unauthenticated-Flag AVP from the PS-Information AVP. If the IMSI-Unauthenticated-Flag AVP is not present, this method returns silently.
-
hasTgppGgsnMccMnc
boolean hasTgppGgsnMccMnc()
Returns true if the TGPP-GGSN-MCC-MNC AVP is present in the PS-Information AVP.
-
getTgppGgsnMccMnc
String getTgppGgsnMccMnc()
Returns the value of the TGPP-GGSN-MCC-MNC AVP, of type UTF8String.- Returns:
- the value of the TGPP-GGSN-MCC-MNC AVP, or null if it has not been set.
-
setTgppGgsnMccMnc
void setTgppGgsnMccMnc(String tgppGgsnMccMnc)
Sets the value of the TGPP-GGSN-MCC-MNC AVP, of type UTF8String.- Throws:
NullPointerException- iftgppGgsnMccMncisnull.
-
removeTgppGgsnMccMnc
void removeTgppGgsnMccMnc()
Removes the TGPP-GGSN-MCC-MNC AVP from the PS-Information AVP. If the TGPP-GGSN-MCC-MNC AVP is not present, this method returns silently.
-
hasTgppNsapi
boolean hasTgppNsapi()
Returns true if the TGPP-NSAPI AVP is present in the PS-Information AVP.
-
getTgppNsapi
byte[] getTgppNsapi()
Returns the value of the TGPP-NSAPI AVP, of type OctetString.- Returns:
- the value of the TGPP-NSAPI AVP, or null if it has not been set.
-
setTgppNsapi
void setTgppNsapi(byte[] tgppNsapi)
Sets the value of the TGPP-NSAPI AVP, of type OctetString.- Throws:
NullPointerException- iftgppNsapiisnull.
-
removeTgppNsapi
void removeTgppNsapi()
Removes the TGPP-NSAPI AVP from the PS-Information AVP. If the TGPP-NSAPI AVP is not present, this method returns silently.
-
hasCalledStationId
boolean hasCalledStationId()
Returns true if the Called-Station-Id AVP is present in the PS-Information AVP.
-
getCalledStationId
String getCalledStationId()
Returns the value of the Called-Station-Id AVP, of type UTF8String.- Returns:
- the value of the Called-Station-Id AVP, or null if it has not been set.
-
setCalledStationId
void setCalledStationId(String calledStationId)
Sets the value of the Called-Station-Id AVP, of type UTF8String.- Throws:
NullPointerException- ifcalledStationIdisnull.
-
removeCalledStationId
void removeCalledStationId()
Removes the Called-Station-Id AVP from the PS-Information AVP. If the Called-Station-Id AVP is not present, this method returns silently.
-
hasTgppSessionStopIndicator
boolean hasTgppSessionStopIndicator()
Returns true if the TGPP-Session-Stop-Indicator AVP is present in the PS-Information AVP.
-
getTgppSessionStopIndicator
byte[] getTgppSessionStopIndicator()
Returns the value of the TGPP-Session-Stop-Indicator AVP, of type OctetString.- Returns:
- the value of the TGPP-Session-Stop-Indicator AVP, or null if it has not been set.
-
setTgppSessionStopIndicator
void setTgppSessionStopIndicator(byte[] tgppSessionStopIndicator)
Sets the value of the TGPP-Session-Stop-Indicator AVP, of type OctetString.- Throws:
NullPointerException- iftgppSessionStopIndicatorisnull.
-
removeTgppSessionStopIndicator
void removeTgppSessionStopIndicator()
Removes the TGPP-Session-Stop-Indicator AVP from the PS-Information AVP. If the TGPP-Session-Stop-Indicator AVP is not present, this method returns silently.
-
hasTgppSelectionMode
boolean hasTgppSelectionMode()
Returns true if the TGPP-Selection-Mode AVP is present in the PS-Information AVP.
-
getTgppSelectionMode
String getTgppSelectionMode()
Returns the value of the TGPP-Selection-Mode AVP, of type UTF8String.- Returns:
- the value of the TGPP-Selection-Mode AVP, or null if it has not been set.
-
setTgppSelectionMode
void setTgppSelectionMode(String tgppSelectionMode)
Sets the value of the TGPP-Selection-Mode AVP, of type UTF8String.- Throws:
NullPointerException- iftgppSelectionModeisnull.
-
removeTgppSelectionMode
void removeTgppSelectionMode()
Removes the TGPP-Selection-Mode AVP from the PS-Information AVP. If the TGPP-Selection-Mode AVP is not present, this method returns silently.
-
hasTgppChargingCharacteristics
boolean hasTgppChargingCharacteristics()
Returns true if the TGPP-Charging-Characteristics AVP is present in the PS-Information AVP.
-
getTgppChargingCharacteristics
String getTgppChargingCharacteristics()
Returns the value of the TGPP-Charging-Characteristics AVP, of type UTF8String.- Returns:
- the value of the TGPP-Charging-Characteristics AVP, or null if it has not been set.
-
setTgppChargingCharacteristics
void setTgppChargingCharacteristics(String tgppChargingCharacteristics)
Sets the value of the TGPP-Charging-Characteristics AVP, of type UTF8String.- Throws:
NullPointerException- iftgppChargingCharacteristicsisnull.
-
removeTgppChargingCharacteristics
void removeTgppChargingCharacteristics()
Removes the TGPP-Charging-Characteristics AVP from the PS-Information AVP. If the TGPP-Charging-Characteristics AVP is not present, this method returns silently.
-
hasChargingCharacteristicsSelectionMode
boolean hasChargingCharacteristicsSelectionMode()
Returns true if the Charging-Characteristics-Selection-Mode AVP is present in the PS-Information AVP.
-
getChargingCharacteristicsSelectionMode
ChargingCharacteristicsSelectionMode getChargingCharacteristicsSelectionMode()
Returns the value of the Charging-Characteristics-Selection-Mode AVP, of type Enumerated.- Returns:
- the value of the Charging-Characteristics-Selection-Mode AVP, or null if it has not been set.
-
setChargingCharacteristicsSelectionMode
void setChargingCharacteristicsSelectionMode(ChargingCharacteristicsSelectionMode chargingCharacteristicsSelectionMode)
Sets the value of the Charging-Characteristics-Selection-Mode AVP, of type Enumerated.- Throws:
NullPointerException- ifchargingCharacteristicsSelectionModeisnull.
-
removeChargingCharacteristicsSelectionMode
void removeChargingCharacteristicsSelectionMode()
Removes the Charging-Characteristics-Selection-Mode AVP from the PS-Information AVP. If the Charging-Characteristics-Selection-Mode AVP is not present, this method returns silently.
-
hasTgppSgsnMccMnc
boolean hasTgppSgsnMccMnc()
Returns true if the TGPP-SGSN-MCC-MNC AVP is present in the PS-Information AVP.
-
getTgppSgsnMccMnc
String getTgppSgsnMccMnc()
Returns the value of the TGPP-SGSN-MCC-MNC AVP, of type UTF8String.- Returns:
- the value of the TGPP-SGSN-MCC-MNC AVP, or null if it has not been set.
-
setTgppSgsnMccMnc
void setTgppSgsnMccMnc(String tgppSgsnMccMnc)
Sets the value of the TGPP-SGSN-MCC-MNC AVP, of type UTF8String.- Throws:
NullPointerException- iftgppSgsnMccMncisnull.
-
removeTgppSgsnMccMnc
void removeTgppSgsnMccMnc()
Removes the TGPP-SGSN-MCC-MNC AVP from the PS-Information AVP. If the TGPP-SGSN-MCC-MNC AVP is not present, this method returns silently.
-
hasTgppMsTimezone
boolean hasTgppMsTimezone()
Returns true if the TGPP-MS-TimeZone AVP is present in the PS-Information AVP.
-
getTgppMsTimezone
byte[] getTgppMsTimezone()
Returns the value of the TGPP-MS-TimeZone AVP, of type OctetString.- Returns:
- the value of the TGPP-MS-TimeZone AVP, or null if it has not been set.
-
setTgppMsTimezone
void setTgppMsTimezone(byte[] tgppMsTimezone)
Sets the value of the TGPP-MS-TimeZone AVP, of type OctetString.- Throws:
NullPointerException- iftgppMsTimezoneisnull.
-
removeTgppMsTimezone
void removeTgppMsTimezone()
Removes the TGPP-MS-TimeZone AVP from the PS-Information AVP. If the TGPP-MS-TimeZone AVP is not present, this method returns silently.
-
hasChargingRuleBaseName
boolean hasChargingRuleBaseName()
Returns true if the Charging-Rule-Base-Name AVP is present in the PS-Information AVP.
-
getChargingRuleBaseName
byte[] getChargingRuleBaseName()
Returns the value of the Charging-Rule-Base-Name AVP, of type OctetString.- Returns:
- the value of the Charging-Rule-Base-Name AVP, or null if it has not been set.
-
setChargingRuleBaseName
void setChargingRuleBaseName(byte[] chargingRuleBaseName)
Sets the value of the Charging-Rule-Base-Name AVP, of type OctetString.- Throws:
NullPointerException- ifchargingRuleBaseNameisnull.
-
removeChargingRuleBaseName
void removeChargingRuleBaseName()
Removes the Charging-Rule-Base-Name AVP from the PS-Information AVP. If the Charging-Rule-Base-Name AVP is not present, this method returns silently.
-
hasTgppUserLocationInfo
boolean hasTgppUserLocationInfo()
Returns true if the TGPP-User-Location-Info AVP is present in the PS-Information AVP.
-
getTgppUserLocationInfo
byte[] getTgppUserLocationInfo()
Returns the value of the TGPP-User-Location-Info AVP, of type OctetString.- Returns:
- the value of the TGPP-User-Location-Info AVP, or null if it has not been set.
-
setTgppUserLocationInfo
void setTgppUserLocationInfo(byte[] tgppUserLocationInfo)
Sets the value of the TGPP-User-Location-Info AVP, of type OctetString.- Throws:
NullPointerException- iftgppUserLocationInfoisnull.
-
removeTgppUserLocationInfo
void removeTgppUserLocationInfo()
Removes the TGPP-User-Location-Info AVP from the PS-Information AVP. If the TGPP-User-Location-Info AVP is not present, this method returns silently.
-
hasUserCsgInformation
boolean hasUserCsgInformation()
Returns true if the User-CSG-Information AVP is present in the PS-Information AVP.
-
getUserCsgInformation
UserCsgInformation getUserCsgInformation()
Returns the value of the User-CSG-Information AVP, of type Grouped.- Returns:
- the value of the User-CSG-Information AVP, or null if it has not been set.
-
setUserCsgInformation
void setUserCsgInformation(UserCsgInformation userCsgInformation)
Sets the value of the User-CSG-Information AVP, of type Grouped.- Throws:
NullPointerException- ifuserCsgInformationisnull.
-
removeUserCsgInformation
void removeUserCsgInformation()
Removes the User-CSG-Information AVP from the PS-Information AVP. If the User-CSG-Information AVP is not present, this method returns silently.
-
hasTgpp2Bsid
boolean hasTgpp2Bsid()
Returns true if the TGPP2-BSID AVP is present in the PS-Information AVP.
-
getTgpp2Bsid
String getTgpp2Bsid()
Returns the value of the TGPP2-BSID AVP, of type UTF8String.- Returns:
- the value of the TGPP2-BSID AVP, or null if it has not been set.
-
setTgpp2Bsid
void setTgpp2Bsid(String tgpp2Bsid)
Sets the value of the TGPP2-BSID AVP, of type UTF8String.- Throws:
NullPointerException- iftgpp2Bsidisnull.
-
removeTgpp2Bsid
void removeTgpp2Bsid()
Removes the TGPP2-BSID AVP from the PS-Information AVP. If the TGPP2-BSID AVP is not present, this method returns silently.
-
hasTgppRatType
boolean hasTgppRatType()
Returns true if the TGPP-RAT-Type AVP is present in the PS-Information AVP.
-
getTgppRatType
byte[] getTgppRatType()
Returns the value of the TGPP-RAT-Type AVP, of type OctetString.- Returns:
- the value of the TGPP-RAT-Type AVP, or null if it has not been set.
-
setTgppRatType
void setTgppRatType(byte[] tgppRatType)
Sets the value of the TGPP-RAT-Type AVP, of type OctetString.- Throws:
NullPointerException- iftgppRatTypeisnull.
-
removeTgppRatType
void removeTgppRatType()
Removes the TGPP-RAT-Type AVP from the PS-Information AVP. If the TGPP-RAT-Type AVP is not present, this method returns silently.
-
hasPsFurnishChargingInformation
boolean hasPsFurnishChargingInformation()
Returns true if the PS-Furnish-Charging-Information AVP is present in the PS-Information AVP.
-
getPsFurnishChargingInformation
PsFurnishChargingInformation getPsFurnishChargingInformation()
Returns the value of the PS-Furnish-Charging-Information AVP, of type Grouped.- Returns:
- the value of the PS-Furnish-Charging-Information AVP, or null if it has not been set.
-
setPsFurnishChargingInformation
void setPsFurnishChargingInformation(PsFurnishChargingInformation psFurnishChargingInformation)
Sets the value of the PS-Furnish-Charging-Information AVP, of type Grouped.- Throws:
NullPointerException- ifpsFurnishChargingInformationisnull.
-
removePsFurnishChargingInformation
void removePsFurnishChargingInformation()
Removes the PS-Furnish-Charging-Information AVP from the PS-Information AVP. If the PS-Furnish-Charging-Information AVP is not present, this method returns silently.
-
hasPdpContextType
boolean hasPdpContextType()
Returns true if the PDP-Context-Type AVP is present in the PS-Information AVP.
-
getPdpContextType
PdpContextType getPdpContextType()
Returns the value of the PDP-Context-Type AVP, of type Enumerated.- Returns:
- the value of the PDP-Context-Type AVP, or null if it has not been set.
-
setPdpContextType
void setPdpContextType(PdpContextType pdpContextType)
Sets the value of the PDP-Context-Type AVP, of type Enumerated.- Throws:
NullPointerException- ifpdpContextTypeisnull.
-
removePdpContextType
void removePdpContextType()
Removes the PDP-Context-Type AVP from the PS-Information AVP. If the PDP-Context-Type AVP is not present, this method returns silently.
-
hasOfflineCharging
boolean hasOfflineCharging()
Returns true if the Offline-Charging AVP is present in the PS-Information AVP.
-
getOfflineCharging
OfflineCharging getOfflineCharging()
Returns the value of the Offline-Charging AVP, of type Grouped.- Returns:
- the value of the Offline-Charging AVP, or null if it has not been set.
-
setOfflineCharging
void setOfflineCharging(OfflineCharging offlineCharging)
Sets the value of the Offline-Charging AVP, of type Grouped.- Throws:
NullPointerException- ifofflineChargingisnull.
-
removeOfflineCharging
void removeOfflineCharging()
Removes the Offline-Charging AVP from the PS-Information AVP. If the Offline-Charging AVP is not present, this method returns silently.
-
getTrafficDataVolumeses
TrafficDataVolumes[] getTrafficDataVolumeses()
Returns the set of Traffic-Data-Volumes AVPs. The returned array contains the AVPs in the order they appear in the PS-Information AVP. A return value of null implies that no Traffic-Data-Volumes AVPs have been set. The elements in the given array are TrafficDataVolumes objects.
-
setTrafficDataVolumes
void setTrafficDataVolumes(TrafficDataVolumes trafficDataVolumes)
Sets a single Traffic-Data-Volumes AVP in the PS-Information AVP, of type Grouped.- Throws:
NullPointerException- iftrafficDataVolumesisnull.
-
setTrafficDataVolumeses
void setTrafficDataVolumeses(TrafficDataVolumes[] trafficDataVolumeses)
Sets the set of Traffic-Data-Volumes AVPs, with all the values in the given array. The AVPs will be added to the PS-Information AVP in the order in which they appear in the array. Note: the array must not be altered by the caller following this call, and getTrafficDataVolumeses() is not guaranteed to return the same array instance, e.g. an "==" check would fail.- Throws:
NullPointerException- iftrafficDataVolumesesisnull.
-
removeTrafficDataVolumeses
void removeTrafficDataVolumeses()
Removes all Traffic-Data-Volumes AVPs from the PS-Information AVP. If no Traffic-Data-Volumes AVPs are present, this method returns silently.
-
getServiceDataContainers
ServiceDataContainer[] getServiceDataContainers()
Returns the set of Service-Data-Container AVPs. The returned array contains the AVPs in the order they appear in the PS-Information AVP. A return value of null implies that no Service-Data-Container AVPs have been set. The elements in the given array are ServiceDataContainer objects.
-
setServiceDataContainer
void setServiceDataContainer(ServiceDataContainer serviceDataContainer)
Sets a single Service-Data-Container AVP in the PS-Information AVP, of type Grouped.- Throws:
NullPointerException- ifserviceDataContainerisnull.
-
setServiceDataContainers
void setServiceDataContainers(ServiceDataContainer[] serviceDataContainers)
Sets the set of Service-Data-Container AVPs, with all the values in the given array. The AVPs will be added to the PS-Information AVP in the order in which they appear in the array. Note: the array must not be altered by the caller following this call, and getServiceDataContainers() is not guaranteed to return the same array instance, e.g. an "==" check would fail.- Throws:
NullPointerException- ifserviceDataContainersisnull.
-
removeServiceDataContainers
void removeServiceDataContainers()
Removes all Service-Data-Container AVPs from the PS-Information AVP. If no Service-Data-Container AVPs are present, this method returns silently.
-
hasUserEquipmentInfo
boolean hasUserEquipmentInfo()
Returns true if the User-Equipment-Info AVP is present in the PS-Information AVP.
-
getUserEquipmentInfo
UserEquipmentInfo getUserEquipmentInfo()
Returns the value of the User-Equipment-Info AVP, of type Grouped.- Returns:
- the value of the User-Equipment-Info AVP, or null if it has not been set.
-
setUserEquipmentInfo
void setUserEquipmentInfo(UserEquipmentInfo userEquipmentInfo)
Sets the value of the User-Equipment-Info AVP, of type Grouped.- Throws:
NullPointerException- ifuserEquipmentInfoisnull.
-
removeUserEquipmentInfo
void removeUserEquipmentInfo()
Removes the User-Equipment-Info AVP from the PS-Information AVP. If the User-Equipment-Info AVP is not present, this method returns silently.
-
hasTerminalInformation
boolean hasTerminalInformation()
Returns true if the Terminal-Information AVP is present in the PS-Information AVP.
-
getTerminalInformation
TerminalInformation getTerminalInformation()
Returns the value of the Terminal-Information AVP, of type Grouped.- Returns:
- the value of the Terminal-Information AVP, or null if it has not been set.
-
setTerminalInformation
void setTerminalInformation(TerminalInformation terminalInformation)
Sets the value of the Terminal-Information AVP, of type Grouped.- Throws:
NullPointerException- ifterminalInformationisnull.
-
removeTerminalInformation
void removeTerminalInformation()
Removes the Terminal-Information AVP from the PS-Information AVP. If the Terminal-Information AVP is not present, this method returns silently.
-
hasStartTime
boolean hasStartTime()
Returns true if the Start-Time AVP is present in the PS-Information AVP.
-
getStartTime
Date getStartTime()
Returns the value of the Start-Time AVP, of type Time.- Returns:
- the value of the Start-Time AVP, or null if it has not been set.
-
setStartTime
void setStartTime(Date startTime)
Sets the value of the Start-Time AVP, of type Time.- Throws:
NullPointerException- ifstartTimeisnull.
-
removeStartTime
void removeStartTime()
Removes the Start-Time AVP from the PS-Information AVP. If the Start-Time AVP is not present, this method returns silently.
-
hasStopTime
boolean hasStopTime()
Returns true if the Stop-Time AVP is present in the PS-Information AVP.
-
getStopTime
Date getStopTime()
Returns the value of the Stop-Time AVP, of type Time.- Returns:
- the value of the Stop-Time AVP, or null if it has not been set.
-
setStopTime
void setStopTime(Date stopTime)
Sets the value of the Stop-Time AVP, of type Time.- Throws:
NullPointerException- ifstopTimeisnull.
-
removeStopTime
void removeStopTime()
Removes the Stop-Time AVP from the PS-Information AVP. If the Stop-Time AVP is not present, this method returns silently.
-
hasChangeCondition
boolean hasChangeCondition()
Returns true if the Change-Condition AVP is present in the PS-Information AVP.
-
getChangeCondition
int getChangeCondition()
Returns the value of the Change-Condition AVP, of type Integer32. UsehasChangeCondition()to check the existence of this AVP.- Returns:
- the value of the Change-Condition AVP
- Throws:
IllegalStateException- if the Change-Condition AVP has not been set.
-
setChangeCondition
void setChangeCondition(int changeCondition)
Sets the value of the Change-Condition AVP, of type Integer32.
-
removeChangeCondition
void removeChangeCondition()
Removes the Change-Condition AVP from the PS-Information AVP. If the Change-Condition AVP is not present, this method returns silently.
-
hasDiagnostics
boolean hasDiagnostics()
Returns true if the Diagnostics AVP is present in the PS-Information AVP.
-
getDiagnostics
int getDiagnostics()
Returns the value of the Diagnostics AVP, of type Integer32. UsehasDiagnostics()to check the existence of this AVP.- Returns:
- the value of the Diagnostics AVP
- Throws:
IllegalStateException- if the Diagnostics AVP has not been set.
-
setDiagnostics
void setDiagnostics(int diagnostics)
Sets the value of the Diagnostics AVP, of type Integer32.
-
removeDiagnostics
void removeDiagnostics()
Removes the Diagnostics AVP from the PS-Information AVP. If the Diagnostics AVP is not present, this method returns silently.
-
getExtensionAvps
DiameterAvp[] getExtensionAvps()
Returns the set of extension AVPs. The returned array contains the extension AVPs in the order they appear in the PS-Information AVP. A return value of null implies that no extensions AVPs have been set.
-
setExtensionAvps
void setExtensionAvps(DiameterAvp[] avps) throws AvpNotAllowedException
Sets the set of extension AVPs with all the values in the given array. The AVPs will be added to PS-Information AVP in the order in which they appear in the array. Note: the array must not be altered by the caller following this call, and getExtensionAvps() is not guaranteed to return the same array instance, e.g. an "==" check would fail.- Throws:
AvpNotAllowedException- if an AVP is encountered of a type already known to this class (i.e. an AVP for which get/set methods already appear in this class)NullPointerException- ifavpsisnull.
-
removeExtensionAvps
void removeExtensionAvps()
Removes all extension AVPs from the PS-Information AVP. If no extension AVPs are present, this method returns silently.
-
-