public interface LcsClientName extends GroupedAvp
7.2.85 LCS-Client-Name AVP The LCS-Client-Name AVP (AVP code 1235) is of type Grouped and contains the information related to the name of the LCS Client. It has the following ABNF grammar: LCS-Client-Name ::= < AVP Header: 1235> [ LCS-Data-Coding-Scheme ] [ LCS-Name-String ] [ LCS-Format-Indicator ]Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
java.lang.String |
getLcsDataCodingScheme()
Returns the value of the LCS-Data-Coding-Scheme AVP, of type UTF8String.
|
LcsFormatIndicator |
getLcsFormatIndicator()
Returns the value of the LCS-Format-Indicator AVP, of type Enumerated.
|
java.lang.String |
getLcsNameString()
Returns the value of the LCS-Name-String AVP, of type UTF8String.
|
boolean |
hasLcsDataCodingScheme()
Returns true if the LCS-Data-Coding-Scheme AVP is present in the LCS-Client-Name AVP.
|
boolean |
hasLcsFormatIndicator()
Returns true if the LCS-Format-Indicator AVP is present in the LCS-Client-Name AVP.
|
boolean |
hasLcsNameString()
Returns true if the LCS-Name-String AVP is present in the LCS-Client-Name AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the LCS-Client-Name AVP.
|
void |
removeLcsDataCodingScheme()
Removes the LCS-Data-Coding-Scheme AVP from the LCS-Client-Name AVP.
|
void |
removeLcsFormatIndicator()
Removes the LCS-Format-Indicator AVP from the LCS-Client-Name AVP.
|
void |
removeLcsNameString()
Removes the LCS-Name-String AVP from the LCS-Client-Name AVP.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setLcsDataCodingScheme(java.lang.String lcsDataCodingScheme)
Sets the value of the LCS-Data-Coding-Scheme AVP, of type UTF8String.
|
void |
setLcsFormatIndicator(LcsFormatIndicator lcsFormatIndicator)
Sets the value of the LCS-Format-Indicator AVP, of type Enumerated.
|
void |
setLcsNameString(java.lang.String lcsNameString)
Sets the value of the LCS-Name-String AVP, of type UTF8String.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasLcsDataCodingScheme()
java.lang.String getLcsDataCodingScheme()
void setLcsDataCodingScheme(java.lang.String lcsDataCodingScheme)
java.lang.NullPointerException
- if lcsDataCodingScheme
is null
.void removeLcsDataCodingScheme()
boolean hasLcsNameString()
java.lang.String getLcsNameString()
void setLcsNameString(java.lang.String lcsNameString)
java.lang.NullPointerException
- if lcsNameString
is null
.void removeLcsNameString()
boolean hasLcsFormatIndicator()
LcsFormatIndicator getLcsFormatIndicator()
void setLcsFormatIndicator(LcsFormatIndicator lcsFormatIndicator)
java.lang.NullPointerException
- if lcsFormatIndicator
is null
.void removeLcsFormatIndicator()
DiameterAvp[] getExtensionAvps()
void setExtensionAvps(DiameterAvp[] avps) throws AvpNotAllowedException
AvpNotAllowedException
- if an AVP is encountered of a type already known to this class
(i.e. an AVP for which get/set methods already appear in this class)java.lang.NullPointerException
- if avps
is null
.void removeExtensionAvps()