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

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.MbmsInformationImpl
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, MbmsInformation

public class MbmsInformationImpl
extends org.mobicents.slee.resource.diameter.base.events.avp.GroupedAvpImpl
implements MbmsInformation

MbmsInformationImpl.java
Project: mobicents
12:22:57 PM Apr 12, 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
MbmsInformationImpl()
           
MbmsInformationImpl(int code, long vendorId, int mnd, int prt, byte[] value)
           
 
Method Summary
 FileRepairSupported getFileRepairSupported()
          Returns the value of the File-Repair-Supported AVP, of type Enumerated.
 Mbms2g3gIndicator getMbms2g3gIndicator()
          Returns the value of the MBMS-2G-3G-Indicator AVP, of type OctetString.
 java.lang.String[] getMbmsServiceAreas()
          Returns the set of MBMS-Service-Area AVPs.
 MbmsServiceType getMbmsServiceType()
          Returns the value of the MBMS-Service-Type AVP, of type Enumerated.
 java.lang.String getMbmsSessionIdentity()
          Returns the value of the MBMS-Session-Identity AVP, of type OctetString.
 MbmsUserServiceType getMbmsUserServiceType()
          Returns the value of the MBMS-User-Service-Type AVP, of type Enumerated.
 java.lang.String getRai()
          Returns the value of the RAI AVP, of type OctetString.
 java.lang.String getRequiredMbmsBearerCapabilities()
          Returns the value of the Required-MBMS-Bearer-Capabilities AVP, of type OctetString.
 java.lang.String getTmgi()
          Returns the value of the TMGI AVP, of type OctetString.
 boolean hasFileRepairSupported()
          Returns true if the File-Repair-Supported AVP is present in the message.
 boolean hasMbms2g3gIndicator()
          Returns true if the MBMS-2G-3G-Indicator AVP is present in the message.
 boolean hasMbmsServiceType()
          Returns true if the MBMS-Service-Type AVP is present in the message.
 boolean hasMbmsSessionIdentity()
          Returns true if the MBMS-Session-Identity AVP is present in the message.
 boolean hasMbmsUserServiceType()
          Returns true if the MBMS-User-Service-Type AVP is present in the message.
 boolean hasRai()
          Returns true if the RAI AVP is present in the message.
 boolean hasRequiredMbmsBearerCapabilities()
          Returns true if the Required-MBMS-Bearer-Capabilities AVP is present in the message.
 boolean hasTmgi()
          Returns true if the TMGI AVP is present in the message.
 void setFileRepairSupported(FileRepairSupported fileRepairSupported)
          Sets the value of the File-Repair-Supported AVP, of type Enumerated.
 void setMbms2g3gIndicator(Mbms2g3gIndicator mbms2g3gIndicator)
          Sets the value of the MBMS-2G-3G-Indicator AVP, of type OctetString.
 void setMbmsServiceArea(java.lang.String mbmsServiceArea)
          Sets a single MBMS-Service-Area AVP in the message, of type OctetString.
 void setMbmsServiceAreas(java.lang.String[] mbmsServiceAreas)
          Sets the set of MBMS-Service-Area AVPs, with all the values in the given array.
 void setMbmsServiceType(MbmsServiceType mbmsServiceType)
          Sets the value of the MBMS-Service-Type AVP, of type Enumerated.
 void setMbmsSessionIdentity(java.lang.String mbmsSessionIdentity)
          Sets the value of the MBMS-Session-Identity AVP, of type OctetString.
 void setMbmsUserServiceType(MbmsUserServiceType mbmsUserServiceType)
          Sets the value of the MBMS-User-Service-Type AVP, of type Enumerated.
 void setRai(java.lang.String rai)
          Sets the value of the RAI AVP, of type OctetString.
 void setRequiredMbmsBearerCapabilities(java.lang.String requiredMbmsBearerCapabilities)
          Sets the value of the Required-MBMS-Bearer-Capabilities AVP, of type OctetString.
 void setTmgi(java.lang.String tmgi)
          Sets the value of the TMGI AVP, of type OctetString.
 
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

MbmsInformationImpl

public MbmsInformationImpl()

