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

java.lang.Object
  extended by org.mobicents.slee.resource.diameter.base.events.avp.DiameterAvpImpl
      extended by org.mobicents.slee.resource.diameter.base.events.avp.DiameterIdentityAvpImpl
All Implemented Interfaces:
java.lang.Cloneable, DiameterAvp, DiameterIdentityAvp

public class DiameterIdentityAvpImpl
extends DiameterAvpImpl
implements DiameterIdentityAvp

Super project: mobicents 12:53:13 2008-05-08

Author:
baranowb - Bartosz Baranowski

Field Summary
 
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
DiameterIdentityAvpImpl(int code, long vendorId, int mnd, int prt, byte[] value)
           
 
Method Summary
 byte[] byteArrayValue()
          Return the raw contents of this AVP
 java.lang.Object clone()
          Creates and returns a deep copy of this AVP instance.
 double doubleValue()
          The value of this AVP if the Diameter type can be represented in a Java double value (e.g., Float64, Float32)
 float floatValue()
          The value of this AVP if the Diameter type can be represented in a Java float value (e.g., Float32)
 int intValue()
          The value of this AVP if the Diameter type can be represented in a Java int value (e.g., Integer32)
 long longValue()
          The value of this AVP if the Diameter type can be represented in a Java long value (e.g., Integer64, Unsigned32, Integer32)
 java.lang.String stringValue()
          The value of this AVP if the Diameter type is equivalent to a Java String value (e.g., UTF8String)
 
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.DiameterAvp
getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorId
 

Constructor Detail

DiameterIdentityAvpImpl

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

byteArrayValue

public byte[] byteArrayValue()
Description copied from interface: DiameterAvp
Return the raw contents of this AVP

Specified by:
byteArrayValue in interface DiameterAvp
Overrides:
byteArrayValue in class DiameterAvpImpl
Returns:
the AVP value as a byte array

doubleValue

public double doubleValue()
Description copied from interface: DiameterAvp
The value of this AVP if the Diameter type can be represented in a Java double value (e.g., Float64, Float32)

Specified by:
doubleValue in interface DiameterAvp
Overrides:
doubleValue in class DiameterAvpImpl
Returns:
the AVP value as a double

floatValue

public float floatValue()
Description copied from interface: DiameterAvp
The value of this AVP if the Diameter type can be represented in a Java float value (e.g., Float32)

Specified by:
floatValue in interface DiameterAvp
Overrides:
floatValue in class DiameterAvpImpl
Returns:
the AVP value as a float

intValue

public int intValue()
Description copied from interface: DiameterAvp
The value of this AVP if the Diameter type can be represented in a Java int value (e.g., Integer32)

Specified by:
intValue in interface DiameterAvp
Overrides:
intValue in class DiameterAvpImpl
Returns:
the AVP value as an int

longValue

public long longValue()
Description copied from interface: DiameterAvp
The value of this AVP if the Diameter type can be represented in a Java long value (e.g., Integer64, Unsigned32, Integer32)

Specified by:
longValue in interface DiameterAvp
Overrides:
longValue in class DiameterAvpImpl
Returns:
the AVP value as a long

stringValue

public java.lang.String stringValue()
Description copied from interface: DiameterAvp
The value of this AVP if the Diameter type is equivalent to a Java String value (e.g., UTF8String)

Specified by:
stringValue in interface DiameterAvp
Overrides:
stringValue in class DiameterAvpImpl
Returns:
the AVP value as a String

clone

public java.lang.Object clone()
Description copied from interface: DiameterAvp
Creates and returns a deep copy of this AVP instance.

Specified by:
clone in interface DiameterAvp
Overrides:
clone in class DiameterAvpImpl
Returns:
a deep copy of this AVP.


Copyright © 2008. All Rights Reserved.