org.mobicents.slee.resource.diameter.ro.events.avp
Class LcsInformationImpl

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.ro.events.avp.LcsInformationImpl
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, LcsInformation

public class LcsInformationImpl
extends org.mobicents.slee.resource.diameter.base.events.avp.GroupedAvpImpl
implements LcsInformation

LcsInformationImpl.java
Project: mobicents
11:49:03 AM Apr 12, 2009

Author:
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
LcsInformationImpl()
           
LcsInformationImpl(int code, long vendorId, int mnd, int prt, byte[] value)
           
 
Method Summary
 LcsClientId getLcsClientId()
          Returns the value of the LCS-Client-ID AVP, of type Grouped.
 java.lang.String getLocationEstimate()
          Returns the value of the Location-Estimate AVP, of type UTF8String.
 LocationType getLocationType()
          Returns the value of the Location-Type AVP, of type Grouped.
 boolean hasLcsClientId()
          Returns true if the LCS-Client-ID AVP is present in the message.
 boolean hasLocationEstimate()
          Returns true if the Location-Estimate AVP is present in the message.
 boolean hasLocationType()
          Returns true if the Location-Type AVP is present in the message.
 void setLcsClientId(LcsClientId lcsClientId)
          Sets the value of the LCS-Client-ID AVP, of type Grouped.
 void setLocationEstimate(java.lang.String locationEstimate)
          Sets the value of the Location-Estimate AVP, of type UTF8String.
 void setLocationType(LocationType locationType)
          Sets the value of the Location-Type 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, 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

LcsInformationImpl

public LcsInformationImpl()

LcsInformationImpl

public LcsInformationImpl(int code,
                          long vendorId,
                          int mnd,
                          int prt,
                          byte[] value)
Parameters:
code -
vendorId -
mnd -
prt -
value -
Method Detail

getLcsClientId

public LcsClientId getLcsClientId()
Description copied from interface: LcsInformation
Returns the value of the LCS-Client-ID AVP, of type Grouped. A return value of null implies that the AVP has not been set.

Specified by:
getLcsClientId in interface LcsInformation

getLocationEstimate

public java.lang.String getLocationEstimate()
Description copied from interface: LcsInformation
Returns the value of the Location-Estimate AVP, of type UTF8String. A return value of null implies that the AVP has not been set.

Specified by:
getLocationEstimate in interface LcsInformation

getLocationType

public LocationType getLocationType()
Description copied from interface: LcsInformation
Returns the value of the Location-Type AVP, of type Grouped. A return value of null implies that the AVP has not been set.

Specified by:
getLocationType in interface LcsInformation

hasLcsClientId

public boolean hasLcsClientId()
Description copied from interface: LcsInformation
Returns true if the LCS-Client-ID AVP is present in the message.

Specified by:
hasLcsClientId in interface LcsInformation

hasLocationEstimate

public boolean hasLocationEstimate()
Description copied from interface: LcsInformation
Returns true if the Location-Estimate AVP is present in the message.

Specified by:
hasLocationEstimate in interface LcsInformation

hasLocationType

public boolean hasLocationType()
Description copied from interface: LcsInformation
Returns true if the Location-Type AVP is present in the message.

Specified by:
hasLocationType in interface LcsInformation

setLcsClientId

public void setLcsClientId(LcsClientId lcsClientId)
Description copied from interface: LcsInformation
Sets the value of the LCS-Client-ID AVP, of type Grouped.

Specified by:
setLcsClientId in interface LcsInformation

setLocationEstimate

public void setLocationEstimate(java.lang.String locationEstimate)
Description copied from interface: LcsInformation
Sets the value of the Location-Estimate AVP, of type UTF8String.

Specified by:
setLocationEstimate in interface LcsInformation

setLocationType

public void setLocationType(LocationType locationType)
Description copied from interface: LcsInformation
Sets the value of the Location-Type AVP, of type Grouped.

Specified by:
setLocationType in interface LcsInformation


Copyright © 2011. All Rights Reserved.