Class AddressType
- java.lang.Object
-
- org.jainslee.resources.diameter.ro.types.v820.AddressType
-
- All Implemented Interfaces:
Serializable,Enumerated
public class AddressType extends Object implements Serializable, Enumerated
Java class to represent the AddressType enumerated type. Documentation from the relevant specification: The Address-Type AVP (AVP code 899) is of type Enumerated and indicates the type of address carried within the Address-Information AVP.- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int_ALPHANUMERIC_SHORTCODEstatic int_E_MAIL_ADDRESSstatic int_IPV4_ADDRESSstatic int_IPV6_ADDRESSstatic int_MSISDNstatic int_NUMERIC_SHORTCODEstatic int_OTHERstatic AddressTypeALPHANUMERIC_SHORTCODEstatic AddressTypeE_MAIL_ADDRESSstatic AddressTypeIPV4_ADDRESSstatic AddressTypeIPV6_ADDRESSstatic AddressTypeMSISDNstatic AddressTypeNUMERIC_SHORTCODEstatic AddressTypeOTHER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AddressTypefromInt(int type)intgetValue()Return the value of this instance of this enumerated type.StringtoString()
-
-
-
Field Detail
-
_E_MAIL_ADDRESS
public static final int _E_MAIL_ADDRESS
- See Also:
- Constant Field Values
-
_MSISDN
public static final int _MSISDN
- See Also:
- Constant Field Values
-
_IPV4_ADDRESS
public static final int _IPV4_ADDRESS
- See Also:
- Constant Field Values
-
_IPV6_ADDRESS
public static final int _IPV6_ADDRESS
- See Also:
- Constant Field Values
-
_NUMERIC_SHORTCODE
public static final int _NUMERIC_SHORTCODE
- See Also:
- Constant Field Values
-
_ALPHANUMERIC_SHORTCODE
public static final int _ALPHANUMERIC_SHORTCODE
- See Also:
- Constant Field Values
-
_OTHER
public static final int _OTHER
- See Also:
- Constant Field Values
-
E_MAIL_ADDRESS
public static final AddressType E_MAIL_ADDRESS
-
MSISDN
public static final AddressType MSISDN
-
IPV4_ADDRESS
public static final AddressType IPV4_ADDRESS
-
IPV6_ADDRESS
public static final AddressType IPV6_ADDRESS
-
NUMERIC_SHORTCODE
public static final AddressType NUMERIC_SHORTCODE
-
ALPHANUMERIC_SHORTCODE
public static final AddressType ALPHANUMERIC_SHORTCODE
-
OTHER
public static final AddressType OTHER
-
-
Method Detail
-
fromInt
public static AddressType fromInt(int type)
-
getValue
public int getValue()
Description copied from interface:EnumeratedReturn the value of this instance of this enumerated type.- Specified by:
getValuein interfaceEnumerated- Returns:
- value
-
-