|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.diameter.charging.util.IMSInformation
public class IMSInformation
IMSInformation is a lightweight representation of the Grouped [IMS-Information] Avp. It is used to record accounting and charging information that is service-specific to the IP Multimedia Subsystem.
The [IMS-Information] Avp is defined by the 3GPP in ETSI TS 132 299 V6.9.0 (2006-12) - Diameter charging applications.
Constructor Summary | |
---|---|
IMSInformation()
Constructs an empty IMSInformation object representing the [IMS-Information] Avp. |
|
IMSInformation(java.util.List<Avp> avps)
Constructs an IMSInformation object representing the Grouped [IMS-Information] Avp. |
Method Summary | |
---|---|
ApplicationServerInformation[] |
getApplicationServerInformation()
Gets the values corresponding to the payloads of the [Application-Server-Information] Avps. |
java.lang.String[] |
getAssociatedURIs()
Gets the values corresponding to the payloads of the [Associated-URI] Avps. |
byte[] |
getBearerService()
Gets the value corresponding to the payload of the [Bearer-Service] Avp. |
java.lang.String[] |
getCalledAssertedIdentities()
Gets the values corresponding to the payloads of the [Called-Asserted-Identity] Avps. |
java.lang.String |
getCalledPartyAddress()
Gets the value corresponding to the payload of the [Called-Party-Address] Avp. |
java.lang.String[] |
getCallingPartyAddresses()
Gets the values corresponding to the payloads of the [Calling-Party-Address] Avps. |
java.lang.Integer |
getCauseCode()
Gets the value corresponding to the payload of the [Cause-Code] Avp. |
EventType |
getEventType()
Gets the value corresponding to the payload of the [Event-Type] Avp. |
java.lang.String |
getImsChargingIdentifier()
Gets the value corresponding to the payload of the [IMS-Charging-Identifier] Avp. |
InterOperatorIdentifier[] |
getInterOperatorIdentifiers()
Gets the values corresponding to the payloads of the [Inter-Operator-Identifier] Avps. |
MessageBody[] |
getMessageBodies()
Gets the values corresponding to the payloads of the [Message-Body] Avps. |
java.lang.Integer |
getNodeFunctionality()
Gets the value corresponding to the payload of the {Node-Functionality} Avp. |
java.lang.String |
getRequestedPartyAddress()
Gets the value corresponding to the payload of the [Requested-Party-Address] Avp. |
java.lang.Integer |
getRoleOfNode()
Gets the value corresponding to the payload of the [Role-Of-Node] Avp. |
SDPMediaComponent[] |
getSdpMediaComponents()
Gets the values corresponding to the payloads of the [SDP-Media-Component] Avps. |
java.lang.String[] |
getSdpSessionDescription()
Gets the values corresponding to the payloads of the [SDP-Session-Description] Avps. |
java.lang.String |
getServedPartyIpAddress()
Gets the value corresponding to the payload of the [Served-Party-IP-Address] Avp. |
ServerCapabilities |
getServerCapabilities()
Gets the value corresponding to the payload of the [Server-Capabilities] Avp. |
java.lang.String |
getServiceId()
Gets the value corresponding to the payload of the [Service-Id] Avp. |
java.lang.String |
getServiceSpecificData()
Gets the value corresponding to the payload of the [Service-Specific-Data] Avp. |
TimeStamps |
getTimeStamps()
Gets the value corresponding to the payload of the [Time-Stamps] Avp. |
TrunkGroupId |
getTrunkGroupId()
Gets the value corresponding to the payload of the [Trunk-Group-Id] Avp. |
java.lang.String |
getUserSessionId()
Gets the value corresponding to the payload of the {User-Session-Id} Avp. |
void |
setApplicationServerInformation(ApplicationServerInformation[] applicationServerInformation)
Sets the values corresponding to the payloads of the [Application-Server-Information] Avps. |
void |
setAssociatedURIs(java.lang.String[] associatedURI)
Sets the values corresponding to the payloads of the [Associated-URI] Avps. |
void |
setBearerService(byte[] bearerService)
Sets the value corresponding to the payload of the [Bearer-Service] Avp. |
void |
setCalledAssertedIdentities(java.lang.String[] calledAssertedIdentity)
Sets the values corresponding to the payloads of the [Called-Asserted-Identity] Avps. |
void |
setCalledPartyAddress(java.lang.String calledPartyAddress)
Sets the value corresponding to the payload of the [Called-Party-Address] Avp. |
void |
setCallingPartyAddresses(java.lang.String[] callingPartyAddress)
Sets the values corresponding to the payloads of the [Calling-Party-Address] Avps. |
void |
setCauseCode(java.lang.Integer causeCode)
Sets the value corresponding to the payload of the [Cause-Code] Avp. |
void |
setEventType(EventType eventType)
Sets the value corresponding to the payload of the [Event-Type] Avp. |
void |
setImsChargingIdentifier(java.lang.String imsChargingIdentifier)
Sets the value corresponding to the payload of the [IMS-Charging-Identifier] Avp. |
void |
setInterOperatorIdentifiers(InterOperatorIdentifier[] interOperatorIdentifiers)
Sets the values corresponding to the payloads of the [Inter-Operator-Identifier] Avps. |
void |
setMessageBodies(MessageBody[] messageBodies)
Sets the value corresponding to the payload of the [Domain-Name] Avp. |
void |
setNodeFunctionality(java.lang.Integer nodeFunctionality)
Sets the value corresponding to the payload of the {Node-Functionality} Avp. |
void |
setRequestedPartyAddress(java.lang.String requestedPartyAddress)
Sets the value corresponding to the payload of the [Requested-Party-Address] Avp. |
void |
setRoleOfNode(java.lang.Integer roleOfNode)
Sets the value corresponding to the payload of the [Role-Of-Node] Avp. |
void |
setSdpMediaComponents(SDPMediaComponent[] sdpMediaComponents)
Sets the values corresponding to the payloads of the [SDP-Media-Component] Avps. |
void |
setSdpSessionDescription(java.lang.String[] sdpSessionDescription)
Sets the values corresponding to the payloads of the [SDP-Session-Description] Avps. |
void |
setServedPartyIpAddress(java.lang.String servedPartyIPAddress)
Sets the value corresponding to the payload of the [Served-Party-IP-Address] Avp. |
void |
setServerCapabilities(ServerCapabilities serverCapabilities)
Sets the value corresponding to the payload of the [Server-Capabilities] Avp. |
void |
setServiceId(java.lang.String serviceId)
Sets the value corresponding to the payload of the [Service-Id] Avp. |
void |
setServiceSpecificData(java.lang.String serviceSpecificData)
Sets the value corresponding to the payload of the [Service-Specific-Data] Avp. |
void |
setTimeStamps(TimeStamps timeStamps)
Sets the value corresponding to the payload of the [Time-Stamps] Avp. |
void |
setTrunkGroupId(TrunkGroupId trunkGroupId)
Sets the value corresponding to the payload of the [Trunk-Group-Id] Avp. |
void |
setUserSessionId(java.lang.String userSessionId)
Sets the value corresponding to the payload of the {User-Session-Id} Avp. |
Avp |
toAvp()
Transforms an IMSInformation object into a Grouped [IMS-Information] Avp. |
void |
validate()
Validates the members of the IMSInformation object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IMSInformation()
public IMSInformation(java.util.List<Avp> avps) throws AvpTransformationException
The method takes a List of Avps as an input. If an Avp code inside the list corresponds to a member of IMSInformation, the member will be populated with the Avp value during construction. If an Avp code is unknown, the value will be silently discarded.
avps
- a list of Avps that can appear in the Grouped [IMS-Information] Avp.
AvpTransformationException
- if the Avp value is in an unexpected format.Method Detail |
---|
public ApplicationServerInformation[] getApplicationServerInformation()
public void setApplicationServerInformation(ApplicationServerInformation[] applicationServerInformation)
applicationServerInformation
- the values corresponding to the payloads of the [Application-Server-Information] Avps.public java.lang.String[] getAssociatedURIs()
public void setAssociatedURIs(java.lang.String[] associatedURI)
associatedURIs
- the values corresponding to the payloads of the [Associated-URI] Avps.public byte[] getBearerService()
public void setBearerService(byte[] bearerService)
bearerService
- the value corresponding to the payload of the [Bearer-Service] Avp.public java.lang.String[] getCalledAssertedIdentities()
public void setCalledAssertedIdentities(java.lang.String[] calledAssertedIdentity)
calledAssertedIdentities
- the values corresponding to the payloads of the [Called-Asserted-Identity] Avps.public java.lang.String getCalledPartyAddress()
public void setCalledPartyAddress(java.lang.String calledPartyAddress)
calledPartyAddress
- the value corresponding to the payload of the [Called-Party-Address] Avp.public java.lang.String[] getCallingPartyAddresses()
public void setCallingPartyAddresses(java.lang.String[] callingPartyAddress)
callingPartyAddresses
- the values corresponding to the payloads of the [Calling-Party-Address] Avps.public java.lang.Integer getCauseCode()
public void setCauseCode(java.lang.Integer causeCode)
causeCode
- the value corresponding to the payload of the [Cause-Code] Avp.public EventType getEventType()
public void setEventType(EventType eventType)
eventType
- the value corresponding to the payload of the [Event-Type] Avp.public java.lang.String getImsChargingIdentifier()
public void setImsChargingIdentifier(java.lang.String imsChargingIdentifier)
imsChargingIdentifier
- the value corresponding to the payload of the [IMS-Charging-Identifier] Avp.public InterOperatorIdentifier[] getInterOperatorIdentifiers()
public void setInterOperatorIdentifiers(InterOperatorIdentifier[] interOperatorIdentifiers)
interOperatorIdentifiers
- the values corresponding to the payloads of the [Inter-Operator-Identifier] Avps.public MessageBody[] getMessageBodies()
public void setMessageBodies(MessageBody[] messageBodies)
messageBodies
- the value corresponding to the payload of the [Domain-Name] Avp.public java.lang.Integer getNodeFunctionality()
public void setNodeFunctionality(java.lang.Integer nodeFunctionality)
nodeFunctionality
- the value corresponding to the payload of the {Node-Functionality} Avp.public java.lang.String getRequestedPartyAddress()
public void setRequestedPartyAddress(java.lang.String requestedPartyAddress)
requestedPartyAddress
- the value corresponding to the payload of the [Requested-Party-Address] Avp.public java.lang.Integer getRoleOfNode()
public void setRoleOfNode(java.lang.Integer roleOfNode)
roleOfNode
- the value corresponding to the payload of the [Role-Of-Node] Avp.public SDPMediaComponent[] getSdpMediaComponents()
public void setSdpMediaComponents(SDPMediaComponent[] sdpMediaComponents)
sdpMediaComponents
- the values corresponding to the payloads of the [SDP-Media-Component] Avps.public java.lang.String[] getSdpSessionDescription()
public void setSdpSessionDescription(java.lang.String[] sdpSessionDescription)
sdpSessionDescription
- the values corresponding to the payloads of the [SDP-Session-Description] Avps.public java.lang.String getServedPartyIpAddress()
public void setServedPartyIpAddress(java.lang.String servedPartyIPAddress)
servedPartyIPAddress
- the value corresponding to the payload of the [Served-Party-IP-Address] Avp.public ServerCapabilities getServerCapabilities()
public void setServerCapabilities(ServerCapabilities serverCapabilities)
serverCapabilities
- the value corresponding to the payload of the [Server-Capabilities] Avp.public java.lang.String getServiceId()
public void setServiceId(java.lang.String serviceId)
serviceId
- the value corresponding to the payload of the [Service-Id] Avp.public java.lang.String getServiceSpecificData()
public void setServiceSpecificData(java.lang.String serviceSpecificData)
serviceSpecificData
- the value corresponding to the payload of the [Service-Specific-Data] Avp.public TimeStamps getTimeStamps()
public void setTimeStamps(TimeStamps timeStamps)
timeStamps
- the value corresponding to the payload of the [Time-Stamps] Avp.public TrunkGroupId getTrunkGroupId()
public void setTrunkGroupId(TrunkGroupId trunkGroupId)
trunkGroupId
- the value corresponding to the payload of the [Trunk-Group-Id] Avp.public java.lang.String getUserSessionId()
public void setUserSessionId(java.lang.String userSessionId)
userSessionId
- the value corresponding to the payload of the {User-Session-Id} Avp.public void validate() throws ChargingValidationException
ChargingValidationException
- if a member of IMSInformation is in an unexpected format.public Avp toAvp() throws AvpTransformationException
All non-null members of IMSInformation will be transformed into Avps nested inside of the [IMS-Information] Avp.
AvpTransformationException
- if a member of IMSInformation is in an unexpected format.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |