|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.diameter.charging.util.InterOperatorIdentifier
public class InterOperatorIdentifier
InterOperatorIdentifier is a lightweight representation of the Grouped [Inter-Operator-Identifier] Avp. It contains the inter-operator identifiers for the originating and terminating network, exchanged via SIP signalling.
The [Inter-Operator-Identifier] Avp is defined by the 3GPP in ETSI TS 132 299 V6.9.0 (2006-12) - Diameter charging applications.
Constructor Summary | |
---|---|
InterOperatorIdentifier()
Constructs an empty InterOperatorIdentifier object representing the [Inter-Operator-Identifier] Avp. |
|
InterOperatorIdentifier(java.util.List<Avp> avps)
Constructs an InterOperatorIdentifier object representing the Grouped [Inter-Operator-Identifier] Avp. |
Method Summary | |
---|---|
java.lang.String |
getOriginatingIoi()
Gets the value corresponding to the payload of the [Originating-IOI] Avp. |
java.lang.String |
getTerminatingIoi()
Gets the value corresponding to the payload of the [Terminating-IOI] Avp. |
void |
setOriginatingIoi(java.lang.String originatingIOI)
Sets the value corresponding to the payload of the [Originating-IOI] Avp. |
void |
setTerminatingIoi(java.lang.String terminatingIOI)
Sets the value corresponding to the payload of the [Terminating-IOI] Avp. |
Avp |
toAvp()
Transforms an InterOperatorIdentifier object into a Grouped [Inter-Operator-Identifier] Avp. |
void |
validate()
Validates the members of the InterOperatorIdentifier object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InterOperatorIdentifier()
public InterOperatorIdentifier(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 InterOperatorIdentifier, 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 [Inter-Operator-Identifier] Avp.
AvpTransformationException
- if the Avp value is in an unexpected format.Method Detail |
---|
public java.lang.String getOriginatingIoi()
public void setOriginatingIoi(java.lang.String originatingIOI)
originatingIoi
- the value corresponding to the payload of the [Originating-IOI] Avp.public java.lang.String getTerminatingIoi()
public void setTerminatingIoi(java.lang.String terminatingIOI)
terminatingIoi
- the value corresponding to the payload of the [Terminating-IOI] Avp.public void validate() throws ChargingValidationException
ChargingValidationException
- if a member of InterOperatorIdentifier is in an unexpected format.public Avp toAvp() throws AvpTransformationException
All non-null members of InterOperatorIdentifier will be transformed into Avps nested inside of the [Inter-Operator-Identifier] Avp.
AvpTransformationException
- if a member of InterOperatorIdentifier is in an unexpected format.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |