public interface PocUserRole extends GroupedAvp
7.2.149 PoC-User-Role AVP The PoC-User-Role AVP (AVP code 1252) is of type Grouped. It specifies the role(s) related information of the PoC User that participating in the PoC Session. It has the following grammar: PoC-User-Role ::= < AVP Header: 1252> [ PoC-User-Role-Ids ] [ PoC-User-Role-Info-Units ]Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
java.lang.String |
getPocUserRoleIds()
Returns the value of the PoC-User-Role-Ids AVP, of type UTF8String.
|
PocUserRoleInfoUnits |
getPocUserRoleInfoUnits()
Returns the value of the PoC-User-Role-Info-Units AVP, of type Enumerated.
|
boolean |
hasPocUserRoleIds()
Returns true if the PoC-User-Role-Ids AVP is present in the PoC-User-Role AVP.
|
boolean |
hasPocUserRoleInfoUnits()
Returns true if the PoC-User-Role-Info-Units AVP is present in the PoC-User-Role AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the PoC-User-Role AVP.
|
void |
removePocUserRoleIds()
Removes the PoC-User-Role-Ids AVP from the PoC-User-Role AVP.
|
void |
removePocUserRoleInfoUnits()
Removes the PoC-User-Role-Info-Units AVP from the PoC-User-Role AVP.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setPocUserRoleIds(java.lang.String pocUserRoleIds)
Sets the value of the PoC-User-Role-Ids AVP, of type UTF8String.
|
void |
setPocUserRoleInfoUnits(PocUserRoleInfoUnits pocUserRoleInfoUnits)
Sets the value of the PoC-User-Role-Info-Units AVP, of type Enumerated.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasPocUserRoleIds()
java.lang.String getPocUserRoleIds()
void setPocUserRoleIds(java.lang.String pocUserRoleIds)
java.lang.NullPointerException
- if pocUserRoleIds
is null
.void removePocUserRoleIds()
boolean hasPocUserRoleInfoUnits()
PocUserRoleInfoUnits getPocUserRoleInfoUnits()
void setPocUserRoleInfoUnits(PocUserRoleInfoUnits pocUserRoleInfoUnits)
java.lang.NullPointerException
- if pocUserRoleInfoUnits
is null
.void removePocUserRoleInfoUnits()
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()