|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.diameter.charging.util.LCSInformation
public class LCSInformation
LCSInformation is a lightweight representation of the Grouped [LCS-Information] Avp. It is used to record accounting and charging information that is specific to a Location Service (LCS).
The [LCS-Information] Avp is defined by the 3GPP in ETSI TS 132 299 V6.9.0 (2006-12) - Diameter charging applications.
Constructor Summary | |
---|---|
LCSInformation()
Constructs an empty LCSInformation object representing the [LCS-Information] Avp. |
|
LCSInformation(java.util.List<Avp> avps)
Constructs a LCSInformation object representing the Grouped [LCS-Information] Avp. |
Method Summary | |
---|---|
java.lang.String |
getImsi()
Gets the value corresponding to the payload of the [IMSI] Avp. |
LCSClientId |
getLcsClientId()
Gets the value corresponding to the payload of the [LCS-Client-Id] Avp. |
java.lang.String |
getLocationEstimate()
Gets the value corresponding to the payload of the [Location-Estimate] Avp. |
LocationType |
getLocationType()
Gets the value corresponding to the payload of the [Location-Type] Avp. |
byte[] |
getMsisdn()
Gets the value corresponding to the payload of the [MSISDN] Avp. |
java.lang.String |
getPositioningData()
Gets the value corresponding to the payload of the [Positioning-Data] Avp. |
void |
setImsi(java.lang.String imsi)
Sets the value corresponding to the payload of the [IMSI] Avp. |
void |
setLcsClientId(LCSClientId lcsClientId)
Sets the value corresponding to the payload of the [LCS-Client-Id] Avp. |
void |
setLocationEstimate(java.lang.String locationEstimate)
Sets the value corresponding to the payload of the [Location-Estimate] Avp. |
void |
setLocationType(LocationType locationType)
Sets the value corresponding to the payload of the [Location-Type] Avp. |
void |
setMsisdn(byte[] msisdn)
Sets the value corresponding to the payload of the [MSISDN] Avp. |
void |
setPositioningData(java.lang.String positioningData)
Sets the value corresponding to the payload of the [Positioning-Data] Avp. |
Avp |
toAvp()
Transforms a LCSInformation object into a Grouped [LCS-Information] Avp. |
void |
validate()
Validates the members of the LCSInformation object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LCSInformation()
public LCSInformation(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 LCSInformation, 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
[LCS-Information] Avp.
AvpTransformationException
- if the Avp value is in an unexpected format.Method Detail |
---|
public LCSClientId getLcsClientId()
public void setLcsClientId(LCSClientId lcsClientId)
lcsClientId
- the value corresponding to the payload of the [LCS-Client-Id] Avp.public java.lang.String getLocationEstimate()
public void setLocationEstimate(java.lang.String locationEstimate)
locationEstimate
- the value corresponding to the payload of the [Location-Estimate] Avp.public LocationType getLocationType()
public void setLocationType(LocationType locationType)
locationType
- the value corresponding to the payload of the [Location-Type] Avp.public java.lang.String getPositioningData()
public void setPositioningData(java.lang.String positioningData)
positioningData
- the value corresponding to the payload of the [Positioning-Data] Avp.public java.lang.String getImsi()
public void setImsi(java.lang.String imsi)
imsi
- the value corresponding to the payload of the [IMSI] Avp.public byte[] getMsisdn()
public void setMsisdn(byte[] msisdn)
msisdn
- the value corresponding to the payload of the [MSISDN] Avp.public void validate() throws ChargingValidationException
ChargingValidationException
- if a member of LCSInformation is in an unexpected format.public Avp toAvp() throws AvpTransformationException
All non-null members of LCSInformation will be transformed into Avps nested inside of the [LCS-Information] Avp.
AvpTransformationException
- if a member of LCSInformation is in an
unexpected format.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |