public interface ServiceDataContainer extends GroupedAvp
7.2.146 B Service-Data-Container AVP The Service-Data-Container AVP (AVP code 2040) is of type Grouped. Its purpose is to allow the transmission of the container to be reported for Flow based Charging. On encountering change on charging condition, this container identifies the volume count (separated for uplink and downlink), elapsed time or number of events, per service data flow identified per rating group or combination of the rating group and service id within an IP-CAN bearer. It has the following ABNF grammar: Service-Data-Container ::= < AVP Header: 2040> [AF-Correlation-Information] [ Charging-Rule-Base-Name ] [ Accounting-Input-Octets ] [ Accounting-Output-Octets ] [ Accounting-Input-Packets ] [ Accounting-Output-Packets ] [ Local-Sequence-Number ] [ QoS-Information ] [ Rating-Group ] [ Change-Time ] [ Service-Identifier ] [Service-Specific-Info ] [ SGSN-Address ] [ Time-First-Usage ] [ Time-Last-Usage ] [ Time-Usage ] * [ Change-Condition] [ TGPP-User-Location-Info ] [ TGPP2-BSID ]Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
long |
getAccountingInputOctets()
Returns the value of the Accounting-Input-Octets AVP, of type Unsigned64.
|
long |
getAccountingInputPackets()
Returns the value of the Accounting-Input-Packets AVP, of type Unsigned64.
|
long |
getAccountingOutputOctets()
Returns the value of the Accounting-Output-Octets AVP, of type Unsigned64.
|
long |
getAccountingOutputPackets()
Returns the value of the Accounting-Output-Packets AVP, of type Unsigned64.
|
AfCorrelationInformation |
getAfCorrelationInformation()
Returns the value of the AF-Correlation-Information AVP, of type Grouped.
|
int[] |
getChangeConditions()
Returns the set of Change-Condition AVPs.
|
java.util.Date |
getChangeTime()
Returns the value of the Change-Time AVP, of type Time.
|
byte[] |
getChargingRuleBaseName()
Returns the value of the Charging-Rule-Base-Name AVP, of type OctetString.
|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
long |
getLocalSequenceNumber()
Returns the value of the Local-Sequence-Number AVP, of type Unsigned32.
|
QosInformation |
getQosInformation()
Returns the value of the QoS-Information AVP, of type Grouped.
|
long |
getRatingGroup()
Returns the value of the Rating-Group AVP, of type Unsigned32.
|
long |
getServiceIdentifier()
Returns the value of the Service-Identifier AVP, of type Unsigned32.
|
ServiceSpecificInfo |
getServiceSpecificInfo()
Returns the value of the Service-Specific-Info AVP, of type Grouped.
|
Address |
getSgsnAddress()
Returns the value of the SGSN-Address AVP, of type Address.
|
java.lang.String |
getTgpp2Bsid()
Returns the value of the TGPP2-BSID AVP, of type UTF8String.
|
byte[] |
getTgppUserLocationInfo()
Returns the value of the TGPP-User-Location-Info AVP, of type OctetString.
|
java.util.Date |
getTimeFirstUsage()
Returns the value of the Time-First-Usage AVP, of type Time.
|
java.util.Date |
getTimeLastUsage()
Returns the value of the Time-Last-Usage AVP, of type Time.
|
long |
getTimeUsage()
Returns the value of the Time-Usage AVP, of type Unsigned32.
|
boolean |
hasAccountingInputOctets()
Returns true if the Accounting-Input-Octets AVP is present in the Service-Data-Container AVP.
|
boolean |
hasAccountingInputPackets()
Returns true if the Accounting-Input-Packets AVP is present in the Service-Data-Container AVP.
|
boolean |
hasAccountingOutputOctets()
Returns true if the Accounting-Output-Octets AVP is present in the Service-Data-Container AVP.
|
boolean |
hasAccountingOutputPackets()
Returns true if the Accounting-Output-Packets AVP is present in the Service-Data-Container AVP.
|
boolean |
hasAfCorrelationInformation()
Returns true if the AF-Correlation-Information AVP is present in the Service-Data-Container AVP.
|
boolean |
hasChangeTime()
Returns true if the Change-Time AVP is present in the Service-Data-Container AVP.
|
boolean |
hasChargingRuleBaseName()
Returns true if the Charging-Rule-Base-Name AVP is present in the Service-Data-Container AVP.
|
boolean |
hasLocalSequenceNumber()
Returns true if the Local-Sequence-Number AVP is present in the Service-Data-Container AVP.
|
boolean |
hasQosInformation()
Returns true if the QoS-Information AVP is present in the Service-Data-Container AVP.
|
boolean |
hasRatingGroup()
Returns true if the Rating-Group AVP is present in the Service-Data-Container AVP.
|
boolean |
hasServiceIdentifier()
Returns true if the Service-Identifier AVP is present in the Service-Data-Container AVP.
|
boolean |
hasServiceSpecificInfo()
Returns true if the Service-Specific-Info AVP is present in the Service-Data-Container AVP.
|
boolean |
hasSgsnAddress()
Returns true if the SGSN-Address AVP is present in the Service-Data-Container AVP.
|
boolean |
hasTgpp2Bsid()
Returns true if the TGPP2-BSID AVP is present in the Service-Data-Container AVP.
|
boolean |
hasTgppUserLocationInfo()
Returns true if the TGPP-User-Location-Info AVP is present in the Service-Data-Container AVP.
|
boolean |
hasTimeFirstUsage()
Returns true if the Time-First-Usage AVP is present in the Service-Data-Container AVP.
|
boolean |
hasTimeLastUsage()
Returns true if the Time-Last-Usage AVP is present in the Service-Data-Container AVP.
|
boolean |
hasTimeUsage()
Returns true if the Time-Usage AVP is present in the Service-Data-Container AVP.
|
void |
removeAccountingInputOctets()
Removes the Accounting-Input-Octets AVP from the Service-Data-Container AVP.
|
void |
removeAccountingInputPackets()
Removes the Accounting-Input-Packets AVP from the Service-Data-Container AVP.
|
void |
removeAccountingOutputOctets()
Removes the Accounting-Output-Octets AVP from the Service-Data-Container AVP.
|
void |
removeAccountingOutputPackets()
Removes the Accounting-Output-Packets AVP from the Service-Data-Container AVP.
|
void |
removeAfCorrelationInformation()
Removes the AF-Correlation-Information AVP from the Service-Data-Container AVP.
|
void |
removeChangeConditions()
Removes all Change-Condition AVPs from the Service-Data-Container AVP.
|
void |
removeChangeTime()
Removes the Change-Time AVP from the Service-Data-Container AVP.
|
void |
removeChargingRuleBaseName()
Removes the Charging-Rule-Base-Name AVP from the Service-Data-Container AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the Service-Data-Container AVP.
|
void |
removeLocalSequenceNumber()
Removes the Local-Sequence-Number AVP from the Service-Data-Container AVP.
|
void |
removeQosInformation()
Removes the QoS-Information AVP from the Service-Data-Container AVP.
|
void |
removeRatingGroup()
Removes the Rating-Group AVP from the Service-Data-Container AVP.
|
void |
removeServiceIdentifier()
Removes the Service-Identifier AVP from the Service-Data-Container AVP.
|
void |
removeServiceSpecificInfo()
Removes the Service-Specific-Info AVP from the Service-Data-Container AVP.
|
void |
removeSgsnAddress()
Removes the SGSN-Address AVP from the Service-Data-Container AVP.
|
void |
removeTgpp2Bsid()
Removes the TGPP2-BSID AVP from the Service-Data-Container AVP.
|
void |
removeTgppUserLocationInfo()
Removes the TGPP-User-Location-Info AVP from the Service-Data-Container AVP.
|
void |
removeTimeFirstUsage()
Removes the Time-First-Usage AVP from the Service-Data-Container AVP.
|
void |
removeTimeLastUsage()
Removes the Time-Last-Usage AVP from the Service-Data-Container AVP.
|
void |
removeTimeUsage()
Removes the Time-Usage AVP from the Service-Data-Container AVP.
|
void |
setAccountingInputOctets(long accountingInputOctets)
Sets the value of the Accounting-Input-Octets AVP, of type Unsigned64.
|
void |
setAccountingInputPackets(long accountingInputPackets)
Sets the value of the Accounting-Input-Packets AVP, of type Unsigned64.
|
void |
setAccountingOutputOctets(long accountingOutputOctets)
Sets the value of the Accounting-Output-Octets AVP, of type Unsigned64.
|
void |
setAccountingOutputPackets(long accountingOutputPackets)
Sets the value of the Accounting-Output-Packets AVP, of type Unsigned64.
|
void |
setAfCorrelationInformation(AfCorrelationInformation afCorrelationInformation)
Sets the value of the AF-Correlation-Information AVP, of type Grouped.
|
void |
setChangeCondition(int changeCondition)
Sets a single Change-Condition AVP in the Service-Data-Container AVP, of type Integer32.
|
void |
setChangeConditions(int[] changeConditions)
Sets the set of Change-Condition AVPs, with all the values in the given array.
|
void |
setChangeTime(java.util.Date changeTime)
Sets the value of the Change-Time AVP, of type Time.
|
void |
setChargingRuleBaseName(byte[] chargingRuleBaseName)
Sets the value of the Charging-Rule-Base-Name AVP, of type OctetString.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setLocalSequenceNumber(long localSequenceNumber)
Sets the value of the Local-Sequence-Number AVP, of type Unsigned32.
|
void |
setQosInformation(QosInformation qosInformation)
Sets the value of the QoS-Information AVP, of type Grouped.
|
void |
setRatingGroup(long ratingGroup)
Sets the value of the Rating-Group AVP, of type Unsigned32.
|
void |
setServiceIdentifier(long serviceIdentifier)
Sets the value of the Service-Identifier AVP, of type Unsigned32.
|
void |
setServiceSpecificInfo(ServiceSpecificInfo serviceSpecificInfo)
Sets the value of the Service-Specific-Info AVP, of type Grouped.
|
void |
setSgsnAddress(Address sgsnAddress)
Sets the value of the SGSN-Address AVP, of type Address.
|
void |
setTgpp2Bsid(java.lang.String tgpp2Bsid)
Sets the value of the TGPP2-BSID AVP, of type UTF8String.
|
void |
setTgppUserLocationInfo(byte[] tgppUserLocationInfo)
Sets the value of the TGPP-User-Location-Info AVP, of type OctetString.
|
void |
setTimeFirstUsage(java.util.Date timeFirstUsage)
Sets the value of the Time-First-Usage AVP, of type Time.
|
void |
setTimeLastUsage(java.util.Date timeLastUsage)
Sets the value of the Time-Last-Usage AVP, of type Time.
|
void |
setTimeUsage(long timeUsage)
Sets the value of the Time-Usage AVP, of type Unsigned32.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasAfCorrelationInformation()
AfCorrelationInformation getAfCorrelationInformation()
void setAfCorrelationInformation(AfCorrelationInformation afCorrelationInformation)
java.lang.NullPointerException
- if afCorrelationInformation
is null
.void removeAfCorrelationInformation()
boolean hasChargingRuleBaseName()
byte[] getChargingRuleBaseName()
void setChargingRuleBaseName(byte[] chargingRuleBaseName)
java.lang.NullPointerException
- if chargingRuleBaseName
is null
.void removeChargingRuleBaseName()
boolean hasAccountingInputOctets()
long getAccountingInputOctets()
hasAccountingInputOctets()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Accounting-Input-Octets AVP has not been set.void setAccountingInputOctets(long accountingInputOctets)
void removeAccountingInputOctets()
boolean hasAccountingOutputOctets()
long getAccountingOutputOctets()
hasAccountingOutputOctets()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Accounting-Output-Octets AVP has not been set.void setAccountingOutputOctets(long accountingOutputOctets)
void removeAccountingOutputOctets()
boolean hasAccountingInputPackets()
long getAccountingInputPackets()
hasAccountingInputPackets()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Accounting-Input-Packets AVP has not been set.void setAccountingInputPackets(long accountingInputPackets)
void removeAccountingInputPackets()
boolean hasAccountingOutputPackets()
long getAccountingOutputPackets()
hasAccountingOutputPackets()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Accounting-Output-Packets AVP has not been set.void setAccountingOutputPackets(long accountingOutputPackets)
void removeAccountingOutputPackets()
boolean hasLocalSequenceNumber()
long getLocalSequenceNumber()
hasLocalSequenceNumber()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Local-Sequence-Number AVP has not been set.void setLocalSequenceNumber(long localSequenceNumber)
void removeLocalSequenceNumber()
boolean hasQosInformation()
QosInformation getQosInformation()
void setQosInformation(QosInformation qosInformation)
java.lang.NullPointerException
- if qosInformation
is null
.void removeQosInformation()
boolean hasRatingGroup()
long getRatingGroup()
hasRatingGroup()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Rating-Group AVP has not been set.void setRatingGroup(long ratingGroup)
void removeRatingGroup()
boolean hasChangeTime()
java.util.Date getChangeTime()
void setChangeTime(java.util.Date changeTime)
java.lang.NullPointerException
- if changeTime
is null
.void removeChangeTime()
boolean hasServiceIdentifier()
long getServiceIdentifier()
hasServiceIdentifier()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Service-Identifier AVP has not been set.void setServiceIdentifier(long serviceIdentifier)
void removeServiceIdentifier()
boolean hasServiceSpecificInfo()
ServiceSpecificInfo getServiceSpecificInfo()
void setServiceSpecificInfo(ServiceSpecificInfo serviceSpecificInfo)
java.lang.NullPointerException
- if serviceSpecificInfo
is null
.void removeServiceSpecificInfo()
boolean hasSgsnAddress()
Address getSgsnAddress()
void setSgsnAddress(Address sgsnAddress)
java.lang.NullPointerException
- if sgsnAddress
is null
.void removeSgsnAddress()
boolean hasTimeFirstUsage()
java.util.Date getTimeFirstUsage()
void setTimeFirstUsage(java.util.Date timeFirstUsage)
java.lang.NullPointerException
- if timeFirstUsage
is null
.void removeTimeFirstUsage()
boolean hasTimeLastUsage()
java.util.Date getTimeLastUsage()
void setTimeLastUsage(java.util.Date timeLastUsage)
java.lang.NullPointerException
- if timeLastUsage
is null
.void removeTimeLastUsage()
boolean hasTimeUsage()
long getTimeUsage()
hasTimeUsage()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Time-Usage AVP has not been set.void setTimeUsage(long timeUsage)
void removeTimeUsage()
int[] getChangeConditions()
void setChangeCondition(int changeCondition)
void setChangeConditions(int[] changeConditions)
java.lang.NullPointerException
- if changeConditions
is null
.void removeChangeConditions()
boolean hasTgppUserLocationInfo()
byte[] getTgppUserLocationInfo()
void setTgppUserLocationInfo(byte[] tgppUserLocationInfo)
java.lang.NullPointerException
- if tgppUserLocationInfo
is null
.void removeTgppUserLocationInfo()
boolean hasTgpp2Bsid()
java.lang.String getTgpp2Bsid()
void setTgpp2Bsid(java.lang.String tgpp2Bsid)
java.lang.NullPointerException
- if tgpp2Bsid
is null
.void removeTgpp2Bsid()
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()