public interface LocationType extends GroupedAvp
7.2.96 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 ]Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDeferredLocationEventType()
Returns the value of the Deferred-Location-Event-Type AVP, of type UTF8String.
|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
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 Location-Type AVP.
|
boolean |
hasLocationEstimateType()
Returns true if the Location-Estimate-Type AVP is present in the Location-Type AVP.
|
void |
removeDeferredLocationEventType()
Removes the Deferred-Location-Event-Type AVP from the Location-Type AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the Location-Type AVP.
|
void |
removeLocationEstimateType()
Removes the Location-Estimate-Type AVP from the Location-Type AVP.
|
void |
setDeferredLocationEventType(java.lang.String deferredLocationEventType)
Sets the value of the Deferred-Location-Event-Type AVP, of type UTF8String.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setLocationEstimateType(LocationEstimateType locationEstimateType)
Sets the value of the Location-Estimate-Type AVP, of type Enumerated.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasLocationEstimateType()
LocationEstimateType getLocationEstimateType()
void setLocationEstimateType(LocationEstimateType locationEstimateType)
java.lang.NullPointerException
- if locationEstimateType
is null
.void removeLocationEstimateType()
boolean hasDeferredLocationEventType()
java.lang.String getDeferredLocationEventType()
void setDeferredLocationEventType(java.lang.String deferredLocationEventType)
java.lang.NullPointerException
- if deferredLocationEventType
is null
.void removeDeferredLocationEventType()
DiameterAvp[] getExtensionAvps()
void setExtensionAvps(DiameterAvp[] avps) throws AvpNotAllowedException
AvpNotAllowedException
- if an AVP is encountered of a type already known to this class
(i.e. an AVP for which get/set methods already appear in this class)java.lang.NullPointerException
- if avps
is null
.void removeExtensionAvps()