net.java.slee.resource.diameter.ro.events.avp
Interface AdditionalContentInformation

All Superinterfaces:
java.lang.Cloneable, net.java.slee.resource.diameter.base.events.avp.DiameterAvp, net.java.slee.resource.diameter.base.events.avp.GroupedAvp
All Known Implementing Classes:
AdditionalContentInformationImpl

public interface AdditionalContentInformation
extends net.java.slee.resource.diameter.base.events.avp.GroupedAvp

Defines an interface representing the Additional-Content-Information grouped AVP type.
From the Diameter Ro Reference Point Protocol Details (3GPP TS 32.299 V7.1.0) specification:

 7.2.2 Additional-Content-Information AVP 
 
 The Additional-Content-Information AVP (AVP code 1207) is of type Grouped and identifies any subsequent content 
 types. It is used to identify each content (including re-occurences) within an MM when the Type-Number AVP or 
 Additional-Type-Information AVP from the Content-Type AVP indicate a multi- part content. 
 
 It has the following ABNF grammar:
  Additional-Content-Information::= AVP Header: 1207 
      [ Type-Number ] 
      [ Additional-Type-Information ] 
      [ Content-Size ]
 

Author:
Alexandre Mendonca , Bartosz Baranowski

Field Summary
 
Fields inherited from interface net.java.slee.resource.diameter.base.events.avp.DiameterAvp
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
 
Method Summary
 java.lang.String getAdditionalTypeInformation()
          Returns the value of the Additional-Type-Information AVP, of type UTF8String.
 long getContentSize()
          Returns the value of the Content-Size AVP, of type Unsigned32.
 int getTypeNumber()
          Returns the value of the Type-Number AVP, of type Integer32.
 boolean hasAdditionalTypeInformation()
          Returns true if the Additional-Type-Information AVP is present in the message.
 boolean hasContentSize()
          Returns true if the Content-Size AVP is present in the message.
 boolean hasTypeNumber()
          Returns true if the Type-Number AVP is present in the message.
 void setAdditionalTypeInformation(java.lang.String additionalTypeInformation)
          Sets the value of the Additional-Type-Information AVP, of type UTF8String.
 void setContentSize(long contentSize)
          Sets the value of the Content-Size AVP, of type Unsigned32.
 void setTypeNumber(int typeNumber)
          Sets the value of the Type-Number AVP, of type Integer32.
 
Methods inherited from interface net.java.slee.resource.diameter.base.events.avp.GroupedAvp
getExtensionAvps, setExtensionAvps
 
Methods inherited from interface net.java.slee.resource.diameter.base.events.avp.DiameterAvp
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorId, intValue, longValue, octetStringValue, stringValue
 

Method Detail

getAdditionalTypeInformation

java.lang.String getAdditionalTypeInformation()
Returns the value of the Additional-Type-Information AVP, of type UTF8String. A return value of null implies that the AVP has not been set.


getContentSize

long getContentSize()
Returns the value of the Content-Size AVP, of type Unsigned32. A return value of null implies that the AVP has not been set.


getTypeNumber

int getTypeNumber()
Returns the value of the Type-Number AVP, of type Integer32. A return value of null implies that the AVP has not been set.


hasAdditionalTypeInformation

boolean hasAdditionalTypeInformation()
Returns true if the Additional-Type-Information AVP is present in the message.


hasContentSize

boolean hasContentSize()
Returns true if the Content-Size AVP is present in the message.


hasTypeNumber

boolean hasTypeNumber()
Returns true if the Type-Number AVP is present in the message.


setAdditionalTypeInformation

void setAdditionalTypeInformation(java.lang.String additionalTypeInformation)
Sets the value of the Additional-Type-Information AVP, of type UTF8String.


setContentSize

void setContentSize(long contentSize)
Sets the value of the Content-Size AVP, of type Unsigned32.


setTypeNumber

void setTypeNumber(int typeNumber)
Sets the value of the Type-Number AVP, of type Integer32.



Copyright © 2011. All Rights Reserved.