public interface DcdInformation extends GroupedAvp
8.5.5 DCD-Information AVP The DCD-Information AVP (AVP code 2115) is of type Grouped. Its purpose is to allow the transmission of service information elements used for DCD services. <DCD-Information> ::= < AVP Header: 2115 > [ Content-ID] [ Content-Provider-ID]Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentId()
Returns the value of the Content-ID AVP, of type UTF8String.
|
java.lang.String |
getContentProviderId()
Returns the value of the Content-Provider-ID AVP, of type UTF8String.
|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
boolean |
hasContentId()
Returns true if the Content-ID AVP is present in the DCD-Information AVP.
|
boolean |
hasContentProviderId()
Returns true if the Content-Provider-ID AVP is present in the DCD-Information AVP.
|
void |
removeContentId()
Removes the Content-ID AVP from the DCD-Information AVP.
|
void |
removeContentProviderId()
Removes the Content-Provider-ID AVP from the DCD-Information AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the DCD-Information AVP.
|
void |
setContentId(java.lang.String contentId)
Sets the value of the Content-ID AVP, of type UTF8String.
|
void |
setContentProviderId(java.lang.String contentProviderId)
Sets the value of the Content-Provider-ID 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 hasContentId()
java.lang.String getContentId()
void setContentId(java.lang.String contentId)
java.lang.NullPointerException
- if contentId
is null
.void removeContentId()
boolean hasContentProviderId()
java.lang.String getContentProviderId()
void setContentProviderId(java.lang.String contentProviderId)
java.lang.NullPointerException
- if contentProviderId
is null
.void removeContentProviderId()
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()