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