public interface CreditControlAnswer extends CreditControlMessage
5.6.3 Credit-Control-Answer (CCA) Command The CCA command, indicated by the Command-Code field set to 272 and the 'R' bit cleared in the Command Flags field, is sent by the PCRF to the PCEF in response to the CCR command. It is used to provision PCC rules and event triggers for the bearer/session and to provide the selected bearer control mode for the IP-CAN session. If the PCRF performs the bearer binding, PCC rules will be provisioned at bearer level. The primary and secondary CCF and/or primary and secondary OCS addresses may be included in the initial provisioning. Message Format: <Credit-Control-Answer> ::= < Diameter Header: 272, PXY > < Session-Id > { Auth-Application-Id } { Origin-Host } { Origin-Realm } [ Result-Code ] [ Experimental-Result ] { CC-Request-Type } { CC-Request-Number } *[ Supported-Features ] [ Bearer-Control-Mode ] *[ Event-Trigger ] [ Event-Report-Indication ] [ Origin-State-Id ] *[ Redirect-Host ] [ Redirect-Host-Usage ] [ Redirect-Max-Cache-Time ] *[ Charging-Rule-Remove ] *[ Charging-Rule-Install ] [ Charging-Information ] [ Online ] [ Offline ] *[ QoS-Information ] [ Revalidation-Time ] [ Default-EPS-Bearer-QoS ] [ Bearer-Usage ] *[ Usage-Monitoring-Information ] *[ CSG-Information-Reporting ] [ User-CSG-Information ] [ Error-Message ] [ Error-Reporting-Host ] *[ Failed-AVP ] *[ Proxy-Info ] *[ Route-Record ] *[ AVP ]
Modifier and Type | Field and Description |
---|---|
static int |
commandCode |
Modifier and Type | Method and Description |
---|---|
long |
getAuthApplicationId()
Returns the value of the Auth-Application-Id AVP, of type Unsigned32.
|
BearerControlMode |
getBearerControlMode()
Returns the value of the Bearer-Control-Mode AVP, of type Enumerated.
|
BearerUsage |
getBearerUsage()
Returns the value of the Bearer-Usage AVP, of type Enumerated.
|
long |
getCcRequestNumber()
Returns the value of the CC-Request-Number AVP, of type Unsigned32.
|
CcRequestType |
getCcRequestType()
Returns the value of the CC-Request-Type AVP, of type Enumerated.
|
ChargingInformation |
getChargingInformation()
Returns the value of the Charging-Information AVP, of type Grouped.
|
ChargingRuleInstall[] |
getChargingRuleInstalls()
Returns the set of Charging-Rule-Install AVPs.
|
ChargingRuleRemove[] |
getChargingRuleRemoves()
Returns the set of Charging-Rule-Remove AVPs.
|
CsgInformationReporting[] |
getCsgInformationReportings()
Returns the set of CSG-Information-Reporting AVPs.
|
DefaultEpsBearerQos |
getDefaultEpsBearerQos()
Returns the value of the Default-EPS-Bearer-QoS AVP, of type Grouped.
|
java.lang.String |
getErrorMessage()
Returns the value of the Error-Message AVP, of type UTF8String.
|
DiameterIdentity |
getErrorReportingHost()
Returns the value of the Error-Reporting-Host AVP, of type DiameterIdentity.
|
EventReportIndication |
getEventReportIndication()
Returns the value of the Event-Report-Indication AVP, of type Grouped.
|
EventTrigger[] |
getEventTriggers()
Returns the set of Event-Trigger AVPs.
|
ExperimentalResult |
getExperimentalResult()
Returns the value of the Experimental-Result AVP, of type Grouped.
|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
FailedAvp[] |
getFailedAvps()
Returns the set of Failed-AVP AVPs.
|
Offline |
getOffline()
Returns the value of the Offline AVP, of type Enumerated.
|
Online |
getOnline()
Returns the value of the Online AVP, of type Enumerated.
|
DiameterIdentity |
getOriginHost()
Returns the value of the Origin-Host AVP, of type DiameterIdentity.
|
DiameterIdentity |
getOriginRealm()
Returns the value of the Origin-Realm AVP, of type DiameterIdentity.
|
long |
getOriginStateId()
Returns the value of the Origin-State-Id AVP, of type Unsigned32.
|
ProxyInfo[] |
getProxyInfos()
Returns the set of Proxy-Info AVPs.
|
QosInformation[] |
getQosInformations()
Returns the set of QoS-Information AVPs.
|
DiameterURI[] |
getRedirectHosts()
Returns the set of Redirect-Host AVPs.
|
RedirectHostUsage |
getRedirectHostUsage()
Returns the value of the Redirect-Host-Usage AVP, of type Enumerated.
|
long |
getRedirectMaxCacheTime()
Returns the value of the Redirect-Max-Cache-Time AVP, of type Unsigned32.
|
long |
getResultCode()
Returns the value of the Result-Code AVP, of type Unsigned32.
|
java.util.Date |
getRevalidationTime()
Returns the value of the Revalidation-Time AVP, of type Time.
|
DiameterIdentity[] |
getRouteRecords()
Returns the set of Route-Record AVPs.
|
java.lang.String |
getSessionId()
Returns the value of the Session-Id AVP, of type UTF8String.
|
SupportedFeatures[] |
getSupportedFeatureses()
Returns the set of Supported-Features AVPs.
|
UsageMonitoringInformation[] |
getUsageMonitoringInformations()
Returns the set of Usage-Monitoring-Information AVPs.
|
UserCsgInformation |
getUserCsgInformation()
Returns the value of the User-CSG-Information AVP, of type Grouped.
|
boolean |
hasAuthApplicationId()
Returns true if the Auth-Application-Id AVP is present in the message.
|
boolean |
hasBearerControlMode()
Returns true if the Bearer-Control-Mode AVP is present in the message.
|
boolean |
hasBearerUsage()
Returns true if the Bearer-Usage AVP is present in the message.
|
boolean |
hasCcRequestNumber()
Returns true if the CC-Request-Number AVP is present in the message.
|
boolean |
hasCcRequestType()
Returns true if the CC-Request-Type AVP is present in the message.
|
boolean |
hasChargingInformation()
Returns true if the Charging-Information AVP is present in the message.
|
boolean |
hasDefaultEpsBearerQos()
Returns true if the Default-EPS-Bearer-QoS AVP is present in the message.
|
boolean |
hasErrorMessage()
Returns true if the Error-Message AVP is present in the message.
|
boolean |
hasErrorReportingHost()
Returns true if the Error-Reporting-Host AVP is present in the message.
|
boolean |
hasEventReportIndication()
Returns true if the Event-Report-Indication AVP is present in the message.
|
boolean |
hasExperimentalResult()
Returns true if the Experimental-Result AVP is present in the message.
|
boolean |
hasOffline()
Returns true if the Offline AVP is present in the message.
|
boolean |
hasOnline()
Returns true if the Online AVP is present in the message.
|
boolean |
hasOriginHost()
Returns true if the Origin-Host AVP is present in the message.
|
boolean |
hasOriginRealm()
Returns true if the Origin-Realm AVP is present in the message.
|
boolean |
hasOriginStateId()
Returns true if the Origin-State-Id AVP is present in the message.
|
boolean |
hasRedirectHostUsage()
Returns true if the Redirect-Host-Usage AVP is present in the message.
|
boolean |
hasRedirectMaxCacheTime()
Returns true if the Redirect-Max-Cache-Time AVP is present in the message.
|
boolean |
hasResultCode()
Returns true if the Result-Code AVP is present in the message.
|
boolean |
hasRevalidationTime()
Returns true if the Revalidation-Time AVP is present in the message.
|
boolean |
hasSessionId()
Returns true if the Session-Id AVP is present in the message.
|
boolean |
hasUserCsgInformation()
Returns true if the User-CSG-Information AVP is present in the message.
|
void |
removeAuthApplicationId()
Removes the Auth-Application-Id AVP from the message.
|
void |
removeBearerControlMode()
Removes the Bearer-Control-Mode AVP from the message.
|
void |
removeBearerUsage()
Removes the Bearer-Usage AVP from the message.
|
void |
removeCcRequestNumber()
Removes the CC-Request-Number AVP from the message.
|
void |
removeCcRequestType()
Removes the CC-Request-Type AVP from the message.
|
void |
removeChargingInformation()
Removes the Charging-Information AVP from the message.
|
void |
removeChargingRuleInstalls()
Removes all Charging-Rule-Install AVPs from the message.
|
void |
removeChargingRuleRemoves()
Removes all Charging-Rule-Remove AVPs from the message.
|
void |
removeCsgInformationReportings()
Removes all CSG-Information-Reporting AVPs from the message.
|
void |
removeDefaultEpsBearerQos()
Removes the Default-EPS-Bearer-QoS AVP from the message.
|
void |
removeErrorMessage()
Removes the Error-Message AVP from the message.
|
void |
removeErrorReportingHost()
Removes the Error-Reporting-Host AVP from the message.
|
void |
removeEventReportIndication()
Removes the Event-Report-Indication AVP from the message.
|
void |
removeEventTriggers()
Removes all Event-Trigger AVPs from the message.
|
void |
removeExperimentalResult()
Removes the Experimental-Result AVP from the message.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the message.
|
void |
removeFailedAvps()
Removes all Failed-AVP AVPs from the message.
|
void |
removeOffline()
Removes the Offline AVP from the message.
|
void |
removeOnline()
Removes the Online AVP from the message.
|
void |
removeOriginHost()
Removes the Origin-Host AVP from the message.
|
void |
removeOriginRealm()
Removes the Origin-Realm AVP from the message.
|
void |
removeOriginStateId()
Removes the Origin-State-Id AVP from the message.
|
void |
removeProxyInfos()
Removes all Proxy-Info AVPs from the message.
|
void |
removeQosInformations()
Removes all QoS-Information AVPs from the message.
|
void |
removeRedirectHosts()
Removes all Redirect-Host AVPs from the message.
|
void |
removeRedirectHostUsage()
Removes the Redirect-Host-Usage AVP from the message.
|
void |
removeRedirectMaxCacheTime()
Removes the Redirect-Max-Cache-Time AVP from the message.
|
void |
removeResultCode()
Removes the Result-Code AVP from the message.
|
void |
removeRevalidationTime()
Removes the Revalidation-Time AVP from the message.
|
void |
removeRouteRecords()
Removes all Route-Record AVPs from the message.
|
void |
removeSessionId()
Removes the Session-Id AVP from the message.
|
void |
removeSupportedFeatureses()
Removes all Supported-Features AVPs from the message.
|
void |
removeUsageMonitoringInformations()
Removes all Usage-Monitoring-Information AVPs from the message.
|
void |
removeUserCsgInformation()
Removes the User-CSG-Information AVP from the message.
|
void |
setAuthApplicationId(long authApplicationId)
Sets the value of the Auth-Application-Id AVP, of type Unsigned32.
|
void |
setBearerControlMode(BearerControlMode bearerControlMode)
Sets the value of the Bearer-Control-Mode AVP, of type Enumerated.
|
void |
setBearerUsage(BearerUsage bearerUsage)
Sets the value of the Bearer-Usage AVP, of type Enumerated.
|
void |
setCcRequestNumber(long ccRequestNumber)
Sets the value of the CC-Request-Number AVP, of type Unsigned32.
|
void |
setCcRequestType(CcRequestType ccRequestType)
Sets the value of the CC-Request-Type AVP, of type Enumerated.
|
void |
setChargingInformation(ChargingInformation chargingInformation)
Sets the value of the Charging-Information AVP, of type Grouped.
|
void |
setChargingRuleInstall(ChargingRuleInstall chargingRuleInstall)
Sets a single Charging-Rule-Install AVP in the message, of type Grouped.
|
void |
setChargingRuleInstalls(ChargingRuleInstall[] chargingRuleInstalls)
Sets the set of Charging-Rule-Install AVPs, with all the values in the given array.
|
void |
setChargingRuleRemove(ChargingRuleRemove chargingRuleRemove)
Sets a single Charging-Rule-Remove AVP in the message, of type Grouped.
|
void |
setChargingRuleRemoves(ChargingRuleRemove[] chargingRuleRemoves)
Sets the set of Charging-Rule-Remove AVPs, with all the values in the given array.
|
void |
setCsgInformationReporting(CsgInformationReporting csgInformationReporting)
Sets a single CSG-Information-Reporting AVP in the message, of type Enumerated.
|
void |
setCsgInformationReportings(CsgInformationReporting[] csgInformationReportings)
Sets the set of CSG-Information-Reporting AVPs, with all the values in the given array.
|
void |
setDefaultEpsBearerQos(DefaultEpsBearerQos defaultEpsBearerQos)
Sets the value of the Default-EPS-Bearer-QoS AVP, of type Grouped.
|
void |
setErrorMessage(java.lang.String errorMessage)
Sets the value of the Error-Message AVP, of type UTF8String.
|
void |
setErrorReportingHost(DiameterIdentity errorReportingHost)
Sets the value of the Error-Reporting-Host AVP, of type DiameterIdentity.
|
void |
setEventReportIndication(EventReportIndication eventReportIndication)
Sets the value of the Event-Report-Indication AVP, of type Grouped.
|
void |
setEventTrigger(EventTrigger eventTrigger)
Sets a single Event-Trigger AVP in the message, of type Enumerated.
|
void |
setEventTriggers(EventTrigger[] eventTriggers)
Sets the set of Event-Trigger AVPs, with all the values in the given array.
|
void |
setExperimentalResult(ExperimentalResult experimentalResult)
Sets the value of the Experimental-Result AVP, of type Grouped.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setFailedAvp(FailedAvp failedAvp)
Sets a single Failed-AVP AVP in the message, of type Grouped.
|
void |
setFailedAvps(FailedAvp[] failedAvps)
Sets the set of Failed-AVP AVPs, with all the values in the given array.
|
void |
setOffline(Offline offline)
Sets the value of the Offline AVP, of type Enumerated.
|
void |
setOnline(Online online)
Sets the value of the Online AVP, of type Enumerated.
|
void |
setOriginHost(DiameterIdentity originHost)
Sets the value of the Origin-Host AVP, of type DiameterIdentity.
|
void |
setOriginRealm(DiameterIdentity originRealm)
Sets the value of the Origin-Realm AVP, of type DiameterIdentity.
|
void |
setOriginStateId(long originStateId)
Sets the value of the Origin-State-Id AVP, of type Unsigned32.
|
void |
setProxyInfo(ProxyInfo proxyInfo)
Sets a single Proxy-Info AVP in the message, of type Grouped.
|
void |
setProxyInfos(ProxyInfo[] proxyInfos)
Sets the set of Proxy-Info AVPs, with all the values in the given array.
|
void |
setQosInformation(QosInformation qosInformation)
Sets a single QoS-Information AVP in the message, of type Grouped.
|
void |
setQosInformations(QosInformation[] qosInformations)
Sets the set of QoS-Information AVPs, with all the values in the given array.
|
void |
setRedirectHost(DiameterURI redirectHost)
Sets a single Redirect-Host AVP in the message, of type DiameterURI.
|
void |
setRedirectHosts(DiameterURI[] redirectHosts)
Sets the set of Redirect-Host AVPs, with all the values in the given array.
|
void |
setRedirectHostUsage(RedirectHostUsage redirectHostUsage)
Sets the value of the Redirect-Host-Usage AVP, of type Enumerated.
|
void |
setRedirectMaxCacheTime(long redirectMaxCacheTime)
Sets the value of the Redirect-Max-Cache-Time AVP, of type Unsigned32.
|
void |
setResultCode(long resultCode)
Sets the value of the Result-Code AVP, of type Unsigned32.
|
void |
setRevalidationTime(java.util.Date revalidationTime)
Sets the value of the Revalidation-Time AVP, of type Time.
|
void |
setRouteRecord(DiameterIdentity routeRecord)
Sets a single Route-Record AVP in the message, of type DiameterIdentity.
|
void |
setRouteRecords(DiameterIdentity[] routeRecords)
Sets the set of Route-Record AVPs, with all the values in the given array.
|
void |
setSessionId(java.lang.String sessionId)
Sets the value of the Session-Id AVP, of type UTF8String.
|
void |
setSupportedFeatures(SupportedFeatures supportedFeatures)
Sets a single Supported-Features AVP in the message, of type Grouped.
|
void |
setSupportedFeatureses(SupportedFeatures[] supportedFeatureses)
Sets the set of Supported-Features AVPs, with all the values in the given array.
|
void |
setUsageMonitoringInformation(UsageMonitoringInformation usageMonitoringInformation)
Sets a single Usage-Monitoring-Information AVP in the message, of type Grouped.
|
void |
setUsageMonitoringInformations(UsageMonitoringInformation[] usageMonitoringInformations)
Sets the set of Usage-Monitoring-Information AVPs, with all the values in the given array.
|
void |
setUserCsgInformation(UserCsgInformation userCsgInformation)
Sets the value of the User-CSG-Information AVP, of type Grouped.
|
clone, getAvps, getCommand, getDestinationHost, getDestinationRealm, getHeader, setDestinationHost, setDestinationRealm
static final int commandCode
boolean hasSessionId()
hasSessionId
in interface CreditControlMessage
java.lang.String getSessionId()
getSessionId
in interface CreditControlMessage
getSessionId
in interface DiameterMessage
void setSessionId(java.lang.String sessionId)
setSessionId
in interface CreditControlMessage
setSessionId
in interface DiameterMessage
java.lang.NullPointerException
- if sessionId
is null
.void removeSessionId()
boolean hasAuthApplicationId()
hasAuthApplicationId
in interface CreditControlMessage
long getAuthApplicationId()
hasAuthApplicationId()
to check the existence of this AVP.getAuthApplicationId
in interface CreditControlMessage
java.lang.IllegalStateException
- if the Auth-Application-Id AVP has not been set on this messagevoid setAuthApplicationId(long authApplicationId)
setAuthApplicationId
in interface CreditControlMessage
void removeAuthApplicationId()
boolean hasOriginHost()
hasOriginHost
in interface CreditControlMessage
DiameterIdentity getOriginHost()
getOriginHost
in interface CreditControlMessage
getOriginHost
in interface DiameterMessage
void setOriginHost(DiameterIdentity originHost)
setOriginHost
in interface CreditControlMessage
setOriginHost
in interface DiameterMessage
java.lang.NullPointerException
- if originHost
is null
.void removeOriginHost()
boolean hasOriginRealm()
hasOriginRealm
in interface CreditControlMessage
DiameterIdentity getOriginRealm()
getOriginRealm
in interface CreditControlMessage
getOriginRealm
in interface DiameterMessage
void setOriginRealm(DiameterIdentity originRealm)
setOriginRealm
in interface CreditControlMessage
setOriginRealm
in interface DiameterMessage
java.lang.NullPointerException
- if originRealm
is null
.void removeOriginRealm()
boolean hasResultCode()
long getResultCode()
hasResultCode()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Result-Code AVP has not been set on this messagevoid setResultCode(long resultCode)
void removeResultCode()
boolean hasExperimentalResult()
ExperimentalResult getExperimentalResult()
void setExperimentalResult(ExperimentalResult experimentalResult)
java.lang.NullPointerException
- if experimentalResult
is null
.void removeExperimentalResult()
boolean hasCcRequestType()
hasCcRequestType
in interface CreditControlMessage
CcRequestType getCcRequestType()
getCcRequestType
in interface CreditControlMessage
void setCcRequestType(CcRequestType ccRequestType)
setCcRequestType
in interface CreditControlMessage
java.lang.NullPointerException
- if ccRequestType
is null
.void removeCcRequestType()
boolean hasCcRequestNumber()
hasCcRequestNumber
in interface CreditControlMessage
long getCcRequestNumber()
hasCcRequestNumber()
to check the existence of this AVP.getCcRequestNumber
in interface CreditControlMessage
java.lang.IllegalStateException
- if the CC-Request-Number AVP has not been set on this messagevoid setCcRequestNumber(long ccRequestNumber)
setCcRequestNumber
in interface CreditControlMessage
void removeCcRequestNumber()
SupportedFeatures[] getSupportedFeatureses()
void setSupportedFeatures(SupportedFeatures supportedFeatures)
java.lang.NullPointerException
- if supportedFeatures
is null
.void setSupportedFeatureses(SupportedFeatures[] supportedFeatureses)
java.lang.NullPointerException
- if supportedFeatureses
is null
.void removeSupportedFeatureses()
boolean hasBearerControlMode()
BearerControlMode getBearerControlMode()
void setBearerControlMode(BearerControlMode bearerControlMode)
java.lang.NullPointerException
- if bearerControlMode
is null
.void removeBearerControlMode()
EventTrigger[] getEventTriggers()
void setEventTrigger(EventTrigger eventTrigger)
java.lang.NullPointerException
- if eventTrigger
is null
.void setEventTriggers(EventTrigger[] eventTriggers)
java.lang.NullPointerException
- if eventTriggers
is null
.void removeEventTriggers()
boolean hasEventReportIndication()
EventReportIndication getEventReportIndication()
void setEventReportIndication(EventReportIndication eventReportIndication)
java.lang.NullPointerException
- if eventReportIndication
is null
.void removeEventReportIndication()
boolean hasOriginStateId()
long getOriginStateId()
hasOriginStateId()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Origin-State-Id AVP has not been set on this messagevoid setOriginStateId(long originStateId)
void removeOriginStateId()
DiameterURI[] getRedirectHosts()
void setRedirectHost(DiameterURI redirectHost)
java.lang.NullPointerException
- if redirectHost
is null
.void setRedirectHosts(DiameterURI[] redirectHosts)
java.lang.NullPointerException
- if redirectHosts
is null
.void removeRedirectHosts()
boolean hasRedirectHostUsage()
RedirectHostUsage getRedirectHostUsage()
void setRedirectHostUsage(RedirectHostUsage redirectHostUsage)
java.lang.NullPointerException
- if redirectHostUsage
is null
.void removeRedirectHostUsage()
boolean hasRedirectMaxCacheTime()
long getRedirectMaxCacheTime()
hasRedirectMaxCacheTime()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Redirect-Max-Cache-Time AVP has not been set on this messagevoid setRedirectMaxCacheTime(long redirectMaxCacheTime)
void removeRedirectMaxCacheTime()
ChargingRuleRemove[] getChargingRuleRemoves()
void setChargingRuleRemove(ChargingRuleRemove chargingRuleRemove)
java.lang.NullPointerException
- if chargingRuleRemove
is null
.void setChargingRuleRemoves(ChargingRuleRemove[] chargingRuleRemoves)
java.lang.NullPointerException
- if chargingRuleRemoves
is null
.void removeChargingRuleRemoves()
ChargingRuleInstall[] getChargingRuleInstalls()
void setChargingRuleInstall(ChargingRuleInstall chargingRuleInstall)
java.lang.NullPointerException
- if chargingRuleInstall
is null
.void setChargingRuleInstalls(ChargingRuleInstall[] chargingRuleInstalls)
java.lang.NullPointerException
- if chargingRuleInstalls
is null
.void removeChargingRuleInstalls()
boolean hasChargingInformation()
ChargingInformation getChargingInformation()
void setChargingInformation(ChargingInformation chargingInformation)
java.lang.NullPointerException
- if chargingInformation
is null
.void removeChargingInformation()
boolean hasOnline()
Online getOnline()
void setOnline(Online online)
java.lang.NullPointerException
- if online
is null
.void removeOnline()
boolean hasOffline()
Offline getOffline()
void setOffline(Offline offline)
java.lang.NullPointerException
- if offline
is null
.void removeOffline()
QosInformation[] getQosInformations()
void setQosInformation(QosInformation qosInformation)
java.lang.NullPointerException
- if qosInformation
is null
.void setQosInformations(QosInformation[] qosInformations)
java.lang.NullPointerException
- if qosInformations
is null
.void removeQosInformations()
boolean hasRevalidationTime()
java.util.Date getRevalidationTime()
void setRevalidationTime(java.util.Date revalidationTime)
java.lang.NullPointerException
- if revalidationTime
is null
.void removeRevalidationTime()
boolean hasDefaultEpsBearerQos()
DefaultEpsBearerQos getDefaultEpsBearerQos()
void setDefaultEpsBearerQos(DefaultEpsBearerQos defaultEpsBearerQos)
java.lang.NullPointerException
- if defaultEpsBearerQos
is null
.void removeDefaultEpsBearerQos()
boolean hasBearerUsage()
BearerUsage getBearerUsage()
void setBearerUsage(BearerUsage bearerUsage)
java.lang.NullPointerException
- if bearerUsage
is null
.void removeBearerUsage()
UsageMonitoringInformation[] getUsageMonitoringInformations()
void setUsageMonitoringInformation(UsageMonitoringInformation usageMonitoringInformation)
java.lang.NullPointerException
- if usageMonitoringInformation
is null
.void setUsageMonitoringInformations(UsageMonitoringInformation[] usageMonitoringInformations)
java.lang.NullPointerException
- if usageMonitoringInformations
is null
.void removeUsageMonitoringInformations()
CsgInformationReporting[] getCsgInformationReportings()
void setCsgInformationReporting(CsgInformationReporting csgInformationReporting)
java.lang.NullPointerException
- if csgInformationReporting
is null
.void setCsgInformationReportings(CsgInformationReporting[] csgInformationReportings)
java.lang.NullPointerException
- if csgInformationReportings
is null
.void removeCsgInformationReportings()
boolean hasUserCsgInformation()
UserCsgInformation getUserCsgInformation()
void setUserCsgInformation(UserCsgInformation userCsgInformation)
java.lang.NullPointerException
- if userCsgInformation
is null
.void removeUserCsgInformation()
boolean hasErrorMessage()
java.lang.String getErrorMessage()
void setErrorMessage(java.lang.String errorMessage)
java.lang.NullPointerException
- if errorMessage
is null
.void removeErrorMessage()
boolean hasErrorReportingHost()
DiameterIdentity getErrorReportingHost()
void setErrorReportingHost(DiameterIdentity errorReportingHost)
java.lang.NullPointerException
- if errorReportingHost
is null
.void removeErrorReportingHost()
FailedAvp[] getFailedAvps()
void setFailedAvp(FailedAvp failedAvp)
java.lang.NullPointerException
- if failedAvp
is null
.void setFailedAvps(FailedAvp[] failedAvps)
java.lang.NullPointerException
- if failedAvps
is null
.void removeFailedAvps()
ProxyInfo[] getProxyInfos()
getProxyInfos
in interface CreditControlMessage
void setProxyInfo(ProxyInfo proxyInfo)
setProxyInfo
in interface CreditControlMessage
java.lang.NullPointerException
- if proxyInfo
is null
.void setProxyInfos(ProxyInfo[] proxyInfos)
setProxyInfos
in interface CreditControlMessage
java.lang.NullPointerException
- if proxyInfos
is null
.void removeProxyInfos()
DiameterIdentity[] getRouteRecords()
getRouteRecords
in interface CreditControlMessage
void setRouteRecord(DiameterIdentity routeRecord)
setRouteRecord
in interface CreditControlMessage
java.lang.NullPointerException
- if routeRecord
is null
.void setRouteRecords(DiameterIdentity[] routeRecords)
setRouteRecords
in interface CreditControlMessage
java.lang.NullPointerException
- if routeRecords
is null
.void removeRouteRecords()
DiameterAvp[] getExtensionAvps()
void setExtensionAvps(DiameterAvp[] avps) throws AvpNotAllowedException
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)java.lang.NullPointerException
- if avps
is null
.void removeExtensionAvps()