public interface ParticipantGroup extends GroupedAvp
7.2.101 Participant-Group AVP The Participant-Group AVP (AVP code 1260) is of type Grouped and holds detailed information, e.g. the address (Public User ID: SIP URI, TEL URI, MSISDN), the access priority parameters, etc, of the party who is involved into the PoC session. It has the following ABNF grammar: Participant-Group ::= < AVP Header: 1260> [ Called-Party-Address ] [ Participant-Access-Priority ] [ User-Participating-Type ]Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCalledPartyAddress()
Returns the value of the Called-Party-Address AVP, of type UTF8String.
|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
ParticipantAccessPriority |
getParticipantAccessPriority()
Returns the value of the Participant-Access-Priority AVP, of type Enumerated.
|
UserParticipatingType |
getUserParticipatingType()
Returns the value of the User-Participating-Type AVP, of type Enumerated.
|
boolean |
hasCalledPartyAddress()
Returns true if the Called-Party-Address AVP is present in the Participant-Group AVP.
|
boolean |
hasParticipantAccessPriority()
Returns true if the Participant-Access-Priority AVP is present in the Participant-Group AVP.
|
boolean |
hasUserParticipatingType()
Returns true if the User-Participating-Type AVP is present in the Participant-Group AVP.
|
void |
removeCalledPartyAddress()
Removes the Called-Party-Address AVP from the Participant-Group AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the Participant-Group AVP.
|
void |
removeParticipantAccessPriority()
Removes the Participant-Access-Priority AVP from the Participant-Group AVP.
|
void |
removeUserParticipatingType()
Removes the User-Participating-Type AVP from the Participant-Group AVP.
|
void |
setCalledPartyAddress(java.lang.String calledPartyAddress)
Sets the value of the Called-Party-Address AVP, of type UTF8String.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setParticipantAccessPriority(ParticipantAccessPriority participantAccessPriority)
Sets the value of the Participant-Access-Priority AVP, of type Enumerated.
|
void |
setUserParticipatingType(UserParticipatingType userParticipatingType)
Sets the value of the User-Participating-Type AVP, of type Enumerated.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasCalledPartyAddress()
java.lang.String getCalledPartyAddress()
void setCalledPartyAddress(java.lang.String calledPartyAddress)
java.lang.NullPointerException
- if calledPartyAddress
is null
.void removeCalledPartyAddress()
boolean hasParticipantAccessPriority()
ParticipantAccessPriority getParticipantAccessPriority()
void setParticipantAccessPriority(ParticipantAccessPriority participantAccessPriority)
java.lang.NullPointerException
- if participantAccessPriority
is null
.void removeParticipantAccessPriority()
boolean hasUserParticipatingType()
UserParticipatingType getUserParticipatingType()
void setUserParticipatingType(UserParticipatingType userParticipatingType)
java.lang.NullPointerException
- if userParticipatingType
is null
.void removeUserParticipatingType()
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()