MbmsInformationImpl

public MbmsInformationImpl(int code,
                           long vendorId,
                           int mnd,
                           int prt,
                           byte[] value)
Parameters:
code -
vendorId -
mnd -
prt -
value -
Method Detail

getFileRepairSupported

public FileRepairSupported getFileRepairSupported()
Description copied from interface: MbmsInformation
Returns the value of the File-Repair-Supported AVP, of type Enumerated. A return value of null implies that the AVP has not been set.

Specified by:
getFileRepairSupported in interface MbmsInformation

getMbms2g3gIndicator

public Mbms2g3gIndicator getMbms2g3gIndicator()
Description copied from interface: MbmsInformation
Returns the value of the MBMS-2G-3G-Indicator AVP, of type OctetString. A return value of null implies that the AVP has not been set.

Specified by:
getMbms2g3gIndicator in interface MbmsInformation

getMbmsServiceAreas

public java.lang.String[] getMbmsServiceAreas()
Description copied from interface: MbmsInformation
Returns the set of MBMS-Service-Area AVPs. The returned array contains the AVPs in the order they appear in the message. A return value of null implies that no MBMS-Service-Area AVPs have been set. The elements in the given array are byte[] objects.

Specified by:
getMbmsServiceAreas in interface MbmsInformation

getMbmsServiceType

public MbmsServiceType getMbmsServiceType()
Description copied from interface: MbmsInformation
Returns the value of the MBMS-Service-Type AVP, of type Enumerated. A return value of null implies that the AVP has not been set.

Specified by:
getMbmsServiceType in interface MbmsInformation

getMbmsSessionIdentity

public java.lang.String getMbmsSessionIdentity()
Description copied from interface: MbmsInformation
Returns the value of the MBMS-Session-Identity AVP, of type OctetString. A return value of null implies that the AVP has not been set.

Specified by:
getMbmsSessionIdentity in interface MbmsInformation

getMbmsUserServiceType

public MbmsUserServiceType getMbmsUserServiceType()
Description copied from interface: MbmsInformation
Returns the value of the MBMS-User-Service-Type AVP, of type Enumerated. A return value of null implies that the AVP has not been set.

Specified by:
getMbmsUserServiceType in interface MbmsInformation

getRai

public java.lang.String getRai()
Description copied from interface: MbmsInformation
Returns the value of the RAI AVP, of type OctetString. A return value of null implies that the AVP has not been set.

Specified by:
getRai in interface MbmsInformation

getRequiredMbmsBearerCapabilities

public java.lang.String getRequiredMbmsBearerCapabilities()
Description copied from interface: MbmsInformation
Returns the value of the Required-MBMS-Bearer-Capabilities AVP, of type OctetString. A return value of null implies that the AVP has not been set.

Specified by:
getRequiredMbmsBearerCapabilities in interface MbmsInformation

getTmgi

public java.lang.String getTmgi()
Description copied from interface: MbmsInformation
Returns the value of the TMGI AVP, of type OctetString. A return value of null implies that the AVP has not been set.

Specified by:
getTmgi in interface MbmsInformation

hasFileRepairSupported

public boolean hasFileRepairSupported()
Description copied from interface: MbmsInformation
Returns true if the File-Repair-Supported AVP is present in the message.

Specified by:
hasFileRepairSupported in interface MbmsInformation

hasMbms2g3gIndicator

public boolean hasMbms2g3gIndicator()
Description copied from interface: MbmsInformation
Returns true if the MBMS-2G-3G-Indicator AVP is present in the message.

Specified by:
hasMbms2g3gIndicator in interface MbmsInformation

hasMbmsServiceType

public boolean hasMbmsServiceType()
Description copied from interface: MbmsInformation
Returns true if the MBMS-Service-Type AVP is present in the message.

Specified by:
hasMbmsServiceType in interface MbmsInformation

hasMbmsSessionIdentity

public boolean hasMbmsSessionIdentity()
Description copied from interface: MbmsInformation
Returns true if the MBMS-Session-Identity AVP is present in the message.

Specified by:
hasMbmsSessionIdentity in interface MbmsInformation

