org.mobicents.slee.resource.diameter.cca.events.avp
Class FinalUnitIndicationAvpImpl

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.cca.events.avp.FinalUnitIndicationAvpImpl
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, FinalUnitIndicationAvp

public class FinalUnitIndicationAvpImpl
extends org.mobicents.slee.resource.diameter.base.events.avp.GroupedAvpImpl
implements FinalUnitIndicationAvp

Start time:13:51:00 2008-11-10
Project: mobicents-diameter-parent
Implementation of AVP: FinalUnitIndicationAvp

Author:
Bartosz Baranowski , 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
FinalUnitIndicationAvpImpl()
           
FinalUnitIndicationAvpImpl(int code, long vendorId, int mnd, int prt, byte[] value)
           
 
Method Summary
 java.lang.String[] getFilterIds()
          Returns the set of Filter-Id AVPs.
 FinalUnitActionType getFinalUnitAction()
          Returns the value of the Final-Unit-Action AVP, of type Enumerated.
 RedirectServerAvp getRedirectServer()
          Returns the value of the Redirect-Server AVP, of type Grouped.
 net.java.slee.resource.diameter.base.events.avp.IPFilterRule[] getRestrictionFilterRules()
          Returns the set of Restriction-Filter-Rule AVPs.
 boolean hasFinalUnitAction()
          Returns true if the Final-Unit-Action AVP is present in the message.
 boolean hasRedirectServer()
          Returns true if the Redirect-Server AVP is present in the message.
 void setFilterId(java.lang.String filterId)
          Sets a single Filter-Id AVP in the message, of type UTF8String.
 void setFilterIds(java.lang.String[] filterIds)
          Sets the set of Filter-Id AVPs, with all the values in the given array.
 void setFinalUnitAction(FinalUnitActionType finalUnitAction)
          Sets the value of the Final-Unit-Action AVP, of type Enumerated.
 void setRedirectServer(RedirectServerAvp redirectServer)
          Sets the value of the Redirect-Server AVP, of type Grouped.
 void setRestrictionFilterRule(net.java.slee.resource.diameter.base.events.avp.IPFilterRule restrictionFilterRule)
          Sets the set of Restriction-Filter-Rule AVPs, with all the values in the given array.
 void setRestrictionFilterRules(net.java.slee.resource.diameter.base.events.avp.IPFilterRule[] restrictionFilterRules)
          Sets the set of Restriction-Filter-Rule AVPs, with all the values in the given array.
 
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

FinalUnitIndicationAvpImpl

public FinalUnitIndicationAvpImpl()

FinalUnitIndicationAvpImpl

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

getFilterIds

public java.lang.String[] getFilterIds()
Description copied from interface: FinalUnitIndicationAvp
Returns the set of Filter-Id AVPs. The returned array contains the AVPs in the order they appear in the message. A return value of null implies that no Filter-Id AVPs have been set. The elements in the given array are String objects (Filter-Id is of type UTF8String).

Specified by:
getFilterIds in interface FinalUnitIndicationAvp
Returns:

getFinalUnitAction

public FinalUnitActionType getFinalUnitAction()
Description copied from interface: FinalUnitIndicationAvp
Returns the value of the Final-Unit-Action AVP, of type Enumerated. Return value of null indicates that this avp has not been set. See: FinalUnitActionType

Specified by:
getFinalUnitAction in interface FinalUnitIndicationAvp
Returns:

getRedirectServer

public RedirectServerAvp getRedirectServer()
Description copied from interface: FinalUnitIndicationAvp
Returns the value of the Redirect-Server AVP, of type Grouped. Return value of null indicates that this avp has not been set. See: RedirectServerAvp

Specified by:
getRedirectServer in interface FinalUnitIndicationAvp
Returns:

getRestrictionFilterRules

public net.java.slee.resource.diameter.base.events.avp.IPFilterRule[] getRestrictionFilterRules()
Description copied from interface: FinalUnitIndicationAvp
Returns the set of Restriction-Filter-Rule AVPs. Null value implies that value has not been set. See: IPFilterRule

Specified by:
getRestrictionFilterRules in interface FinalUnitIndicationAvp
Returns:

hasFinalUnitAction

public boolean hasFinalUnitAction()
Description copied from interface: FinalUnitIndicationAvp
Returns true if the Final-Unit-Action AVP is present in the message.

Specified by:
hasFinalUnitAction in interface FinalUnitIndicationAvp
Returns:

hasRedirectServer

public boolean hasRedirectServer()
Description copied from interface: FinalUnitIndicationAvp
Returns true if the Redirect-Server AVP is present in the message.

Specified by:
hasRedirectServer in interface FinalUnitIndicationAvp
Returns:

setFilterId

public void setFilterId(java.lang.String filterId)
Description copied from interface: FinalUnitIndicationAvp
Sets a single Filter-Id AVP in the message, of type UTF8String.

Specified by:
setFilterId in interface FinalUnitIndicationAvp

setFilterIds

public void setFilterIds(java.lang.String[] filterIds)
Description copied from interface: FinalUnitIndicationAvp
Sets the set of Filter-Id AVPs, with all the values in the given array.

Specified by:
setFilterIds in interface FinalUnitIndicationAvp

setFinalUnitAction

public void setFinalUnitAction(FinalUnitActionType finalUnitAction)
Description copied from interface: FinalUnitIndicationAvp
Sets the value of the Final-Unit-Action AVP, of type Enumerated. See: FinalUnitActionType

Specified by:
setFinalUnitAction in interface FinalUnitIndicationAvp

setRedirectServer

public void setRedirectServer(RedirectServerAvp redirectServer)
Description copied from interface: FinalUnitIndicationAvp
Sets the value of the Redirect-Server AVP, of type Grouped. See: RedirectServerAvp

Specified by:
setRedirectServer in interface FinalUnitIndicationAvp

setRestrictionFilterRule

public void setRestrictionFilterRule(net.java.slee.resource.diameter.base.events.avp.IPFilterRule restrictionFilterRule)
Description copied from interface: FinalUnitIndicationAvp
Sets the set of Restriction-Filter-Rule 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 getRestrictionFilterRules() is not guaranteed to return the same array instance, e.g. an "==" check would fail. See: IPFilterRule

Specified by:
setRestrictionFilterRule in interface FinalUnitIndicationAvp

setRestrictionFilterRules

public void setRestrictionFilterRules(net.java.slee.resource.diameter.base.events.avp.IPFilterRule[] restrictionFilterRules)
Description copied from interface: FinalUnitIndicationAvp
Sets the set of Restriction-Filter-Rule AVPs, with all the values in the given array. See: IPFilterRule

Specified by:
setRestrictionFilterRules in interface FinalUnitIndicationAvp


Copyright © 2012. All Rights Reserved.