public interface ServiceGenericInformation extends GroupedAvp
7.2.191 Service-Generic-Information AVP The Service-Generic-Information AVP (AVP code 1256) is of type Grouped. Its purpose is to allow the transmission of service information elements used for all services. The AVP is defined in OMA-DDS-Charging_Data [223]. It has the following ABNF grammar: Service-Generic-Information ::= < AVP Header: 1256 > [ Application-Server-ID ] [ Application-Service-Type ] [ Application-Session-ID ] [ Delivery-Status ] From OMA-DDS-Charging_Data: "Charging Data".Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApplicationServerId()
Returns the value of the Application-Server-ID AVP, of type UTF8String.
|
ApplicationServiceType |
getApplicationServiceType()
Returns the value of the Application-Service-Type AVP, of type Enumerated.
|
long |
getApplicationSessionId()
Returns the value of the Application-Session-ID AVP, of type Unsigned32.
|
java.lang.String |
getDeliveryStatus()
Returns the value of the Delivery-Status AVP, of type UTF8String.
|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
boolean |
hasApplicationServerId()
Returns true if the Application-Server-ID AVP is present in the Service-Generic-Information AVP.
|
boolean |
hasApplicationServiceType()
Returns true if the Application-Service-Type AVP is present in the Service-Generic-Information AVP.
|
boolean |
hasApplicationSessionId()
Returns true if the Application-Session-ID AVP is present in the Service-Generic-Information AVP.
|
boolean |
hasDeliveryStatus()
Returns true if the Delivery-Status AVP is present in the Service-Generic-Information AVP.
|
void |
removeApplicationServerId()
Removes the Application-Server-ID AVP from the Service-Generic-Information AVP.
|
void |
removeApplicationServiceType()
Removes the Application-Service-Type AVP from the Service-Generic-Information AVP.
|
void |
removeApplicationSessionId()
Removes the Application-Session-ID AVP from the Service-Generic-Information AVP.
|
void |
removeDeliveryStatus()
Removes the Delivery-Status AVP from the Service-Generic-Information AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the Service-Generic-Information AVP.
|
void |
setApplicationServerId(java.lang.String applicationServerId)
Sets the value of the Application-Server-ID AVP, of type UTF8String.
|
void |
setApplicationServiceType(ApplicationServiceType applicationServiceType)
Sets the value of the Application-Service-Type AVP, of type Enumerated.
|
void |
setApplicationSessionId(long applicationSessionId)
Sets the value of the Application-Session-ID AVP, of type Unsigned32.
|
void |
setDeliveryStatus(java.lang.String deliveryStatus)
Sets the value of the Delivery-Status AVP, of type UTF8String.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasApplicationServerId()
java.lang.String getApplicationServerId()
void setApplicationServerId(java.lang.String applicationServerId)
java.lang.NullPointerException
- if applicationServerId
is null
.void removeApplicationServerId()
boolean hasApplicationServiceType()
ApplicationServiceType getApplicationServiceType()
void setApplicationServiceType(ApplicationServiceType applicationServiceType)
java.lang.NullPointerException
- if applicationServiceType
is null
.void removeApplicationServiceType()
boolean hasApplicationSessionId()
long getApplicationSessionId()
hasApplicationSessionId()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Application-Session-ID AVP has not been set.void setApplicationSessionId(long applicationSessionId)
void removeApplicationSessionId()
boolean hasDeliveryStatus()
java.lang.String getDeliveryStatus()
void setDeliveryStatus(java.lang.String deliveryStatus)
java.lang.NullPointerException
- if deliveryStatus
is null
.void removeDeliveryStatus()
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()