hasMbmsUserServiceType

public boolean hasMbmsUserServiceType()
Description copied from interface: MbmsInformation
Returns true if the MBMS-User-Service-Type AVP is present in the message.

Specified by:
hasMbmsUserServiceType in interface MbmsInformation

hasRai

public boolean hasRai()
Description copied from interface: MbmsInformation
Returns true if the RAI AVP is present in the message.

Specified by:
hasRai in interface MbmsInformation

hasRequiredMbmsBearerCapabilities

public boolean hasRequiredMbmsBearerCapabilities()
Description copied from interface: MbmsInformation
Returns true if the Required-MBMS-Bearer-Capabilities AVP is present in the message.

Specified by:
hasRequiredMbmsBearerCapabilities in interface MbmsInformation

hasTmgi

public boolean hasTmgi()
Description copied from interface: MbmsInformation
Returns true if the TMGI AVP is present in the message.

Specified by:
hasTmgi in interface MbmsInformation

setFileRepairSupported

public void setFileRepairSupported(FileRepairSupported fileRepairSupported)
Description copied from interface: MbmsInformation
Sets the value of the File-Repair-Supported AVP, of type Enumerated.

Specified by:
setFileRepairSupported in interface MbmsInformation

setMbms2g3gIndicator

public void setMbms2g3gIndicator(Mbms2g3gIndicator mbms2g3gIndicator)
Description copied from interface: MbmsInformation
Sets the value of the MBMS-2G-3G-Indicator AVP, of type OctetString.

Specified by:
setMbms2g3gIndicator in interface MbmsInformation

setMbmsServiceArea

public void setMbmsServiceArea(java.lang.String mbmsServiceArea)
Description copied from interface: MbmsInformation
Sets a single MBMS-Service-Area AVP in the message, of type OctetString.

Specified by:
setMbmsServiceArea in interface MbmsInformation

setMbmsServiceAreas

public void setMbmsServiceAreas(java.lang.String[] mbmsServiceAreas)
Description copied from interface: MbmsInformation
Sets the set of MBMS-Service-Area AVPs, with all the values in the given array. The AVPs will be added to message in the order in which they appear in the array. Note: the array must not be altered by the caller following this call, and getMbmsServiceAreas() is not guaranteed to return the same array instance, e.g. an "==" check would fail.

Specified by:
setMbmsServiceAreas in interface MbmsInformation

setMbmsServiceType

public void setMbmsServiceType(MbmsServiceType mbmsServiceType)
Description copied from interface: MbmsInformation
Sets the value of the MBMS-Service-Type AVP, of type Enumerated.

Specified by:
setMbmsServiceType in interface MbmsInformation

setMbmsSessionIdentity

public void setMbmsSessionIdentity(java.lang.String mbmsSessionIdentity)
Description copied from interface: MbmsInformation
Sets the value of the MBMS-Session-Identity AVP, of type OctetString.

Specified by:
setMbmsSessionIdentity in interface MbmsInformation

setMbmsUserServiceType

public void setMbmsUserServiceType(MbmsUserServiceType mbmsUserServiceType)
Description copied from interface: MbmsInformation
Sets the value of the MBMS-User-Service-Type AVP, of type Enumerated.

Specified by:
setMbmsUserServiceType in interface MbmsInformation

setRai

public void setRai(java.lang.String rai)
Description copied from interface: MbmsInformation
Sets the value of the RAI AVP, of type OctetString.

Specified by:
setRai in interface MbmsInformation

setRequiredMbmsBearerCapabilities

public void setRequiredMbmsBearerCapabilities(java.lang.String requiredMbmsBearerCapabilities)
Description copied from interface: MbmsInformation
Sets the value of the Required-MBMS-Bearer-Capabilities AVP, of type OctetString.

Specified by:
setRequiredMbmsBearerCapabilities in interface MbmsInformation

setTmgi

public void setTmgi(java.lang.String tmgi)
Description copied from interface: MbmsInformation
Sets the value of the TMGI AVP, of type OctetString.

Specified by:
setTmgi in interface MbmsInformation


Copyright © 2011. All Rights Reserved.