Interface ImsInformation
-
- All Superinterfaces:
Cloneable,DiameterAvp,GroupedAvp
public interface ImsInformation extends GroupedAvp
Defines an interface representing the IMS-Information grouped AVP type. From the Diameter Ro Reference Point Protocol Details (3GPP TS 32.299 V8.2.0) specification:7.2.58 IMS-Information AVP The IMS-Information AVP (AVP code 876) is of type Grouped. Its purpose is to allow the transmission of additional IMS service specific information elements. It has the following ABNF grammar: IMS-Information ::= < AVP Header: 876> [ Event-Type ] [ Role-Of-Node ] { Node-Functionality } [ User-Session-Id ] * [ Calling-Party-Address ] [ Called-Party-Address ] * [ Called-Asserted-Identity ] [ Number-Portability-Routing-Information ] [ Carrier-Select-Routing-Information ] [ Alternate-Charged-Party-Address ] [ Requested-Party-Address ] * [ Associated-URI ] [ Time-Stamps ] * [ Application-Server-Information ] * [ Inter-Operator-Identifier ] [ IMS-Charging-Identifier ] * [ SDP-Session-Description ] * [ SDP-Media-Component ] [ Served-Party-IP-Address ] [ Server-Capabilities ] [ Trunk-Group-ID ] [ Bearer-Service ] [ Service-Id ] * [ Service-Specific-Info ] * [ Message-Body ] [ Cause-Code ] [ Access-Network-Information ] * [ Early-Media-Description] [ IMS-Communication-Service-Identifier ]Note:
The support for extension AVPs is present even thou the ABNF grammar for this AVP does not contain the "* [ AVP ]" line. Be aware that adding any extension AVPs may result in interoperability problems with products that strongly validate the incoming diameter message for it's adherence to the specification.
-
-
Field Summary
-
Fields inherited from interface org.jainslee.resources.diameter.base.DiameterAvp
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]getAccessNetworkInformation()Returns the value of the Access-Network-Information AVP, of type OctetString.StringgetAlternateChargedPartyAddress()Returns the value of the Alternate-Charged-Party-Address AVP, of type UTF8String.ApplicationServerInformation[]getApplicationServerInformations()Returns the set of Application-Server-Information AVPs.String[]getAssociatedUris()Returns the set of Associated-URI AVPs.byte[]getBearerService()Returns the value of the Bearer-Service AVP, of type OctetString.String[]getCalledAssertedIdentitys()Returns the set of Called-Asserted-Identity AVPs.StringgetCalledPartyAddress()Returns the value of the Called-Party-Address AVP, of type UTF8String.String[]getCallingPartyAddresses()Returns the set of Calling-Party-Address AVPs.StringgetCarrierSelectRoutingInformation()Returns the value of the Carrier-Select-Routing-Information AVP, of type UTF8String.intgetCauseCode()Returns the value of the Cause-Code AVP, of type Integer32.EarlyMediaDescription[]getEarlyMediaDescriptions()Returns the set of Early-Media-Description AVPs.EventTypegetEventType()Returns the value of the Event-Type AVP, of type Grouped.DiameterAvp[]getExtensionAvps()Returns the set of extension AVPs.StringgetImsChargingIdentifier()Returns the value of the IMS-Charging-Identifier AVP, of type UTF8String.StringgetImsCommunicationServiceIdentifier()Returns the value of the IMS-Communication-Service-Identifier AVP, of type UTF8String.InterOperatorIdentifier[]getInterOperatorIdentifiers()Returns the set of Inter-Operator-Identifier AVPs.MessageBody[]getMessageBodys()Returns the set of Message-Body AVPs.NodeFunctionalitygetNodeFunctionality()Returns the value of the Node-Functionality AVP, of type Enumerated.StringgetNumberPortabilityRoutingInformation()Returns the value of the Number-Portability-Routing-Information AVP, of type UTF8String.StringgetRequestedPartyAddress()Returns the value of the Requested-Party-Address AVP, of type UTF8String.RoleOfNodegetRoleOfNode()Returns the value of the Role-Of-Node AVP, of type Enumerated.SdpMediaComponent[]getSdpMediaComponents()Returns the set of SDP-Media-Component AVPs.String[]getSdpSessionDescriptions()Returns the set of SDP-Session-Description AVPs.AddressgetServedPartyIpAddress()Returns the value of the Served-Party-IP-Address AVP, of type Address.ServerCapabilitiesgetServerCapabilities()Returns the value of the Server-Capabilities AVP, of type Grouped.StringgetServiceId()Returns the value of the Service-Id AVP, of type UTF8String.ServiceSpecificInfo[]getServiceSpecificInfos()Returns the set of Service-Specific-Info AVPs.TimeStampsgetTimeStamps()Returns the value of the Time-Stamps AVP, of type Grouped.TrunkGroupIdgetTrunkGroupId()Returns the value of the Trunk-Group-ID AVP, of type Grouped.StringgetUserSessionId()Returns the value of the User-Session-Id AVP, of type UTF8String.booleanhasAccessNetworkInformation()Returns true if the Access-Network-Information AVP is present in the IMS-Information AVP.booleanhasAlternateChargedPartyAddress()Returns true if the Alternate-Charged-Party-Address AVP is present in the IMS-Information AVP.booleanhasBearerService()Returns true if the Bearer-Service AVP is present in the IMS-Information AVP.booleanhasCalledPartyAddress()Returns true if the Called-Party-Address AVP is present in the IMS-Information AVP.booleanhasCarrierSelectRoutingInformation()Returns true if the Carrier-Select-Routing-Information AVP is present in the IMS-Information AVP.booleanhasCauseCode()Returns true if the Cause-Code AVP is present in the IMS-Information AVP.booleanhasEventType()Returns true if the Event-Type AVP is present in the IMS-Information AVP.booleanhasImsChargingIdentifier()Returns true if the IMS-Charging-Identifier AVP is present in the IMS-Information AVP.booleanhasImsCommunicationServiceIdentifier()Returns true if the IMS-Communication-Service-Identifier AVP is present in the IMS-Information AVP.booleanhasNodeFunctionality()Returns true if the Node-Functionality AVP is present in the IMS-Information AVP.booleanhasNumberPortabilityRoutingInformation()Returns true if the Number-Portability-Routing-Information AVP is present in the IMS-Information AVP.booleanhasRequestedPartyAddress()Returns true if the Requested-Party-Address AVP is present in the IMS-Information AVP.booleanhasRoleOfNode()Returns true if the Role-Of-Node AVP is present in the IMS-Information AVP.booleanhasServedPartyIpAddress()Returns true if the Served-Party-IP-Address AVP is present in the IMS-Information AVP.booleanhasServerCapabilities()Returns true if the Server-Capabilities AVP is present in the IMS-Information AVP.booleanhasServiceId()Returns true if the Service-Id AVP is present in the IMS-Information AVP.booleanhasTimeStamps()Returns true if the Time-Stamps AVP is present in the IMS-Information AVP.booleanhasTrunkGroupId()Returns true if the Trunk-Group-ID AVP is present in the IMS-Information AVP.booleanhasUserSessionId()Returns true if the User-Session-Id AVP is present in the IMS-Information AVP.voidremoveAccessNetworkInformation()Removes the Access-Network-Information AVP from the IMS-Information AVP.voidremoveAlternateChargedPartyAddress()Removes the Alternate-Charged-Party-Address AVP from the IMS-Information AVP.voidremoveApplicationServerInformations()Removes all Application-Server-Information AVPs from the IMS-Information AVP.voidremoveAssociatedUris()Removes all Associated-URI AVPs from the IMS-Information AVP.voidremoveBearerService()Removes the Bearer-Service AVP from the IMS-Information AVP.voidremoveCalledAssertedIdentitys()Removes all Called-Asserted-Identity AVPs from the IMS-Information AVP.voidremoveCalledPartyAddress()Removes the Called-Party-Address AVP from the IMS-Information AVP.voidremoveCallingPartyAddresses()Removes all Calling-Party-Address AVPs from the IMS-Information AVP.voidremoveCarrierSelectRoutingInformation()Removes the Carrier-Select-Routing-Information AVP from the IMS-Information AVP.voidremoveCauseCode()Removes the Cause-Code AVP from the IMS-Information AVP.voidremoveEarlyMediaDescriptions()Removes all Early-Media-Description AVPs from the IMS-Information AVP.voidremoveEventType()Removes the Event-Type AVP from the IMS-Information AVP.voidremoveExtensionAvps()Removes all extension AVPs from the IMS-Information AVP.voidremoveImsChargingIdentifier()Removes the IMS-Charging-Identifier AVP from the IMS-Information AVP.voidremoveImsCommunicationServiceIdentifier()Removes the IMS-Communication-Service-Identifier AVP from the IMS-Information AVP.voidremoveInterOperatorIdentifiers()Removes all Inter-Operator-Identifier AVPs from the IMS-Information AVP.voidremoveMessageBodys()Removes all Message-Body AVPs from the IMS-Information AVP.voidremoveNodeFunctionality()Removes the Node-Functionality AVP from the IMS-Information AVP.voidremoveNumberPortabilityRoutingInformation()Removes the Number-Portability-Routing-Information AVP from the IMS-Information AVP.voidremoveRequestedPartyAddress()Removes the Requested-Party-Address AVP from the IMS-Information AVP.voidremoveRoleOfNode()Removes the Role-Of-Node AVP from the IMS-Information AVP.voidremoveSdpMediaComponents()Removes all SDP-Media-Component AVPs from the IMS-Information AVP.voidremoveSdpSessionDescriptions()Removes all SDP-Session-Description AVPs from the IMS-Information AVP.voidremoveServedPartyIpAddress()Removes the Served-Party-IP-Address AVP from the IMS-Information AVP.voidremoveServerCapabilities()Removes the Server-Capabilities AVP from the IMS-Information AVP.voidremoveServiceId()Removes the Service-Id AVP from the IMS-Information AVP.voidremoveServiceSpecificInfos()Removes all Service-Specific-Info AVPs from the IMS-Information AVP.voidremoveTimeStamps()Removes the Time-Stamps AVP from the IMS-Information AVP.voidremoveTrunkGroupId()Removes the Trunk-Group-ID AVP from the IMS-Information AVP.voidremoveUserSessionId()Removes the User-Session-Id AVP from the IMS-Information AVP.voidsetAccessNetworkInformation(byte[] accessNetworkInformation)Sets the value of the Access-Network-Information AVP, of type OctetString.voidsetAlternateChargedPartyAddress(String alternateChargedPartyAddress)Sets the value of the Alternate-Charged-Party-Address AVP, of type UTF8String.voidsetApplicationServerInformation(ApplicationServerInformation applicationServerInformation)Sets a single Application-Server-Information AVP in the IMS-Information AVP, of type Grouped.voidsetApplicationServerInformations(ApplicationServerInformation[] applicationServerInformations)Sets the set of Application-Server-Information AVPs, with all the values in the given array.voidsetAssociatedUri(String associatedUri)Sets a single Associated-URI AVP in the IMS-Information AVP, of type UTF8String.voidsetAssociatedUris(String[] associatedUris)Sets the set of Associated-URI AVPs, with all the values in the given array.voidsetBearerService(byte[] bearerService)Sets the value of the Bearer-Service AVP, of type OctetString.voidsetCalledAssertedIdentity(String calledAssertedIdentity)Sets a single Called-Asserted-Identity AVP in the IMS-Information AVP, of type UTF8String.voidsetCalledAssertedIdentitys(String[] calledAssertedIdentitys)Sets the set of Called-Asserted-Identity AVPs, with all the values in the given array.voidsetCalledPartyAddress(String calledPartyAddress)Sets the value of the Called-Party-Address AVP, of type UTF8String.voidsetCallingPartyAddress(String callingPartyAddress)Sets a single Calling-Party-Address AVP in the IMS-Information AVP, of type UTF8String.voidsetCallingPartyAddresses(String[] callingPartyAddresses)Sets the set of Calling-Party-Address AVPs, with all the values in the given array.voidsetCarrierSelectRoutingInformation(String carrierSelectRoutingInformation)Sets the value of the Carrier-Select-Routing-Information AVP, of type UTF8String.voidsetCauseCode(int causeCode)Sets the value of the Cause-Code AVP, of type Integer32.voidsetEarlyMediaDescription(EarlyMediaDescription earlyMediaDescription)Sets a single Early-Media-Description AVP in the IMS-Information AVP, of type Grouped.voidsetEarlyMediaDescriptions(EarlyMediaDescription[] earlyMediaDescriptions)Sets the set of Early-Media-Description AVPs, with all the values in the given array.voidsetEventType(EventType eventType)Sets the value of the Event-Type AVP, of type Grouped.voidsetExtensionAvps(DiameterAvp[] avps)Sets the set of extension AVPs with all the values in the given array.voidsetImsChargingIdentifier(String imsChargingIdentifier)Sets the value of the IMS-Charging-Identifier AVP, of type UTF8String.voidsetImsCommunicationServiceIdentifier(String imsCommunicationServiceIdentifier)Sets the value of the IMS-Communication-Service-Identifier AVP, of type UTF8String.voidsetInterOperatorIdentifier(InterOperatorIdentifier interOperatorIdentifier)Sets a single Inter-Operator-Identifier AVP in the IMS-Information AVP, of type Grouped.voidsetInterOperatorIdentifiers(InterOperatorIdentifier[] interOperatorIdentifiers)Sets the set of Inter-Operator-Identifier AVPs, with all the values in the given array.voidsetMessageBody(MessageBody messageBody)Sets a single Message-Body AVP in the IMS-Information AVP, of type Grouped.voidsetMessageBodys(MessageBody[] messageBodys)Sets the set of Message-Body AVPs, with all the values in the given array.voidsetNodeFunctionality(NodeFunctionality nodeFunctionality)Sets the value of the Node-Functionality AVP, of type Enumerated.voidsetNumberPortabilityRoutingInformation(String numberPortabilityRoutingInformation)Sets the value of the Number-Portability-Routing-Information AVP, of type UTF8String.voidsetRequestedPartyAddress(String requestedPartyAddress)Sets the value of the Requested-Party-Address AVP, of type UTF8String.voidsetRoleOfNode(RoleOfNode roleOfNode)Sets the value of the Role-Of-Node AVP, of type Enumerated.voidsetSdpMediaComponent(SdpMediaComponent sdpMediaComponent)Sets a single SDP-Media-Component AVP in the IMS-Information AVP, of type Grouped.voidsetSdpMediaComponents(SdpMediaComponent[] sdpMediaComponents)Sets the set of SDP-Media-Component AVPs, with all the values in the given array.voidsetSdpSessionDescription(String sdpSessionDescription)Sets a single SDP-Session-Description AVP in the IMS-Information AVP, of type UTF8String.voidsetSdpSessionDescriptions(String[] sdpSessionDescriptions)Sets the set of SDP-Session-Description AVPs, with all the values in the given array.voidsetServedPartyIpAddress(Address servedPartyIpAddress)Sets the value of the Served-Party-IP-Address AVP, of type Address.voidsetServerCapabilities(ServerCapabilities serverCapabilities)Sets the value of the Server-Capabilities AVP, of type Grouped.voidsetServiceId(String serviceId)Sets the value of the Service-Id AVP, of type UTF8String.voidsetServiceSpecificInfo(ServiceSpecificInfo serviceSpecificInfo)Sets a single Service-Specific-Info AVP in the IMS-Information AVP, of type Grouped.voidsetServiceSpecificInfos(ServiceSpecificInfo[] serviceSpecificInfos)Sets the set of Service-Specific-Info AVPs, with all the values in the given array.voidsetTimeStamps(TimeStamps timeStamps)Sets the value of the Time-Stamps AVP, of type Grouped.voidsetTrunkGroupId(TrunkGroupId trunkGroupId)Sets the value of the Trunk-Group-ID AVP, of type Grouped.voidsetUserSessionId(String userSessionId)Sets the value of the User-Session-Id AVP, of type UTF8String.-
Methods inherited from interface org.jainslee.resources.diameter.base.DiameterAvp
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
-
-
-
-
Method Detail
-
hasEventType
boolean hasEventType()
Returns true if the Event-Type AVP is present in the IMS-Information AVP.
-
getEventType
EventType getEventType()
Returns the value of the Event-Type AVP, of type Grouped.- Returns:
- the value of the Event-Type AVP, or null if it has not been set.
-
setEventType
void setEventType(EventType eventType)
Sets the value of the Event-Type AVP, of type Grouped.- Throws:
NullPointerException- ifeventTypeisnull.
-
removeEventType
void removeEventType()
Removes the Event-Type AVP from the IMS-Information AVP. If the Event-Type AVP is not present, this method returns silently.
-
hasRoleOfNode
boolean hasRoleOfNode()
Returns true if the Role-Of-Node AVP is present in the IMS-Information AVP.
-
getRoleOfNode
RoleOfNode getRoleOfNode()
Returns the value of the Role-Of-Node AVP, of type Enumerated.- Returns:
- the value of the Role-Of-Node AVP, or null if it has not been set.
-
setRoleOfNode
void setRoleOfNode(RoleOfNode roleOfNode)
Sets the value of the Role-Of-Node AVP, of type Enumerated.- Throws:
NullPointerException- ifroleOfNodeisnull.
-
removeRoleOfNode
void removeRoleOfNode()
Removes the Role-Of-Node AVP from the IMS-Information AVP. If the Role-Of-Node AVP is not present, this method returns silently.
-
hasNodeFunctionality
boolean hasNodeFunctionality()
Returns true if the Node-Functionality AVP is present in the IMS-Information AVP.
-
getNodeFunctionality
NodeFunctionality getNodeFunctionality()
Returns the value of the Node-Functionality AVP, of type Enumerated.- Returns:
- the value of the Node-Functionality AVP, or null if it has not been set.
-
setNodeFunctionality
void setNodeFunctionality(NodeFunctionality nodeFunctionality)
Sets the value of the Node-Functionality AVP, of type Enumerated.- Throws:
NullPointerException- ifnodeFunctionalityisnull.
-
removeNodeFunctionality
void removeNodeFunctionality()
Removes the Node-Functionality AVP from the IMS-Information AVP. If the Node-Functionality AVP is not present, this method returns silently.
-
hasUserSessionId
boolean hasUserSessionId()
Returns true if the User-Session-Id AVP is present in the IMS-Information AVP.
-
getUserSessionId
String getUserSessionId()
Returns the value of the User-Session-Id AVP, of type UTF8String.- Returns:
- the value of the User-Session-Id AVP, or null if it has not been set.
-
setUserSessionId
void setUserSessionId(String userSessionId)
Sets the value of the User-Session-Id AVP, of type UTF8String.- Throws:
NullPointerException- ifuserSessionIdisnull.
-
removeUserSessionId
void removeUserSessionId()
Removes the User-Session-Id AVP from the IMS-Information AVP. If the User-Session-Id AVP is not present, this method returns silently.
-
getCallingPartyAddresses
String[] getCallingPartyAddresses()
Returns the set of Calling-Party-Address AVPs. The returned array contains the AVPs in the order they appear in the IMS-Information AVP. A return value of null implies that no Calling-Party-Address AVPs have been set. The elements in the given array are String objects.
-
setCallingPartyAddress
void setCallingPartyAddress(String callingPartyAddress)
Sets a single Calling-Party-Address AVP in the IMS-Information AVP, of type UTF8String.- Throws:
NullPointerException- ifcallingPartyAddressisnull.
-
setCallingPartyAddresses
void setCallingPartyAddresses(String[] callingPartyAddresses)
Sets the set of Calling-Party-Address AVPs, with all the values in the given array. The AVPs will be added to the IMS-Information AVP in the order in which they appear in the array. Note: the array must not be altered by the caller following this call, and getCallingPartyAddresses() is not guaranteed to return the same array instance, e.g. an "==" check would fail.- Throws:
NullPointerException- ifcallingPartyAddressesisnull.
-
removeCallingPartyAddresses
void removeCallingPartyAddresses()
Removes all Calling-Party-Address AVPs from the IMS-Information AVP. If no Calling-Party-Address AVPs are present, this method returns silently.
-
hasCalledPartyAddress
boolean hasCalledPartyAddress()
Returns true if the Called-Party-Address AVP is present in the IMS-Information AVP.
-
getCalledPartyAddress
String getCalledPartyAddress()
Returns the value of the Called-Party-Address AVP, of type UTF8String.- Returns:
- the value of the Called-Party-Address AVP, or null if it has not been set.
-
setCalledPartyAddress
void setCalledPartyAddress(String calledPartyAddress)
Sets the value of the Called-Party-Address AVP, of type UTF8String.- Throws:
NullPointerException- ifcalledPartyAddressisnull.
-
removeCalledPartyAddress
void removeCalledPartyAddress()
Removes the Called-Party-Address AVP from the IMS-Information AVP. If the Called-Party-Address AVP is not present, this method returns silently.
-
getCalledAssertedIdentitys
String[] getCalledAssertedIdentitys()
Returns the set of Called-Asserted-Identity AVPs. The returned array contains the AVPs in the order they appear in the IMS-Information AVP. A return value of null implies that no Called-Asserted-Identity AVPs have been set. The elements in the given array are String objects.
-
setCalledAssertedIdentity
void setCalledAssertedIdentity(String calledAssertedIdentity)
Sets a single Called-Asserted-Identity AVP in the IMS-Information AVP, of type UTF8String.- Throws:
NullPointerException- ifcalledAssertedIdentityisnull.
-
setCalledAssertedIdentitys
void setCalledAssertedIdentitys(String[] calledAssertedIdentitys)
Sets the set of Called-Asserted-Identity AVPs, with all the values in the given array. The AVPs will be added to the IMS-Information AVP in the order in which they appear in the array. Note: the array must not be altered by the caller following this call, and getCalledAssertedIdentitys() is not guaranteed to return the same array instance, e.g. an "==" check would fail.- Throws:
NullPointerException- ifcalledAssertedIdentitysisnull.
-
removeCalledAssertedIdentitys
void removeCalledAssertedIdentitys()
Removes all Called-Asserted-Identity AVPs from the IMS-Information AVP. If no Called-Asserted-Identity AVPs are present, this method returns silently.
-
hasNumberPortabilityRoutingInformation
boolean hasNumberPortabilityRoutingInformation()
Returns true if the Number-Portability-Routing-Information AVP is present in the IMS-Information AVP.
-
getNumberPortabilityRoutingInformation
String getNumberPortabilityRoutingInformation()
Returns the value of the Number-Portability-Routing-Information AVP, of type UTF8String.- Returns:
- the value of the Number-Portability-Routing-Information AVP, or null if it has not been set.
-
setNumberPortabilityRoutingInformation
void setNumberPortabilityRoutingInformation(String numberPortabilityRoutingInformation)
Sets the value of the Number-Portability-Routing-Information AVP, of type UTF8String.- Throws:
NullPointerException- ifnumberPortabilityRoutingInformationisnull.
-
removeNumberPortabilityRoutingInformation
void removeNumberPortabilityRoutingInformation()
Removes the Number-Portability-Routing-Information AVP from the IMS-Information AVP. If the Number-Portability-Routing-Information AVP is not present, this method returns silently.
-
hasCarrierSelectRoutingInformation
boolean hasCarrierSelectRoutingInformation()
Returns true if the Carrier-Select-Routing-Information AVP is present in the IMS-Information AVP.
-
getCarrierSelectRoutingInformation
String getCarrierSelectRoutingInformation()
Returns the value of the Carrier-Select-Routing-Information AVP, of type UTF8String.- Returns:
- the value of the Carrier-Select-Routing-Information AVP, or null if it has not been set.
-
setCarrierSelectRoutingInformation
void setCarrierSelectRoutingInformation(String carrierSelectRoutingInformation)
Sets the value of the Carrier-Select-Routing-Information AVP, of type UTF8String.- Throws:
NullPointerException- ifcarrierSelectRoutingInformationisnull.
-
removeCarrierSelectRoutingInformation
void removeCarrierSelectRoutingInformation()
Removes the Carrier-Select-Routing-Information AVP from the IMS-Information AVP. If the Carrier-Select-Routing-Information AVP is not present, this method returns silently.
-
hasAlternateChargedPartyAddress
boolean hasAlternateChargedPartyAddress()
Returns true if the Alternate-Charged-Party-Address AVP is present in the IMS-Information AVP.
-
getAlternateChargedPartyAddress
String getAlternateChargedPartyAddress()
Returns the value of the Alternate-Charged-Party-Address AVP, of type UTF8String.- Returns:
- the value of the Alternate-Charged-Party-Address AVP, or null if it has not been set.
-
setAlternateChargedPartyAddress
void setAlternateChargedPartyAddress(String alternateChargedPartyAddress)
Sets the value of the Alternate-Charged-Party-Address AVP, of type UTF8String.- Throws:
NullPointerException- ifalternateChargedPartyAddressisnull.
-
removeAlternateChargedPartyAddress
void removeAlternateChargedPartyAddress()
Removes the Alternate-Charged-Party-Address AVP from the IMS-Information AVP. If the Alternate-Charged-Party-Address AVP is not present, this method returns silently.
-
hasRequestedPartyAddress
boolean hasRequestedPartyAddress()
Returns true if the Requested-Party-Address AVP is present in the IMS-Information AVP.
-
getRequestedPartyAddress
String getRequestedPartyAddress()
Returns the value of the Requested-Party-Address AVP, of type UTF8String.- Returns:
- the value of the Requested-Party-Address AVP, or null if it has not been set.
-
setRequestedPartyAddress
void setRequestedPartyAddress(String requestedPartyAddress)
Sets the value of the Requested-Party-Address AVP, of type UTF8String.- Throws:
NullPointerException- ifrequestedPartyAddressisnull.
-
removeRequestedPartyAddress
void removeRequestedPartyAddress()
Removes the Requested-Party-Address AVP from the IMS-Information AVP. If the Requested-Party-Address AVP is not present, this method returns silently.
-
getAssociatedUris
String[] getAssociatedUris()
Returns the set of Associated-URI AVPs. The returned array contains the AVPs in the order they appear in the IMS-Information AVP. A return value of null implies that no Associated-URI AVPs have been set. The elements in the given array are String objects.
-
setAssociatedUri
void setAssociatedUri(String associatedUri)
Sets a single Associated-URI AVP in the IMS-Information AVP, of type UTF8String.- Throws:
NullPointerException- ifassociatedUriisnull.
-
setAssociatedUris
void setAssociatedUris(String[] associatedUris)
Sets the set of Associated-URI AVPs, with all the values in the given array. The AVPs will be added to the IMS-Information AVP in the order in which they appear in the array. Note: the array must not be altered by the caller following this call, and getAssociatedUris() is not guaranteed to return the same array instance, e.g. an "==" check would fail.- Throws:
NullPointerException- ifassociatedUrisisnull.
-
removeAssociatedUris
void removeAssociatedUris()
Removes all Associated-URI AVPs from the IMS-Information AVP. If no Associated-URI AVPs are present, this method returns silently.
-
hasTimeStamps
boolean hasTimeStamps()
Returns true if the Time-Stamps AVP is present in the IMS-Information AVP.
-
getTimeStamps
TimeStamps getTimeStamps()
Returns the value of the Time-Stamps AVP, of type Grouped.- Returns:
- the value of the Time-Stamps AVP, or null if it has not been set.
-
setTimeStamps
void setTimeStamps(TimeStamps timeStamps)
Sets the value of the Time-Stamps AVP, of type Grouped.- Throws:
NullPointerException- iftimeStampsisnull.
-
removeTimeStamps
void removeTimeStamps()
Removes the Time-Stamps AVP from the IMS-Information AVP. If the Time-Stamps AVP is not present, this method returns silently.
-
getApplicationServerInformations
ApplicationServerInformation[] getApplicationServerInformations()
Returns the set of Application-Server-Information AVPs. The returned array contains the AVPs in the order they appear in the IMS-Information AVP. A return value of null implies that no Application-Server-Information AVPs have been set. The elements in the given array are ApplicationServerInformation objects.
-
setApplicationServerInformation
void setApplicationServerInformation(ApplicationServerInformation applicationServerInformation)
Sets a single Application-Server-Information AVP in the IMS-Information AVP, of type Grouped.- Throws:
NullPointerException- ifapplicationServerInformationisnull.
-
setApplicationServerInformations
void setApplicationServerInformations(ApplicationServerInformation[] applicationServerInformations)
Sets the set of Application-Server-Information AVPs, with all the values in the given array. The AVPs will be added to the IMS-Information AVP in the order in which they appear in the array. Note: the array must not be altered by the caller following this call, and getApplicationServerInformations() is not guaranteed to return the same array instance, e.g. an "==" check would fail.- Throws:
NullPointerException- ifapplicationServerInformationsisnull.
-
removeApplicationServerInformations
void removeApplicationServerInformations()
Removes all Application-Server-Information AVPs from the IMS-Information AVP. If no Application-Server-Information AVPs are present, this method returns silently.
-
getInterOperatorIdentifiers
InterOperatorIdentifier[] getInterOperatorIdentifiers()
Returns the set of Inter-Operator-Identifier AVPs. The returned array contains the AVPs in the order they appear in the IMS-Information AVP. A return value of null implies that no Inter-Operator-Identifier AVPs have been set. The elements in the given array are InterOperatorIdentifier objects.
-
setInterOperatorIdentifier
void setInterOperatorIdentifier(InterOperatorIdentifier interOperatorIdentifier)
Sets a single Inter-Operator-Identifier AVP in the IMS-Information AVP, of type Grouped.- Throws:
NullPointerException- ifinterOperatorIdentifierisnull.
-
setInterOperatorIdentifiers
void setInterOperatorIdentifiers(InterOperatorIdentifier[] interOperatorIdentifiers)
Sets the set of Inter-Operator-Identifier AVPs, with all the values in the given array. The AVPs will be added to the IMS-Information AVP in the order in which they appear in the array. Note: the array must not be altered by the caller following this call, and getInterOperatorIdentifiers() is not guaranteed to return the same array instance, e.g. an "==" check would fail.- Throws:
NullPointerException- ifinterOperatorIdentifiersisnull.
-
removeInterOperatorIdentifiers
void removeInterOperatorIdentifiers()
Removes all Inter-Operator-Identifier AVPs from the IMS-Information AVP. If no Inter-Operator-Identifier AVPs are present, this method returns silently.
-
hasImsChargingIdentifier
boolean hasImsChargingIdentifier()
Returns true if the IMS-Charging-Identifier AVP is present in the IMS-Information AVP.
-
getImsChargingIdentifier
String getImsChargingIdentifier()
Returns the value of the IMS-Charging-Identifier AVP, of type UTF8String.- Returns:
- the value of the IMS-Charging-Identifier AVP, or null if it has not been set.
-
setImsChargingIdentifier
void setImsChargingIdentifier(String imsChargingIdentifier)
Sets the value of the IMS-Charging-Identifier AVP, of type UTF8String.- Throws:
NullPointerException- ifimsChargingIdentifierisnull.
-
removeImsChargingIdentifier
void removeImsChargingIdentifier()
Removes the IMS-Charging-Identifier AVP from the IMS-Information AVP. If the IMS-Charging-Identifier AVP is not present, this method returns silently.
-
getSdpSessionDescriptions
String[] getSdpSessionDescriptions()
Returns the set of SDP-Session-Description AVPs. The returned array contains the AVPs in the order they appear in the IMS-Information AVP. A return value of null implies that no SDP-Session-Description AVPs have been set. The elements in the given array are String objects.
-
setSdpSessionDescription
void setSdpSessionDescription(String sdpSessionDescription)
Sets a single SDP-Session-Description AVP in the IMS-Information AVP, of type UTF8String.- Throws:
NullPointerException- ifsdpSessionDescriptionisnull.
-
setSdpSessionDescriptions
void setSdpSessionDescriptions(String[] sdpSessionDescriptions)
Sets the set of SDP-Session-Description AVPs, with all the values in the given array. The AVPs will be added to the IMS-Information AVP in the order in which they appear in the array. Note: the array must not be altered by the caller following this call, and getSdpSessionDescriptions() is not guaranteed to return the same array instance, e.g. an "==" check would fail.- Throws:
NullPointerException- ifsdpSessionDescriptionsisnull.
-
removeSdpSessionDescriptions
void removeSdpSessionDescriptions()
Removes all SDP-Session-Description AVPs from the IMS-Information AVP. If no SDP-Session-Description AVPs are present, this method returns silently.
-
getSdpMediaComponents
SdpMediaComponent[] getSdpMediaComponents()
Returns the set of SDP-Media-Component AVPs. The returned array contains the AVPs in the order they appear in the IMS-Information AVP. A return value of null implies that no SDP-Media-Component AVPs have been set. The elements in the given array are SdpMediaComponent objects.
-
setSdpMediaComponent
void setSdpMediaComponent(SdpMediaComponent sdpMediaComponent)
Sets a single SDP-Media-Component AVP in the IMS-Information AVP, of type Grouped.- Throws:
NullPointerException- ifsdpMediaComponentisnull.
-
setSdpMediaComponents
void setSdpMediaComponents(SdpMediaComponent[] sdpMediaComponents)
Sets the set of SDP-Media-Component AVPs, with all the values in the given array. The AVPs will be added to the IMS-Information AVP in the order in which they appear in the array. Note: the array must not be altered by the caller following this call, and getSdpMediaComponents() is not guaranteed to return the same array instance, e.g. an "==" check would fail.- Throws:
NullPointerException- ifsdpMediaComponentsisnull.
-
removeSdpMediaComponents
void removeSdpMediaComponents()
Removes all SDP-Media-Component AVPs from the IMS-Information AVP. If no SDP-Media-Component AVPs are present, this method returns silently.
-
hasServedPartyIpAddress
boolean hasServedPartyIpAddress()
Returns true if the Served-Party-IP-Address AVP is present in the IMS-Information AVP.
-
getServedPartyIpAddress
Address getServedPartyIpAddress()
Returns the value of the Served-Party-IP-Address AVP, of type Address.- Returns:
- the value of the Served-Party-IP-Address AVP, or null if it has not been set.
-
setServedPartyIpAddress
void setServedPartyIpAddress(Address servedPartyIpAddress)
Sets the value of the Served-Party-IP-Address AVP, of type Address.- Throws:
NullPointerException- ifservedPartyIpAddressisnull.
-
removeServedPartyIpAddress
void removeServedPartyIpAddress()
Removes the Served-Party-IP-Address AVP from the IMS-Information AVP. If the Served-Party-IP-Address AVP is not present, this method returns silently.
-
hasServerCapabilities
boolean hasServerCapabilities()
Returns true if the Server-Capabilities AVP is present in the IMS-Information AVP.
-
getServerCapabilities
ServerCapabilities getServerCapabilities()
Returns the value of the Server-Capabilities AVP, of type Grouped.- Returns:
- the value of the Server-Capabilities AVP, or null if it has not been set.
-
setServerCapabilities
void setServerCapabilities(ServerCapabilities serverCapabilities)
Sets the value of the Server-Capabilities AVP, of type Grouped.- Throws:
NullPointerException- ifserverCapabilitiesisnull.
-
removeServerCapabilities
void removeServerCapabilities()
Removes the Server-Capabilities AVP from the IMS-Information AVP. If the Server-Capabilities AVP is not present, this method returns silently.
-
hasTrunkGroupId
boolean hasTrunkGroupId()
Returns true if the Trunk-Group-ID AVP is present in the IMS-Information AVP.
-
getTrunkGroupId
TrunkGroupId getTrunkGroupId()
Returns the value of the Trunk-Group-ID AVP, of type Grouped.- Returns:
- the value of the Trunk-Group-ID AVP, or null if it has not been set.
-
setTrunkGroupId
void setTrunkGroupId(TrunkGroupId trunkGroupId)
Sets the value of the Trunk-Group-ID AVP, of type Grouped.- Throws:
NullPointerException- iftrunkGroupIdisnull.
-
removeTrunkGroupId
void removeTrunkGroupId()
Removes the Trunk-Group-ID AVP from the IMS-Information AVP. If the Trunk-Group-ID AVP is not present, this method returns silently.
-
hasBearerService
boolean hasBearerService()
Returns true if the Bearer-Service AVP is present in the IMS-Information AVP.
-
getBearerService
byte[] getBearerService()
Returns the value of the Bearer-Service AVP, of type OctetString.- Returns:
- the value of the Bearer-Service AVP, or null if it has not been set.
-
setBearerService
void setBearerService(byte[] bearerService)
Sets the value of the Bearer-Service AVP, of type OctetString.- Throws:
NullPointerException- ifbearerServiceisnull.
-
removeBearerService
void removeBearerService()
Removes the Bearer-Service AVP from the IMS-Information AVP. If the Bearer-Service AVP is not present, this method returns silently.
-
hasServiceId
boolean hasServiceId()
Returns true if the Service-Id AVP is present in the IMS-Information AVP.
-
getServiceId
String getServiceId()
Returns the value of the Service-Id AVP, of type UTF8String.- Returns:
- the value of the Service-Id AVP, or null if it has not been set.
-
setServiceId
void setServiceId(String serviceId)
Sets the value of the Service-Id AVP, of type UTF8String.- Throws:
NullPointerException- ifserviceIdisnull.
-
removeServiceId
void removeServiceId()
Removes the Service-Id AVP from the IMS-Information AVP. If the Service-Id AVP is not present, this method returns silently.
-
getServiceSpecificInfos
ServiceSpecificInfo[] getServiceSpecificInfos()
Returns the set of Service-Specific-Info AVPs. The returned array contains the AVPs in the order they appear in the IMS-Information AVP. A return value of null implies that no Service-Specific-Info AVPs have been set. The elements in the given array are ServiceSpecificInfo objects.
-
setServiceSpecificInfo
void setServiceSpecificInfo(ServiceSpecificInfo serviceSpecificInfo)
Sets a single Service-Specific-Info AVP in the IMS-Information AVP, of type Grouped.- Throws:
NullPointerException- ifserviceSpecificInfoisnull.
-
setServiceSpecificInfos
void setServiceSpecificInfos(ServiceSpecificInfo[] serviceSpecificInfos)
Sets the set of Service-Specific-Info AVPs, with all the values in the given array. The AVPs will be added to the IMS-Information AVP in the order in which they appear in the array. Note: the array must not be altered by the caller following this call, and getServiceSpecificInfos() is not guaranteed to return the same array instance, e.g. an "==" check would fail.- Throws:
NullPointerException- ifserviceSpecificInfosisnull.
-
removeServiceSpecificInfos
void removeServiceSpecificInfos()
Removes all Service-Specific-Info AVPs from the IMS-Information AVP. If no Service-Specific-Info AVPs are present, this method returns silently.
-
getMessageBodys
MessageBody[] getMessageBodys()
Returns the set of Message-Body AVPs. The returned array contains the AVPs in the order they appear in the IMS-Information AVP. A return value of null implies that no Message-Body AVPs have been set. The elements in the given array are MessageBody objects.
-
setMessageBody
void setMessageBody(MessageBody messageBody)
Sets a single Message-Body AVP in the IMS-Information AVP, of type Grouped.- Throws:
NullPointerException- ifmessageBodyisnull.
-
setMessageBodys
void setMessageBodys(MessageBody[] messageBodys)
Sets the set of Message-Body AVPs, with all the values in the given array. The AVPs will be added to the IMS-Information AVP in the order in which they appear in the array. Note: the array must not be altered by the caller following this call, and getMessageBodys() is not guaranteed to return the same array instance, e.g. an "==" check would fail.- Throws:
NullPointerException- ifmessageBodysisnull.
-
removeMessageBodys
void removeMessageBodys()
Removes all Message-Body AVPs from the IMS-Information AVP. If no Message-Body AVPs are present, this method returns silently.
-
hasCauseCode
boolean hasCauseCode()
Returns true if the Cause-Code AVP is present in the IMS-Information AVP.
-
getCauseCode
int getCauseCode()
Returns the value of the Cause-Code AVP, of type Integer32. UsehasCauseCode()to check the existence of this AVP.- Returns:
- the value of the Cause-Code AVP
- Throws:
IllegalStateException- if the Cause-Code AVP has not been set.
-
setCauseCode
void setCauseCode(int causeCode)
Sets the value of the Cause-Code AVP, of type Integer32.
-
removeCauseCode
void removeCauseCode()
Removes the Cause-Code AVP from the IMS-Information AVP. If the Cause-Code AVP is not present, this method returns silently.
-
hasAccessNetworkInformation
boolean hasAccessNetworkInformation()
Returns true if the Access-Network-Information AVP is present in the IMS-Information AVP.
-
getAccessNetworkInformation
byte[] getAccessNetworkInformation()
Returns the value of the Access-Network-Information AVP, of type OctetString.- Returns:
- the value of the Access-Network-Information AVP, or null if it has not been set.
-
setAccessNetworkInformation
void setAccessNetworkInformation(byte[] accessNetworkInformation)
Sets the value of the Access-Network-Information AVP, of type OctetString.- Throws:
NullPointerException- ifaccessNetworkInformationisnull.
-
removeAccessNetworkInformation
void removeAccessNetworkInformation()
Removes the Access-Network-Information AVP from the IMS-Information AVP. If the Access-Network-Information AVP is not present, this method returns silently.
-
getEarlyMediaDescriptions
EarlyMediaDescription[] getEarlyMediaDescriptions()
Returns the set of Early-Media-Description AVPs. The returned array contains the AVPs in the order they appear in the IMS-Information AVP. A return value of null implies that no Early-Media-Description AVPs have been set. The elements in the given array are EarlyMediaDescription objects.
-
setEarlyMediaDescription
void setEarlyMediaDescription(EarlyMediaDescription earlyMediaDescription)
Sets a single Early-Media-Description AVP in the IMS-Information AVP, of type Grouped.- Throws:
NullPointerException- ifearlyMediaDescriptionisnull.
-
setEarlyMediaDescriptions
void setEarlyMediaDescriptions(EarlyMediaDescription[] earlyMediaDescriptions)
Sets the set of Early-Media-Description AVPs, with all the values in the given array. The AVPs will be added to the IMS-Information AVP in the order in which they appear in the array. Note: the array must not be altered by the caller following this call, and getEarlyMediaDescriptions() is not guaranteed to return the same array instance, e.g. an "==" check would fail.- Throws:
NullPointerException- ifearlyMediaDescriptionsisnull.
-
removeEarlyMediaDescriptions
void removeEarlyMediaDescriptions()
Removes all Early-Media-Description AVPs from the IMS-Information AVP. If no Early-Media-Description AVPs are present, this method returns silently.
-
hasImsCommunicationServiceIdentifier
boolean hasImsCommunicationServiceIdentifier()
Returns true if the IMS-Communication-Service-Identifier AVP is present in the IMS-Information AVP.
-
getImsCommunicationServiceIdentifier
String getImsCommunicationServiceIdentifier()
Returns the value of the IMS-Communication-Service-Identifier AVP, of type UTF8String.- Returns:
- the value of the IMS-Communication-Service-Identifier AVP, or null if it has not been set.
-
setImsCommunicationServiceIdentifier
void setImsCommunicationServiceIdentifier(String imsCommunicationServiceIdentifier)
Sets the value of the IMS-Communication-Service-Identifier AVP, of type UTF8String.- Throws:
NullPointerException- ifimsCommunicationServiceIdentifierisnull.
-
removeImsCommunicationServiceIdentifier
void removeImsCommunicationServiceIdentifier()
Removes the IMS-Communication-Service-Identifier AVP from the IMS-Information AVP. If the IMS-Communication-Service-Identifier AVP is not present, this method returns silently.
-
getExtensionAvps
DiameterAvp[] getExtensionAvps()
Returns the set of extension AVPs. The returned array contains the extension AVPs in the order they appear in the IMS-Information AVP. A return value of null implies that no extensions AVPs have been set.
-
setExtensionAvps
void setExtensionAvps(DiameterAvp[] avps) throws AvpNotAllowedException
Sets the set of extension AVPs with all the values in the given array. The AVPs will be added to IMS-Information AVP in the order in which they appear in the array. Note: the array must not be altered by the caller following this call, and getExtensionAvps() is not guaranteed to return the same array instance, e.g. an "==" check would fail.- Throws:
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)NullPointerException- ifavpsisnull.
-
removeExtensionAvps
void removeExtensionAvps()
Removes all extension AVPs from the IMS-Information AVP. If no extension AVPs are present, this method returns silently.
-
-