org.mobicents.slee.resource.diameter.ro.events.avp
Class AdditionalContentInformationImpl

java.lang.Object
  extended by org.mobicents.slee.resource.diameter.base.events.avp.DiameterAvpImpl
      extended by org.mobicents.slee.resource.diameter.base.events.avp.GroupedAvpImpl
          extended by org.mobicents.slee.resource.diameter.ro.events.avp.AdditionalContentInformationImpl
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, java.lang.Cloneable, net.java.slee.resource.diameter.base.events.avp.DiameterAvp, net.java.slee.resource.diameter.base.events.avp.GroupedAvp, AdditionalContentInformation

public class AdditionalContentInformationImpl
extends org.mobicents.slee.resource.diameter.base.events.avp.GroupedAvpImpl
implements AdditionalContentInformation

AdditionalContentInformationImpl.java
Project: mobicents
8:17:22 PM Apr 10, 2009

Author:
Alexandre Mendonca
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mobicents.slee.resource.diameter.base.events.avp.GroupedAvpImpl
avpSet
 
Fields inherited from class org.mobicents.slee.resource.diameter.base.events.avp.DiameterAvpImpl
code, mnd, name, prt, type, value, vendorId
 
Fields inherited from interface net.java.slee.resource.diameter.base.events.avp.DiameterAvp
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
 
Constructor Summary
AdditionalContentInformationImpl()
           
AdditionalContentInformationImpl(int code, long vendorId, int mnd, int prt, byte[] value)
           
 
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 class org.mobicents.slee.resource.diameter.base.events.avp.GroupedAvpImpl
addAvp, addAvp, addAvp, addAvp, byteArrayValue, clone, doubleValue, equals, floatValue, getAvp, getAvp, getAvp, getAvpAsAddress, getAvpAsAddress, getAvpAsCustom, getAvpAsCustom, getAvpAsDiameterIdentity, getAvpAsDiameterIdentity, getAvpAsDiameterURI, getAvpAsDiameterURI, getAvpAsEnumerated, getAvpAsEnumerated, getAvpAsFloat32, getAvpAsFloat32, getAvpAsFloat64, getAvpAsFloat64, getAvpAsGrouped, getAvpAsGrouped, getAvpAsInteger32, getAvpAsInteger32, getAvpAsInteger64, getAvpAsInteger64, getAvpAsIPFilterRule, getAvpAsIPFilterRule, getAvpAsOctetString, getAvpAsOctetString, getAvpAsRaw, getAvpAsRaw, getAvpAsTime, getAvpAsTime, getAvpAsUnsigned32, getAvpAsUnsigned32, getAvpAsUnsigned64, getAvpAsUnsigned64, getAvpAsUTF8String, getAvpAsUTF8String, getAvpsAsAddress, getAvpsAsAddress, getAvpsAsCustom, getAvpsAsCustom, getAvpsAsDiameterIdentity, getAvpsAsDiameterIdentity, getAvpsAsDiameterURI, getAvpsAsDiameterURI, getAvpsAsEnumerated, getAvpsAsEnumerated, getAvpsAsFloat32, getAvpsAsFloat32, getAvpsAsFloat64, getAvpsAsFloat64, getAvpsAsGrouped, getAvpsAsGrouped, getAvpsAsInteger32, getAvpsAsInteger32, getAvpsAsInteger64, getAvpsAsInteger64, getAvpsAsIPFilterRule, getAvpsAsIPFilterRule, getAvpsAsOctetString, getAvpsAsOctetString, getAvpsAsRaw, getAvpsAsRaw, getAvpsAsTime, getAvpsAsTime, getAvpsAsUnsigned32, getAvpsAsUnsigned32, getAvpsAsUnsigned64, getAvpsAsUnsigned64, getAvpsAsUTF8String, getAvpsAsUTF8String, getExtensionAvps, getGenericData, getValue, hasAvp, hasAvp, intValue, longValue, setAvpAsFloat32, setAvpAsFloat64, setAvpAsGrouped, setAvpAsInteger32, setAvpAsInteger64, setAvpAsOctetString, setAvpAsRaw, setAvpAsTime, setAvpAsUnsigned32, setAvpAsUnsigned64, setAvpAsUTF8String, setExtensionAvps, setValue, stringValue
 
Methods inherited from class org.mobicents.slee.resource.diameter.base.events.avp.DiameterAvpImpl
getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorId, hashCode, octetStringValue, readExternal, toString, writeExternal
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
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
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Constructor Detail

AdditionalContentInformationImpl

public AdditionalContentInformationImpl()

AdditionalContentInformationImpl

public AdditionalContentInformationImpl(int code,
                                        long vendorId,
                                        int mnd,
                                        int prt,
                                        byte[] value)
Method Detail

getAdditionalTypeInformation

public java.lang.String getAdditionalTypeInformation()
Description copied from interface: AdditionalContentInformation
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.

Specified by:
getAdditionalTypeInformation in interface AdditionalContentInformation

getContentSize

public long getContentSize()
Description copied from interface: AdditionalContentInformation
Returns the value of the Content-Size AVP, of type Unsigned32. A return value of null implies that the AVP has not been set.

Specified by:
getContentSize in interface AdditionalContentInformation

getTypeNumber

public int getTypeNumber()
Description copied from interface: AdditionalContentInformation
Returns the value of the Type-Number AVP, of type Integer32. A return value of null implies that the AVP has not been set.

Specified by:
getTypeNumber in interface AdditionalContentInformation

hasAdditionalTypeInformation

public boolean hasAdditionalTypeInformation()
Description copied from interface: AdditionalContentInformation
Returns true if the Additional-Type-Information AVP is present in the message.

Specified by:
hasAdditionalTypeInformation in interface AdditionalContentInformation

hasContentSize

public boolean hasContentSize()
Description copied from interface: AdditionalContentInformation
Returns true if the Content-Size AVP is present in the message.

Specified by:
hasContentSize in interface AdditionalContentInformation

hasTypeNumber

public boolean hasTypeNumber()
Description copied from interface: AdditionalContentInformation
Returns true if the Type-Number AVP is present in the message.

Specified by:
hasTypeNumber in interface AdditionalContentInformation

setAdditionalTypeInformation

public void setAdditionalTypeInformation(java.lang.String additionalTypeInformation)
Description copied from interface: AdditionalContentInformation
Sets the value of the Additional-Type-Information AVP, of type UTF8String.

Specified by:
setAdditionalTypeInformation in interface AdditionalContentInformation

setContentSize

public void setContentSize(long contentSize)
Description copied from interface: AdditionalContentInformation
Sets the value of the Content-Size AVP, of type Unsigned32.

Specified by:
setContentSize in interface AdditionalContentInformation

setTypeNumber

public void setTypeNumber(int typeNumber)
Description copied from interface: AdditionalContentInformation
Sets the value of the Type-Number AVP, of type Integer32.

Specified by:
setTypeNumber in interface AdditionalContentInformation


Copyright © 2011. All Rights Reserved.