Class SubscriptionIdType
- java.lang.Object
-
- org.jainslee.resources.diameter.cca.types.SubscriptionIdType
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class SubscriptionIdType extends Object implements Serializable, Enumerated
Java class to represent the SubscriptionIdType enumerated type. Documentation from the relevant specification: The Subscription-Id-Type AVP (AVP Code 450) is of type Enumerated, and it is used to determine which type of identifier is carried by the Subscription-Id AVP. This specification defines the following subscription identifiers. However, new Subscription-Id-Type values can be assigned by an IANA designated expert, as defined in section 12. A server MUST implement all the Subscription-Id-Types required to perform credit authorization for the services it supports, including possible future values. Unknown or unsupported Subscription-Id-Types MUST be treated according to the 'M' flag rule, as defined in [DIAMBASE].- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_END_USER_E164
static int
_END_USER_IMSI
static int
_END_USER_NAI
static int
_END_USER_PRIVATE
static int
_END_USER_SIP_URI
static SubscriptionIdType
END_USER_E164
The identifier is in international E.164 format (e.g., MSISDN), according to the ITU-T E.164 numbering plan defined in [E164] and [CE164].static SubscriptionIdType
END_USER_IMSI
The identifier is in international IMSI format, according to the ITU-T E.212 numbering plan as defined in [E212] and [CE212].static SubscriptionIdType
END_USER_NAI
The identifier is in the form of a Network Access Identifier, as defined in [NAI].static SubscriptionIdType
END_USER_PRIVATE
The Identifier is a credit-control server private identifier.static SubscriptionIdType
END_USER_SIP_URI
The identifier is in the form of a SIP URI, as defined in [SIP].
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubscriptionIdType
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_END_USER_E164
public static final int _END_USER_E164
- See Also:
- Constant Field Values
-
_END_USER_IMSI
public static final int _END_USER_IMSI
- See Also:
- Constant Field Values
-
_END_USER_SIP_URI
public static final int _END_USER_SIP_URI
- See Also:
- Constant Field Values
-
_END_USER_NAI
public static final int _END_USER_NAI
- See Also:
- Constant Field Values
-
_END_USER_PRIVATE
public static final int _END_USER_PRIVATE
- See Also:
- Constant Field Values
-
END_USER_E164
public static final SubscriptionIdType END_USER_E164
The identifier is in international E.164 format (e.g., MSISDN), according to the ITU-T E.164 numbering plan defined in [E164] and [CE164].
-
END_USER_IMSI
public static final SubscriptionIdType END_USER_IMSI
The identifier is in international IMSI format, according to the ITU-T E.212 numbering plan as defined in [E212] and [CE212].
-
END_USER_SIP_URI
public static final SubscriptionIdType END_USER_SIP_URI
The identifier is in the form of a SIP URI, as defined in [SIP].
-
END_USER_NAI
public static final SubscriptionIdType END_USER_NAI
The identifier is in the form of a Network Access Identifier, as defined in [NAI].
-
END_USER_PRIVATE
public static final SubscriptionIdType END_USER_PRIVATE
The Identifier is a credit-control server private identifier.
-
-
Method Detail
-
fromInt
public static SubscriptionIdType fromInt(int type)
-
getValue
public int getValue()
Description copied from interface:Enumerated
Return the value of this instance of this enumerated type.- Specified by:
getValue
in interfaceEnumerated
- Returns:
- value
-
-