|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.diameter.charging.util.LCSClientId
public class LCSClientId
LCSClientId is a lightweight representation of the Grouped [LCS-Client-Id] Avp. It contains information related to the identity of an LCS Client.
The [LCS-Client-Id] Avp is defined by the 3GPP in ETSI TS 132 299 V6.9.0 (2006-12) - Diameter charging applications.
Constructor Summary | |
---|---|
LCSClientId()
Constructs an empty LCSClientId object representing the [LCS-Client-Id] Avp. |
|
LCSClientId(java.util.List<Avp> avps)
Constructs a LCSClientId object representing the Grouped [LCS-Client-Id] Avp. |
Method Summary | |
---|---|
java.lang.String |
getLcsApn()
Gets the value corresponding to the payload of the [LCS-Apn] Avp. |
java.lang.String |
getLcsClientDialedByMs()
Gets the value corresponding to the payload of the [LCS-Client-Dialed-By-MS] Avp. |
java.lang.String |
getLcsClientExternalId()
Gets the value corresponding to the payload of the [PS-Information] Avp. |
LCSClientName |
getLcsClientName()
Gets the value corresponding to the payload of the [LCS-Client-External-Id] Avp. |
java.lang.Integer |
getLcsClientType()
Gets the value corresponding to the payload of the [LCS-Client-Type] Avp. |
LCSRequestorId |
getLcsRequestorId()
Gets the value corresponding to the payload of the [LCS-Requestor-Id] Avp. |
void |
setLcsApn(java.lang.String lcsApn)
Sets the value corresponding to the payload of the [LCS-Apn] Avp. |
void |
setLcsClientDialedByMs(java.lang.String lcsClientDialedByMs)
Sets the value corresponding to the payload of the [LCS-Client-Dialed-By-MS] Avp. |
void |
setLcsClientExternalId(java.lang.String lcsClientExternalId)
Sets the value corresponding to the payload of the [LCS-Client-External-Id] Avp. |
void |
setLcsClientName(LCSClientName lcsClientName)
Sets the value corresponding to the payload of the [LCS-Client-Name] Avp. |
void |
setLcsClientType(java.lang.Integer lcsClientType)
Sets the value corresponding to the payload of the [LCS-Client-Type] Avp. |
void |
setLcsRequestorId(LCSRequestorId lcsRequestorId)
Sets the value corresponding to the payload of the [LCS-Requestor-Id] Avp. |
Avp |
toAvp()
Transforms a LCSClientId object into a Grouped [LCS-Client-Id] Avp. |
void |
validate()
Validates the members of the LCSClientId object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LCSClientId()
public LCSClientId(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 LCSClientId, 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-Client-Id] Avp.
AvpTransformationException
- if the Avp value is in an unexpected format.Method Detail |
---|
public java.lang.String getLcsApn()
public void setLcsApn(java.lang.String lcsApn)
lcsApn
- the value corresponding to the payload of the [LCS-Apn] Avp.public java.lang.String getLcsClientDialedByMs()
public void setLcsClientDialedByMs(java.lang.String lcsClientDialedByMs)
lcsClientDialedByMs
- the value corresponding to the payload of the [LCS-Client-Dialed-By-MS] Avp.public java.lang.String getLcsClientExternalId()
public void setLcsClientExternalId(java.lang.String lcsClientExternalId)
lcsClientExternalId
- the value corresponding to the payload of the [LCS-Client-External-Id] Avp.public LCSClientName getLcsClientName()
public void setLcsClientName(LCSClientName lcsClientName)
lcsClientName
- the value corresponding to the payload of the [LCS-Client-Name] Avp.public java.lang.Integer getLcsClientType()
public void setLcsClientType(java.lang.Integer lcsClientType)
lcsClientType
- the value corresponding to the payload of the [LCS-Client-Type] Avp.public LCSRequestorId getLcsRequestorId()
public void setLcsRequestorId(LCSRequestorId lcsRequestorId)
lcsRequestorId
- the value corresponding to the payload of the [LCS-Requestor-Id] Avp.public void validate() throws ChargingValidationException
ChargingValidationException
- if a member of LCSClientId is in an unexpected format.public Avp toAvp() throws AvpTransformationException
All non-null members of LCSClientId will be transformed into Avps nested inside of the [LCS-Client-Id] Avp.
AvpTransformationException
- if a member of LCSClientId is in an
unexpected format.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |