public interface CoverageInfo extends GroupedAvp
7.2.46 aAa Coverage-Info AVP The Coverage-Info AVP (AVP code 3459) is of type Grouped and provides information on the coverage status (i.e., whether the UE is served by E-UTRAN or not) and the time when the coverage status changed to its current state. When in E-UTRAN coverage, additionally includes a list of location changes (i.e., ECGI change) and associated time for each change. It has the following ABNF grammar: Coverage-Info ::= < AVP Header: 3459> [ Coverage-Status ] [ Change-Time ] * [ Location-Info ]Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getChangeTime()
Returns the value of the Change-Time AVP, of type Time.
|
CoverageStatus |
getCoverageStatus()
Returns the value of the Coverage-Status AVP, of type Enumerated.
|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
LocationInfo[] |
getLocationInfos()
Returns the set of Location-Info AVPs.
|
boolean |
hasChangeTime()
Returns true if the Change-Time AVP is present in the Coverage-Info AVP.
|
boolean |
hasCoverageStatus()
Returns true if the Coverage-Status AVP is present in the Coverage-Info AVP.
|
void |
removeChangeTime()
Removes the Change-Time AVP from the Coverage-Info AVP.
|
void |
removeCoverageStatus()
Removes the Coverage-Status AVP from the Coverage-Info AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the Coverage-Info AVP.
|
void |
removeLocationInfos()
Removes all Location-Info AVPs from the Coverage-Info AVP.
|
void |
setChangeTime(java.util.Date changeTime)
Sets the value of the Change-Time AVP, of type Time.
|
void |
setCoverageStatus(CoverageStatus coverageStatus)
Sets the value of the Coverage-Status AVP, of type Enumerated.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setLocationInfo(LocationInfo locationInfo)
Sets a single Location-Info AVP in the Coverage-Info AVP, of type Grouped.
|
void |
setLocationInfos(LocationInfo[] locationInfos)
Sets the set of Location-Info AVPs, with all the values in the given array.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasCoverageStatus()
CoverageStatus getCoverageStatus()
void setCoverageStatus(CoverageStatus coverageStatus)
java.lang.NullPointerException
- if coverageStatus
is null
.void removeCoverageStatus()
boolean hasChangeTime()
java.util.Date getChangeTime()
void setChangeTime(java.util.Date changeTime)
java.lang.NullPointerException
- if changeTime
is null
.void removeChangeTime()
LocationInfo[] getLocationInfos()
void setLocationInfo(LocationInfo locationInfo)
java.lang.NullPointerException
- if locationInfo
is null
.void setLocationInfos(LocationInfo[] locationInfos)
java.lang.NullPointerException
- if locationInfos
is null
.void removeLocationInfos()
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()