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

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.GSUPoolReferenceAvpImpl
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, GSUPoolReferenceAvp

public class GSUPoolReferenceAvpImpl
extends org.mobicents.slee.resource.diameter.base.events.avp.GroupedAvpImpl
implements GSUPoolReferenceAvp

Start time:16:03:57 2008-11-10
Project: mobicents-diameter-parent
Implementation of AVP: GSUPoolReferenceAvp

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
GSUPoolReferenceAvpImpl()
           
GSUPoolReferenceAvpImpl(int code, long vendorId, int mnd, int prt, byte[] value)
           
 
Method Summary
 CcUnitType getCreditControlUnitType()
          Returns the value of the CC-Unit-Type AVP, of type Enumerated.
 long getGSUPoolIdentifier()
          Returns the value of the G-S-U-Pool-Identifier AVP, of type Unsigned32.
 UnitValueAvp getUnitValue()
          Returns the value of the Unit-Value AVP, of type Grouped.
 boolean hasCreditControlUnitType()
          Returns true if the CC-Unit-Type AVP is present in the message.
 boolean hasGSUPoolIdentifier()
          Returns true if the G-S-U-Pool-Identifier AVP is present in the message.
 boolean hasUnitValue()
          Returns true if the Unit-Value AVP is present in the message.
 void setCreditControlUnitType(CcUnitType ccUnitType)
          Sets the value of the CC-Unit-Type AVP, of type Enumerated.
 void setGSUPoolIdentifier(long gsuPoolIdentifier)
          Sets the value of the G-S-U-Pool-Identifier AVP, of type Unsigned32.
 void setUnitValue(UnitValueAvp unitValue)
          Sets the value of the Unit-Value AVP, of type Grouped.
 
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, 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, 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

GSUPoolReferenceAvpImpl

public GSUPoolReferenceAvpImpl()

GSUPoolReferenceAvpImpl

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

getCreditControlUnitType

public CcUnitType getCreditControlUnitType()
Description copied from interface: GSUPoolReferenceAvp
Returns the value of the CC-Unit-Type AVP, of type Enumerated.
See: CcUnitType.

Specified by:
getCreditControlUnitType in interface GSUPoolReferenceAvp
Returns:

getGSUPoolIdentifier

public long getGSUPoolIdentifier()
Description copied from interface: GSUPoolReferenceAvp
Returns the value of the G-S-U-Pool-Identifier AVP, of type Unsigned32.

Specified by:
getGSUPoolIdentifier in interface GSUPoolReferenceAvp
Returns:

getUnitValue

public UnitValueAvp getUnitValue()
Description copied from interface: GSUPoolReferenceAvp
Returns the value of the Unit-Value AVP, of type Grouped.

Specified by:
getUnitValue in interface GSUPoolReferenceAvp
Returns:

hasCreditControlUnitType

public boolean hasCreditControlUnitType()
Description copied from interface: GSUPoolReferenceAvp
Returns true if the CC-Unit-Type AVP is present in the message.

Specified by:
hasCreditControlUnitType in interface GSUPoolReferenceAvp
Returns:

hasGSUPoolIdentifier

public boolean hasGSUPoolIdentifier()
Description copied from interface: GSUPoolReferenceAvp
Returns true if the G-S-U-Pool-Identifier AVP is present in the message.

Specified by:
hasGSUPoolIdentifier in interface GSUPoolReferenceAvp
Returns:

hasUnitValue

public boolean hasUnitValue()
Description copied from interface: GSUPoolReferenceAvp
Returns true if the Unit-Value AVP is present in the message.

Specified by:
hasUnitValue in interface GSUPoolReferenceAvp
Returns:

setCreditControlUnitType

public void setCreditControlUnitType(CcUnitType ccUnitType)
Description copied from interface: GSUPoolReferenceAvp
Sets the value of the CC-Unit-Type AVP, of type Enumerated.
See: CcUnitType.

Specified by:
setCreditControlUnitType in interface GSUPoolReferenceAvp

setGSUPoolIdentifier

public void setGSUPoolIdentifier(long gsuPoolIdentifier)
Description copied from interface: GSUPoolReferenceAvp
Sets the value of the G-S-U-Pool-Identifier AVP, of type Unsigned32.

Specified by:
setGSUPoolIdentifier in interface GSUPoolReferenceAvp

setUnitValue

public void setUnitValue(UnitValueAvp unitValue)
Description copied from interface: GSUPoolReferenceAvp
Sets the value of the Unit-Value AVP, of type Grouped.
See

Specified by:
setUnitValue in interface GSUPoolReferenceAvp


Copyright © 2011. All Rights Reserved.