|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.diameter.charging.util.AddressDomain
public class AddressDomain
AddressDomain is a lightweight representation of the Grouped [Address-Domain] Avp. It is used to identify the residing domain or network of an address.
The [Address-Domain] Avp is defined by the 3GPP in ETSI TS 132 299 V6.9.0 (2006-12) - Diameter charging applications.
Constructor Summary | |
---|---|
AddressDomain()
Constructs an empty AddressDomain object representing the [Address-Domain] Avp. |
|
AddressDomain(java.util.List<Avp> avps)
Constructs an AddressDomain object representing the Grouped [Address-Domain] Avp. |
Method Summary | |
---|---|
java.lang.String |
getDomainName()
Gets the value corresponding to the payload of the [Domain-Name] Avp. |
java.lang.String |
getTgppImsiMccMnc()
Gets the value corresponding to the payload of the [3GPP-IMSI-MCC-MNC] Avp. |
void |
setDomainName(java.lang.String domainName)
Sets the value corresponding to the payload of the [Domain-Name] Avp. |
void |
setTgppImsiMccMnc(java.lang.String tgppImsiMccMnc)
Sets the value corresponding to the payload of the [3GPP-IMSI-MCC-MNC] Avp. |
Avp |
toAvp()
Transforms an AddressDomain object into a Grouped [Address-Domain] Avp. |
void |
validate()
Validates the members of the AddressDomain object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AddressDomain()
public AddressDomain(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 AddressDomain, 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 [Address-Domain]
Avp.
AvpTransformationException
- if the Avp value is in an unexpected format.Method Detail |
---|
public java.lang.String getDomainName()
public void setDomainName(java.lang.String domainName)
domainName
- the value corresponding to the payload of the [Domain-Name] Avp.public java.lang.String getTgppImsiMccMnc()
public void setTgppImsiMccMnc(java.lang.String tgppImsiMccMnc)
tgppImsiMccMnc
- the value corresponding to the payload of the [3GPP-IMSI-MCC-MNC] Avp.public void validate() throws ChargingValidationException
ChargingValidationException
- if a member of AddressDomain is in an unexpected format.public Avp toAvp() throws AvpTransformationException
All non-null members of AddressDomain will be transformed into Avps nested inside of the [Address-Domain] Avp.
AvpTransformationException
- if a member of AddressDomain is in an unexpected format.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |