public interface ChargingInformation extends GroupedAvp
6.3.19 Charging-Information The Charging-Information is of type Grouped, and contains the addresses of the charging functions. AVP format <Charging-Information> ::= < AVP Header: 618 10415 > [ Primary-Event-Charging-Function-Name ] [ Secondary-Event-Charging-Function-Name ] [ Primary-Charging-Collection-Function-Name ] [ Secondary-Charging-Collection-Function-Name ] * [ AVP ]
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
DiameterURI |
getPrimaryChargingCollectionFunctionName()
Returns the value of the Primary-Charging-Collection-Function-Name AVP, of type DiameterURI.
|
DiameterURI |
getPrimaryEventChargingFunctionName()
Returns the value of the Primary-Event-Charging-Function-Name AVP, of type DiameterURI.
|
DiameterURI |
getSecondaryChargingCollectionFunctionName()
Returns the value of the Secondary-Charging-Collection-Function-Name AVP, of type DiameterURI.
|
DiameterURI |
getSecondaryEventChargingFunctionName()
Returns the value of the Secondary-Event-Charging-Function-Name AVP, of type DiameterURI.
|
boolean |
hasPrimaryChargingCollectionFunctionName()
Returns true if the Primary-Charging-Collection-Function-Name AVP is present in the Charging-Information AVP.
|
boolean |
hasPrimaryEventChargingFunctionName()
Returns true if the Primary-Event-Charging-Function-Name AVP is present in the Charging-Information AVP.
|
boolean |
hasSecondaryChargingCollectionFunctionName()
Returns true if the Secondary-Charging-Collection-Function-Name AVP is present in the Charging-Information AVP.
|
boolean |
hasSecondaryEventChargingFunctionName()
Returns true if the Secondary-Event-Charging-Function-Name AVP is present in the Charging-Information AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the Charging-Information AVP.
|
void |
removePrimaryChargingCollectionFunctionName()
Removes the Primary-Charging-Collection-Function-Name AVP from the Charging-Information AVP.
|
void |
removePrimaryEventChargingFunctionName()
Removes the Primary-Event-Charging-Function-Name AVP from the Charging-Information AVP.
|
void |
removeSecondaryChargingCollectionFunctionName()
Removes the Secondary-Charging-Collection-Function-Name AVP from the Charging-Information AVP.
|
void |
removeSecondaryEventChargingFunctionName()
Removes the Secondary-Event-Charging-Function-Name AVP from the Charging-Information AVP.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setPrimaryChargingCollectionFunctionName(DiameterURI primaryChargingCollectionFunctionName)
Sets the value of the Primary-Charging-Collection-Function-Name AVP, of type DiameterURI.
|
void |
setPrimaryEventChargingFunctionName(DiameterURI primaryEventChargingFunctionName)
Sets the value of the Primary-Event-Charging-Function-Name AVP, of type DiameterURI.
|
void |
setSecondaryChargingCollectionFunctionName(DiameterURI secondaryChargingCollectionFunctionName)
Sets the value of the Secondary-Charging-Collection-Function-Name AVP, of type DiameterURI.
|
void |
setSecondaryEventChargingFunctionName(DiameterURI secondaryEventChargingFunctionName)
Sets the value of the Secondary-Event-Charging-Function-Name AVP, of type DiameterURI.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasPrimaryEventChargingFunctionName()
DiameterURI getPrimaryEventChargingFunctionName()
void setPrimaryEventChargingFunctionName(DiameterURI primaryEventChargingFunctionName)
java.lang.NullPointerException
- if primaryEventChargingFunctionName
is null
.void removePrimaryEventChargingFunctionName()
boolean hasSecondaryEventChargingFunctionName()
DiameterURI getSecondaryEventChargingFunctionName()
void setSecondaryEventChargingFunctionName(DiameterURI secondaryEventChargingFunctionName)
java.lang.NullPointerException
- if secondaryEventChargingFunctionName
is null
.void removeSecondaryEventChargingFunctionName()
boolean hasPrimaryChargingCollectionFunctionName()
DiameterURI getPrimaryChargingCollectionFunctionName()
void setPrimaryChargingCollectionFunctionName(DiameterURI primaryChargingCollectionFunctionName)
java.lang.NullPointerException
- if primaryChargingCollectionFunctionName
is null
.void removePrimaryChargingCollectionFunctionName()
boolean hasSecondaryChargingCollectionFunctionName()
DiameterURI getSecondaryChargingCollectionFunctionName()
void setSecondaryChargingCollectionFunctionName(DiameterURI secondaryChargingCollectionFunctionName)
java.lang.NullPointerException
- if secondaryChargingCollectionFunctionName
is null
.void removeSecondaryChargingCollectionFunctionName()
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()