public interface LcsInformation extends GroupedAvp
7.2.48 LCS-Information AVP The LCS-Information AVP (AVP code 878) is of type Grouped. Its purpose is to allow the transmission of additional LCS service specific information elements. It has the following ABNF grammar: LCS-Information ::= < AVP Header: 878> [ LCS-Client-Id ] [ Location-Type ] [ Location-Estimate ] [ Positioning-Data ] #exclude [ IMSI ] #exclude [ MSISDN ] #excludeNote:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
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 LCS-Information AVP.
|
boolean |
hasLocationEstimate()
Returns true if the Location-Estimate AVP is present in the LCS-Information AVP.
|
boolean |
hasLocationType()
Returns true if the Location-Type AVP is present in the LCS-Information AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the LCS-Information AVP.
|
void |
removeLcsClientId()
Removes the LCS-Client-Id AVP from the LCS-Information AVP.
|
void |
removeLocationEstimate()
Removes the Location-Estimate AVP from the LCS-Information AVP.
|
void |
removeLocationType()
Removes the Location-Type AVP from the LCS-Information AVP.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
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.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasLcsClientId()
LcsClientId getLcsClientId()
void setLcsClientId(LcsClientId lcsClientId)
java.lang.NullPointerException
- if lcsClientId
is null
.void removeLcsClientId()
boolean hasLocationType()
LocationType getLocationType()
void setLocationType(LocationType locationType)
java.lang.NullPointerException
- if locationType
is null
.void removeLocationType()
boolean hasLocationEstimate()
java.lang.String getLocationEstimate()
void setLocationEstimate(java.lang.String locationEstimate)
java.lang.NullPointerException
- if locationEstimate
is null
.void removeLocationEstimate()
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()