|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.diameter.charging.util.ApplicationServerInformation
public class ApplicationServerInformation
ApplicationServerInformation is a lightweight representation of the Grouped [Application-Server-Information] Avp. It contains information about application servers that are visited through the IMS Service Control (ISC) interface.
The [Application-Server-Information] Avp is defined by the 3GPP in ETSI TS 132 299 V6.9.0 (2006-12) - Diameter charging applications.
Constructor Summary | |
---|---|
ApplicationServerInformation()
Constructs an empty ApplicationServerInformation object representing the [Application-Server-Information] Avp. |
|
ApplicationServerInformation(java.util.List avps)
Constructs an ApplicationServerInformation object representing the Grouped [Application-Server-Information] Avp. |
Method Summary | |
---|---|
java.lang.String[] |
getApplicationProvidedCalledPartyAddress()
Gets the value corresponding to the payload of the [Application-Provided-Called-Party-Address] Avp. |
java.lang.String |
getApplicationServer()
Gets the value corresponding to the payload of the [Application-Server] Avp. |
void |
setApplicationProvidedCalledPartyAddress(java.lang.String[] applicationProvidedCalledPartyAddress)
Sets the value corresponding to the payload of the [Application-Provided-Called-Party-Address] Avp. |
void |
setApplicationServer(java.lang.String applicationServer)
Sets the value corresponding to the payload of the [Application-Server] Avp. |
Avp |
toAvp()
Transforms an ApplicationServerInformation object into a Grouped [Application-Server-Information] Avp. |
void |
validate()
Validates the members of the ApplicationServerInformation object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ApplicationServerInformation()
public ApplicationServerInformation(java.util.List 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 ApplicationServerInformation, 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
[Application-Server-Information] Avp.
AvpTransformationException
- if the Avp value is in an unexpected format.Method Detail |
---|
public java.lang.String[] getApplicationProvidedCalledPartyAddress()
public void setApplicationProvidedCalledPartyAddress(java.lang.String[] applicationProvidedCalledPartyAddress)
applicationProvidedCalledPartyAddress
- the value corresponding to the payload of the
[Application-Provided-Called-Party-Address] Avp.public java.lang.String getApplicationServer()
public void setApplicationServer(java.lang.String applicationServer)
applicationServer
- the value corresponding to the payload of the [Application-Server] Avp.public void validate() throws ChargingValidationException
ChargingValidationException
- if a member of ApplicationServerInformation is in an
unexpected format.public Avp toAvp() throws AvpTransformationException
All non-null members of ApplicationServerInformation will be transformed into Avps nested inside of the [Application-Server-Information] Avp.
AvpTransformationException
- if a member of ApplicationServerInformation is in an
unexpected format.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |