net.java.slee.resource.diameter.ro.events.avp
Interface LocationType

All Superinterfaces:
java.lang.Cloneable, net.java.slee.resource.diameter.base.events.avp.DiameterAvp, net.java.slee.resource.diameter.base.events.avp.GroupedAvp
All Known Implementing Classes:
LocationTypeImpl

public interface LocationType
extends net.java.slee.resource.diameter.base.events.avp.GroupedAvp

Defines an interface representing the Location-Type grouped AVP type.

From the Diameter Ro Reference Point Protocol Details (3GPP TS 32.299 V7.1.0) specification:

 7.2.54 Location-Type AVP 
 The Location-Type AVP (AVP code 1244) is of type Grouped and indicates the type of location estimate required by the
 LCS client. 
 
 It has the following ABNF grammar: 
  Location-Type::= AVP Header: 1244 
      [ Location-Estimate-Type ] 
      [ Deferred-Location-Event-Type ]
 

Author:
Alexandre Mendonca , Bartosz Baranowski

Field Summary
 
Fields inherited from interface net.java.slee.resource.diameter.base.events.avp.DiameterAvp
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
 
Method Summary
 java.lang.String getDeferredLocationEventType()
          Returns the value of the Deferred-Location-Event-Type AVP, of type UTF8String.
 LocationEstimateType getLocationEstimateType()
          Returns the value of the Location-Estimate-Type AVP, of type Enumerated.
 boolean hasDeferredLocationEventType()
          Returns true if the Deferred-Location-Event-Type AVP is present in the message.
 boolean hasLocationEstimateType()
          Returns true if the Location-Estimate-Type AVP is present in the message.
 void setDeferredLocationEventType(java.lang.String deferredLocationEventType)
          Sets the value of the Deferred-Location-Event-Type AVP, of type UTF8String.
 void setLocationEstimateType(LocationEstimateType locationEstimateType)
          Sets the value of the Location-Estimate-Type AVP, of type Enumerated.
 
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
 

Method Detail

getDeferredLocationEventType

java.lang.String getDeferredLocationEventType()
Returns the value of the Deferred-Location-Event-Type AVP, of type UTF8String. A return value of null implies that the AVP has not been set.


getLocationEstimateType

LocationEstimateType getLocationEstimateType()
Returns the value of the Location-Estimate-Type AVP, of type Enumerated. A return value of null implies that the AVP has not been set.


hasDeferredLocationEventType

boolean hasDeferredLocationEventType()
Returns true if the Deferred-Location-Event-Type AVP is present in the message.


hasLocationEstimateType

boolean hasLocationEstimateType()
Returns true if the Location-Estimate-Type AVP is present in the message.


setDeferredLocationEventType

void setDeferredLocationEventType(java.lang.String deferredLocationEventType)
Sets the value of the Deferred-Location-Event-Type AVP, of type UTF8String.


setLocationEstimateType

void setLocationEstimateType(LocationEstimateType locationEstimateType)
Sets the value of the Location-Estimate-Type AVP, of type Enumerated.



Copyright © 2011. All Rights Reserved.