public interface LcsInformation extends GroupedAvp
7.2.89 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 ] [ TGPP-IMSI ] [ MSISDN ]Note:
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.
|
byte[] |
getMsisdn()
Returns the value of the MSISDN AVP, of type OctetString.
|
java.lang.String |
getPositioningData()
Returns the value of the Positioning-Data AVP, of type UTF8String.
|
java.lang.String |
getTgppImsi()
Returns the value of the TGPP-IMSI AVP, of type UTF8String.
|
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.
|
boolean |
hasMsisdn()
Returns true if the MSISDN AVP is present in the LCS-Information AVP.
|
boolean |
hasPositioningData()
Returns true if the Positioning-Data AVP is present in the LCS-Information AVP.
|
boolean |
hasTgppImsi()
Returns true if the TGPP-IMSI 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 |
removeMsisdn()
Removes the MSISDN AVP from the LCS-Information AVP.
|
void |
removePositioningData()
Removes the Positioning-Data AVP from the LCS-Information AVP.
|
void |
removeTgppImsi()
Removes the TGPP-IMSI 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.
|
void |
setMsisdn(byte[] msisdn)
Sets the value of the MSISDN AVP, of type OctetString.
|
void |
setPositioningData(java.lang.String positioningData)
Sets the value of the Positioning-Data AVP, of type UTF8String.
|
void |
setTgppImsi(java.lang.String tgppImsi)
Sets the value of the TGPP-IMSI AVP, of type UTF8String.
|
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()
boolean hasPositioningData()
java.lang.String getPositioningData()
void setPositioningData(java.lang.String positioningData)
java.lang.NullPointerException
- if positioningData
is null
.void removePositioningData()
boolean hasTgppImsi()
java.lang.String getTgppImsi()
void setTgppImsi(java.lang.String tgppImsi)
java.lang.NullPointerException
- if tgppImsi
is null
.void removeTgppImsi()
boolean hasMsisdn()
byte[] getMsisdn()
void setMsisdn(byte[] msisdn)
java.lang.NullPointerException
- if msisdn
is null
.void removeMsisdn()
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()