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

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.ExperimentalResultAvpImpl
All Implemented Interfaces:
java.lang.Cloneable, DiameterAvp, ExperimentalResultAvp, GroupedAvp

public class ExperimentalResultAvpImpl
extends GroupedAvpImpl
implements ExperimentalResultAvp


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
ExperimentalResultAvpImpl(int code, long vendorId, int mnd, int prt, byte[] value)
           
 
Method Summary
 long getExperimentalResultCode()
          Returns the value of the Experimental-Result-Code AVP, of type Unsigned32.
 boolean hasExperimentalResultCode()
          Returns true if the Experimental-Result-Code AVP is present in the message.
 boolean hasVendorId()
          Returns true if the Vendor-Id AVP is present in the message.
 void setExperimentalResultCode(long experimentalResultCode)
          Sets the value of the Experimental-Result-Code AVP, of type Unsigned32.
 void setVendorId(long vendorId)
          Sets the value of the Vendor-Id AVP, of type Unsigned32.
 
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

ExperimentalResultAvpImpl

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

getExperimentalResultCode

public long getExperimentalResultCode()
Description copied from interface: ExperimentalResultAvp
Returns the value of the Experimental-Result-Code AVP, of type Unsigned32. A return value of -1 implies that the AVP has not been set or some error has been encountered.

Specified by:
getExperimentalResultCode in interface ExperimentalResultAvp

hasExperimentalResultCode

public boolean hasExperimentalResultCode()
Description copied from interface: ExperimentalResultAvp
Returns true if the Experimental-Result-Code AVP is present in the message.

Specified by:
hasExperimentalResultCode in interface ExperimentalResultAvp

hasVendorId

public boolean hasVendorId()
Description copied from interface: ExperimentalResultAvp
Returns true if the Vendor-Id AVP is present in the message.

Specified by:
hasVendorId in interface ExperimentalResultAvp

setExperimentalResultCode

public void setExperimentalResultCode(long experimentalResultCode)
Description copied from interface: ExperimentalResultAvp
Sets the value of the Experimental-Result-Code AVP, of type Unsigned32.

Specified by:
setExperimentalResultCode in interface ExperimentalResultAvp

setVendorId

public void setVendorId(long vendorId)
Description copied from interface: ExperimentalResultAvp
Sets the value of the Vendor-Id AVP, of type Unsigned32.

Specified by:
setVendorId in interface ExperimentalResultAvp


Copyright © 2008. All Rights Reserved.