org.mobicents.slee.resource.diameter.base.events.avp
Class VendorSpecificApplicationIdAvpImpl

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.base.events.avp.VendorSpecificApplicationIdAvpImpl
All Implemented Interfaces:
java.lang.Cloneable, DiameterAvp, GroupedAvp, VendorSpecificApplicationIdAvp

public class VendorSpecificApplicationIdAvpImpl
extends GroupedAvpImpl
implements VendorSpecificApplicationIdAvp


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, log, mnd, name, parser, prt, type, 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
VendorSpecificApplicationIdAvpImpl(int code, long vendorId, int mnd, int prt, byte[] value)
           
 
Method Summary
 long getAcctApplicationId()
          Returns the value of the Acct-Application-Id AVP, of type Unsigned32.
 long getAuthApplicationId()
          Returns the value of the Auth-Application-Id AVP, of type Unsigned32.
 long[] getVendorIds()
          Returns the set of Vendor-Id AVPs.
 boolean hasAcctApplicationId()
          Returns true if the Acct-Application-Id AVP is present in the message.
 boolean hasAuthApplicationId()
          Returns true if the Auth-Application-Id AVP is present in the message.
 void setAcctApplicationId(long acctApplicationId)
          Sets the value of the Acct-Application-Id AVP, of type Unsigned32.
 void setAuthApplicationId(long authApplicationId)
          Sets the value of the Auth-Application-Id AVP, of type Unsigned32.
 void setVendorId(long vendorId)
          Sets a single Vendor-Id AVP in the message, of type Unsigned32.
 void setVendorIds(long[] vendorIds)
          Sets the set of Vendor-Id AVPs, with all the values in the given array.
 
Methods inherited from class org.mobicents.slee.resource.diameter.base.events.avp.GroupedAvpImpl
byteArrayValue, clone, doubleValue, floatValue, getAllAvpAsUInt32, getAvpAsIdentity, getAvpAsUInt32, getExtensionAvps, hasExtensionAvps, intValue, longValue, setAvpAsByteArray, setAvpAsIdentity, setAvpAsUInt32, setExtensionAvps, stringValue
 
Methods inherited from class org.mobicents.slee.resource.diameter.base.events.avp.DiameterAvpImpl
getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorId, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.java.slee.resource.diameter.base.events.avp.GroupedAvp
getExtensionAvps, hasExtensionAvps, 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, stringValue
 

Constructor Detail

VendorSpecificApplicationIdAvpImpl

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

getVendorIds

public long[] getVendorIds()
Description copied from interface: VendorSpecificApplicationIdAvp
Returns the set of Vendor-Id AVPs. The returned array contains the AVPs in the order they appear in the message. A return value of null implies that no Vendor-Id AVPs have been set. The elements in the given array are long objects.

Specified by:
getVendorIds in interface VendorSpecificApplicationIdAvp

setVendorId

public void setVendorId(long vendorId)
Description copied from interface: VendorSpecificApplicationIdAvp
Sets a single Vendor-Id AVP in the message, of type Unsigned32.

Specified by:
setVendorId in interface VendorSpecificApplicationIdAvp

setVendorIds

public void setVendorIds(long[] vendorIds)
Description copied from interface: VendorSpecificApplicationIdAvp
Sets the set of Vendor-Id 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 getVendorIds() is not guaranteed to return the same array instance, e.g. an "==" check would fail.

Specified by:
setVendorIds in interface VendorSpecificApplicationIdAvp

hasAuthApplicationId

public boolean hasAuthApplicationId()
Description copied from interface: VendorSpecificApplicationIdAvp
Returns true if the Auth-Application-Id AVP is present in the message.

Specified by:
hasAuthApplicationId in interface VendorSpecificApplicationIdAvp

getAuthApplicationId

public long getAuthApplicationId()
Description copied from interface: VendorSpecificApplicationIdAvp
Returns the value of the Auth-Application-Id AVP, of type Unsigned32. A return value of null implies that the AVP has not been set.

Specified by:
getAuthApplicationId in interface VendorSpecificApplicationIdAvp

setAuthApplicationId

public void setAuthApplicationId(long authApplicationId)
Description copied from interface: VendorSpecificApplicationIdAvp
Sets the value of the Auth-Application-Id AVP, of type Unsigned32.

Specified by:
setAuthApplicationId in interface VendorSpecificApplicationIdAvp

hasAcctApplicationId

public boolean hasAcctApplicationId()
Description copied from interface: VendorSpecificApplicationIdAvp
Returns true if the Acct-Application-Id AVP is present in the message.

Specified by:
hasAcctApplicationId in interface VendorSpecificApplicationIdAvp

getAcctApplicationId

public long getAcctApplicationId()
Description copied from interface: VendorSpecificApplicationIdAvp
Returns the value of the Acct-Application-Id AVP, of type Unsigned32. A return value of null implies that the AVP has not been set.

Specified by:
getAcctApplicationId in interface VendorSpecificApplicationIdAvp

setAcctApplicationId

public void setAcctApplicationId(long acctApplicationId)
Description copied from interface: VendorSpecificApplicationIdAvp
Sets the value of the Acct-Application-Id AVP, of type Unsigned32.

Specified by:
setAcctApplicationId in interface VendorSpecificApplicationIdAvp


Copyright © 2008. All Rights Reserved.