public interface UserEquipmentInfo extends GroupedAvp
7.1.17 User-Equipment-Info AVP The User-Equipment-Info �AVP (AVP code 458) is of type grouped and contains the identity and capability of the terminal the subscriber is using for the connection to network according to IETF RFC 4006 [402] with the following ABNF grammar: User-Equipment-Info ::= < AVP Header: 458 > { User-Equipment-Info-Type } { User-Equipment-Info-Value } When the User-Equipment-Info-Type AVP (AVP code 459) is set to IMEISV (0), the value within the User-Equipment-Info-Value AVP (AVP code 460) is of type OctetString and shall be a UTF-8 encoded decimal. The composition of the IMEISV follows the IMEI definition in TS 23.003 [224].Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
UserEquipmentInfoType |
getUserEquipmentInfoType()
Returns the value of the User-Equipment-Info-Type AVP, of type Enumerated.
|
byte[] |
getUserEquipmentInfoValue()
Returns the value of the User-Equipment-Info-Value AVP, of type OctetString.
|
boolean |
hasUserEquipmentInfoType()
Returns true if the User-Equipment-Info-Type AVP is present in the User-Equipment-Info AVP.
|
boolean |
hasUserEquipmentInfoValue()
Returns true if the User-Equipment-Info-Value AVP is present in the User-Equipment-Info AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the User-Equipment-Info AVP.
|
void |
removeUserEquipmentInfoType()
Removes the User-Equipment-Info-Type AVP from the User-Equipment-Info AVP.
|
void |
removeUserEquipmentInfoValue()
Removes the User-Equipment-Info-Value AVP from the User-Equipment-Info AVP.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setUserEquipmentInfoType(UserEquipmentInfoType userEquipmentInfoType)
Sets the value of the User-Equipment-Info-Type AVP, of type Enumerated.
|
void |
setUserEquipmentInfoValue(byte[] userEquipmentInfoValue)
Sets the value of the User-Equipment-Info-Value AVP, of type OctetString.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasUserEquipmentInfoType()
UserEquipmentInfoType getUserEquipmentInfoType()
void setUserEquipmentInfoType(UserEquipmentInfoType userEquipmentInfoType)
java.lang.NullPointerException
- if userEquipmentInfoType
is null
.void removeUserEquipmentInfoType()
boolean hasUserEquipmentInfoValue()
byte[] getUserEquipmentInfoValue()
void setUserEquipmentInfoValue(byte[] userEquipmentInfoValue)
java.lang.NullPointerException
- if userEquipmentInfoValue
is null
.void removeUserEquipmentInfoValue()
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()