|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.diameter.charging.util.LCSRequestorId
public class LCSRequestorId
LCSRequestorId is a lightweight representation of the Grouped [LCS-Requestor-Id] Avp. It contains the identification of the LCS requestor.
The [LCS-Requestor-Id] Avp is defined by the 3GPP in ETSI TS 132 299 V6.9.0 (2006-12) - Diameter charging applications.
Constructor Summary | |
---|---|
LCSRequestorId()
Constructs an empty LCSRequestorId object representing the [LCS-Requestor-Id] Avp. |
|
LCSRequestorId(java.util.List<Avp> avps)
Constructs a LCSRequestorId object representing the Grouped [LCS-Requestor-Id] Avp. |
Method Summary | |
---|---|
java.lang.String |
getLcsDataCodingScheme()
Gets the value corresponding to the payload of the [LCS-Data-Coding-Scheme] Avp. |
java.lang.String |
getLcsRequestorIdString()
// * Gets the value corresponding to the payload of the [LCS-Requestor-Id-String] Avp. |
void |
setLcsDataCodingScheme(java.lang.String lcsDataCodingScheme)
Sets the value corresponding to the payload of the [LCS-Data-Coding-Scheme] Avp. |
void |
setLcsRequestorIdString(java.lang.String lcsRequestorIdString)
Sets the value corresponding to the payload of the [LCS-Requestor-Id-String] Avp. |
Avp |
toAvp()
Transforms a LCSRequestorId object into a Grouped [LCS-Requestor-Id] Avp. |
void |
validate()
Validates the members of the LCSRequestorId object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LCSRequestorId()
public LCSRequestorId(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 LCSRequestorId, 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-Requestor-Id] Avp.
AvpTransformationException
- if the Avp value is in an unexpected format.Method Detail |
---|
public java.lang.String getLcsDataCodingScheme()
public void setLcsDataCodingScheme(java.lang.String lcsDataCodingScheme)
lcsDataCodingScheme
- the value corresponding to the payload of the [LCS-Data-Coding-Scheme] Avp.public java.lang.String getLcsRequestorIdString()
public void setLcsRequestorIdString(java.lang.String lcsRequestorIdString)
lcsRequestorIdString
- the value corresponding to the payload of the [LCS-Requestor-Id-String] Avp.public void validate() throws ChargingValidationException
ChargingValidationException
- if a member of LCSRequestorId is in an unexpected format.public Avp toAvp() throws AvpTransformationException
All non-null members of LCSRequestorId will be transformed into Avps nested inside of the [LCS-Requestor-Id] Avp.
AvpTransformationException
- if a member of LCSRequestorId is in an
unexpected format.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |