public interface PresenceReportingAreaInformation extends GroupedAvp
5.3.109 Presence-Reporting-Area-Information AVP (3GPP-EPS access type) The Presence-Reporting-Area-Information AVP (AVP code 2822) is of type Grouped, contains the information which describes a Presence Reporting Area. The Presence-Reporting-Area-Identifier AVP defines a unique identifier for presence area. The Presence-Reporting-Area-Status AVP indicates the status of UE for presence reporting area. The Presence-Reporting-Area-Elements-List AVP contains, for a UE-dedicated presence area, the elements of the Presence Reporting Area. For a core network pre-configured presence reporting area, the element list shall not be present. When the presence area is UE-dedicated, the PCRF may acquire the presence reporting area information from the SPR. AVP Format: Presence-Reporting-Area-Information ::= < AVP Header: 2822 > [ Presence-Reporting-Area-Identifier ] [ Presence-Reporting-Area-Status ] [ Presence-Reporting-Area-Elements-List ] *[ AVP ]
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
byte[] |
getPresenceReportingAreaElementsList()
Returns the value of the Presence-Reporting-Area-Elements-List AVP, of type OctetString.
|
byte[] |
getPresenceReportingAreaIdentifier()
Returns the value of the Presence-Reporting-Area-Identifier AVP, of type OctetString.
|
long |
getPresenceReportingAreaStatus()
Returns the value of the Presence-Reporting-Area-Status AVP, of type Unsigned32.
|
boolean |
hasPresenceReportingAreaElementsList()
Returns true if the Presence-Reporting-Area-Elements-List AVP is present in the Presence-Reporting-Area-Information AVP.
|
boolean |
hasPresenceReportingAreaIdentifier()
Returns true if the Presence-Reporting-Area-Identifier AVP is present in the Presence-Reporting-Area-Information AVP.
|
boolean |
hasPresenceReportingAreaStatus()
Returns true if the Presence-Reporting-Area-Status AVP is present in the Presence-Reporting-Area-Information AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the Presence-Reporting-Area-Information AVP.
|
void |
removePresenceReportingAreaElementsList()
Removes the Presence-Reporting-Area-Elements-List AVP from the Presence-Reporting-Area-Information AVP.
|
void |
removePresenceReportingAreaIdentifier()
Removes the Presence-Reporting-Area-Identifier AVP from the Presence-Reporting-Area-Information AVP.
|
void |
removePresenceReportingAreaStatus()
Removes the Presence-Reporting-Area-Status AVP from the Presence-Reporting-Area-Information AVP.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setPresenceReportingAreaElementsList(byte[] presenceReportingAreaElementsList)
Sets the value of the Presence-Reporting-Area-Elements-List AVP, of type OctetString.
|
void |
setPresenceReportingAreaIdentifier(byte[] presenceReportingAreaIdentifier)
Sets the value of the Presence-Reporting-Area-Identifier AVP, of type OctetString.
|
void |
setPresenceReportingAreaStatus(long presenceReportingAreaStatus)
Sets the value of the Presence-Reporting-Area-Status AVP, of type Unsigned32.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasPresenceReportingAreaIdentifier()
byte[] getPresenceReportingAreaIdentifier()
void setPresenceReportingAreaIdentifier(byte[] presenceReportingAreaIdentifier)
java.lang.NullPointerException
- if presenceReportingAreaIdentifier
is null
.void removePresenceReportingAreaIdentifier()
boolean hasPresenceReportingAreaStatus()
long getPresenceReportingAreaStatus()
hasPresenceReportingAreaStatus()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Presence-Reporting-Area-Status AVP has not been set.void setPresenceReportingAreaStatus(long presenceReportingAreaStatus)
void removePresenceReportingAreaStatus()
boolean hasPresenceReportingAreaElementsList()
byte[] getPresenceReportingAreaElementsList()
void setPresenceReportingAreaElementsList(byte[] presenceReportingAreaElementsList)
java.lang.NullPointerException
- if presenceReportingAreaElementsList
is null
.void removePresenceReportingAreaElementsList()
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()