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 int
_END_USER_UNKNOWN_10
static int
_END_USER_UNKNOWN_5
static int
_END_USER_UNKNOWN_6
static int
_END_USER_UNKNOWN_7
static int
_END_USER_UNKNOWN_8
static int
_END_USER_UNKNOWN_9
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].static SubscriptionIdType
END_USER_UNKNOWN_10
The Identifier is an unknown identifier with value 10.static SubscriptionIdType
END_USER_UNKNOWN_5
The Identifier is an unknown identifier with value 5.static SubscriptionIdType
END_USER_UNKNOWN_6
The Identifier is an unknown identifier with value 6.static SubscriptionIdType
END_USER_UNKNOWN_7
The Identifier is an unknown identifier with value 7.static SubscriptionIdType
END_USER_UNKNOWN_8
The Identifier is an unknown identifier with value 8.static SubscriptionIdType
END_USER_UNKNOWN_9
The Identifier is an unknown identifier with value 9.
-
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_UNKNOWN_5
public static final int _END_USER_UNKNOWN_5
- See Also:
- Constant Field Values
-
_END_USER_UNKNOWN_6
public static final int _END_USER_UNKNOWN_6
- See Also:
- Constant Field Values
-
_END_USER_UNKNOWN_7
public static final int _END_USER_UNKNOWN_7
- See Also:
- Constant Field Values
-
_END_USER_UNKNOWN_8
public static final int _END_USER_UNKNOWN_8
- See Also:
- Constant Field Values
-
_END_USER_UNKNOWN_9
public static final int _END_USER_UNKNOWN_9
- See Also:
- Constant Field Values
-
_END_USER_UNKNOWN_10
public static final int _END_USER_UNKNOWN_10
- 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.
-
END_USER_UNKNOWN_5
public static final SubscriptionIdType END_USER_UNKNOWN_5
The Identifier is an unknown identifier with value 5.
-
END_USER_UNKNOWN_6
public static final SubscriptionIdType END_USER_UNKNOWN_6
The Identifier is an unknown identifier with value 6.
-
END_USER_UNKNOWN_7
public static final SubscriptionIdType END_USER_UNKNOWN_7
The Identifier is an unknown identifier with value 7.
-
END_USER_UNKNOWN_8
public static final SubscriptionIdType END_USER_UNKNOWN_8
The Identifier is an unknown identifier with value 8.
-
END_USER_UNKNOWN_9
public static final SubscriptionIdType END_USER_UNKNOWN_9
The Identifier is an unknown identifier with value 9.
-
END_USER_UNKNOWN_10
public static final SubscriptionIdType END_USER_UNKNOWN_10
The Identifier is an unknown identifier with value 10.
-
-
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
-
-