public interface SupplementaryService extends GroupedAvp
7.2.219 Supplementary-Service AVP The Supplementary-Service AVP (AVP code 2048) is of type Grouped and holds the specific supplementary service details for one MMTel supplementary service. It has the following ABNF grammar: Supplementary-Service ::= < AVP Header: 2048> [ Service-Type ] [ Service-Mode ] [ Number-Of-Diversions ] [ Associated-Party-Address ] [ Service-Id ] [ Change-Time ] [ Number-Of-Participants ] [ Participant-Action-Type ] [ CUG-Information ]
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAssociatedPartyAddress()
Returns the value of the Associated-Party-Address AVP, of type UTF8String.
|
java.util.Date |
getChangeTime()
Returns the value of the Change-Time AVP, of type Time.
|
byte[] |
getCugInformation()
Returns the value of the CUG-Information AVP, of type OctetString.
|
long |
getNumberOfDiversions()
Returns the value of the Number-Of-Diversions AVP, of type Unsigned32.
|
long |
getNumberOfParticipants()
Returns the value of the Number-Of-Participants AVP, of type Unsigned32.
|
ParticipantActionType |
getParticipantActionType()
Returns the value of the Participant-Action-Type AVP, of type Enumerated.
|
java.lang.String |
getServiceId()
Returns the value of the Service-Id AVP, of type UTF8String.
|
long |
getServiceMode()
Returns the value of the Service-Mode AVP, of type Unsigned32.
|
long |
getServiceType()
Returns the value of the Service-Type AVP, of type Unsigned32.
|
boolean |
hasAssociatedPartyAddress()
Returns true if the Associated-Party-Address AVP is present in the Supplementary-Service AVP.
|
boolean |
hasChangeTime()
Returns true if the Change-Time AVP is present in the Supplementary-Service AVP.
|
boolean |
hasCugInformation()
Returns true if the CUG-Information AVP is present in the Supplementary-Service AVP.
|
boolean |
hasNumberOfDiversions()
Returns true if the Number-Of-Diversions AVP is present in the Supplementary-Service AVP.
|
boolean |
hasNumberOfParticipants()
Returns true if the Number-Of-Participants AVP is present in the Supplementary-Service AVP.
|
boolean |
hasParticipantActionType()
Returns true if the Participant-Action-Type AVP is present in the Supplementary-Service AVP.
|
boolean |
hasServiceId()
Returns true if the Service-Id AVP is present in the Supplementary-Service AVP.
|
boolean |
hasServiceMode()
Returns true if the Service-Mode AVP is present in the Supplementary-Service AVP.
|
boolean |
hasServiceType()
Returns true if the Service-Type AVP is present in the Supplementary-Service AVP.
|
void |
removeAssociatedPartyAddress()
Removes the Associated-Party-Address AVP from the Supplementary-Service AVP.
|
void |
removeChangeTime()
Removes the Change-Time AVP from the Supplementary-Service AVP.
|
void |
removeCugInformation()
Removes the CUG-Information AVP from the Supplementary-Service AVP.
|
void |
removeNumberOfDiversions()
Removes the Number-Of-Diversions AVP from the Supplementary-Service AVP.
|
void |
removeNumberOfParticipants()
Removes the Number-Of-Participants AVP from the Supplementary-Service AVP.
|
void |
removeParticipantActionType()
Removes the Participant-Action-Type AVP from the Supplementary-Service AVP.
|
void |
removeServiceId()
Removes the Service-Id AVP from the Supplementary-Service AVP.
|
void |
removeServiceMode()
Removes the Service-Mode AVP from the Supplementary-Service AVP.
|
void |
removeServiceType()
Removes the Service-Type AVP from the Supplementary-Service AVP.
|
void |
setAssociatedPartyAddress(java.lang.String associatedPartyAddress)
Sets the value of the Associated-Party-Address AVP, of type UTF8String.
|
void |
setChangeTime(java.util.Date changeTime)
Sets the value of the Change-Time AVP, of type Time.
|
void |
setCugInformation(byte[] cugInformation)
Sets the value of the CUG-Information AVP, of type OctetString.
|
void |
setNumberOfDiversions(long numberOfDiversions)
Sets the value of the Number-Of-Diversions AVP, of type Unsigned32.
|
void |
setNumberOfParticipants(long numberOfParticipants)
Sets the value of the Number-Of-Participants AVP, of type Unsigned32.
|
void |
setParticipantActionType(ParticipantActionType participantActionType)
Sets the value of the Participant-Action-Type AVP, of type Enumerated.
|
void |
setServiceId(java.lang.String serviceId)
Sets the value of the Service-Id AVP, of type UTF8String.
|
void |
setServiceMode(long serviceMode)
Sets the value of the Service-Mode AVP, of type Unsigned32.
|
void |
setServiceType(long serviceType)
Sets the value of the Service-Type AVP, of type Unsigned32.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasServiceType()
long getServiceType()
hasServiceType()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Service-Type AVP has not been set.void setServiceType(long serviceType)
void removeServiceType()
boolean hasServiceMode()
long getServiceMode()
hasServiceMode()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Service-Mode AVP has not been set.void setServiceMode(long serviceMode)
void removeServiceMode()
boolean hasNumberOfDiversions()
long getNumberOfDiversions()
hasNumberOfDiversions()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Number-Of-Diversions AVP has not been set.void setNumberOfDiversions(long numberOfDiversions)
void removeNumberOfDiversions()
boolean hasAssociatedPartyAddress()
java.lang.String getAssociatedPartyAddress()
void setAssociatedPartyAddress(java.lang.String associatedPartyAddress)
java.lang.NullPointerException
- if associatedPartyAddress
is null
.void removeAssociatedPartyAddress()
boolean hasServiceId()
java.lang.String getServiceId()
void setServiceId(java.lang.String serviceId)
java.lang.NullPointerException
- if serviceId
is null
.void removeServiceId()
boolean hasChangeTime()
java.util.Date getChangeTime()
void setChangeTime(java.util.Date changeTime)
java.lang.NullPointerException
- if changeTime
is null
.void removeChangeTime()
boolean hasNumberOfParticipants()
long getNumberOfParticipants()
hasNumberOfParticipants()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Number-Of-Participants AVP has not been set.void setNumberOfParticipants(long numberOfParticipants)
void removeNumberOfParticipants()
boolean hasParticipantActionType()
ParticipantActionType getParticipantActionType()
void setParticipantActionType(ParticipantActionType participantActionType)
java.lang.NullPointerException
- if participantActionType
is null
.void removeParticipantActionType()
boolean hasCugInformation()
byte[] getCugInformation()
void setCugInformation(byte[] cugInformation)
java.lang.NullPointerException
- if cugInformation
is null
.void removeCugInformation()