org.jdiameter.api.annotation
Enum AvpType
java.lang.Object
java.lang.Enum<AvpType>
org.jdiameter.api.annotation.AvpType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<AvpType>
public enum AvpType
- extends java.lang.Enum<AvpType>
This enumerated class describe base type of avp.
For more information look RFC 3588
- Author:
- erick.svenson@yahoo.com, Alexandre Mendonca , Bartosz Baranowski
|
Method Summary |
static AvpType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AvpType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
OctetString
public static final AvpType OctetString
Integer32
public static final AvpType Integer32
Integer64
public static final AvpType Integer64
Unsigned32
public static final AvpType Unsigned32
Unsigned64
public static final AvpType Unsigned64
Float32
public static final AvpType Float32
Float64
public static final AvpType Float64
Grouped
public static final AvpType Grouped
Address
public static final AvpType Address
Time
public static final AvpType Time
UTF8String
public static final AvpType UTF8String
DiameterIdentity
public static final AvpType DiameterIdentity
DiameterURI
public static final AvpType DiameterURI
Enumerated
public static final AvpType Enumerated
IPFilterRule
public static final AvpType IPFilterRule
QoSFilterRule
public static final AvpType QoSFilterRule
values
public static AvpType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (AvpType c : AvpType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AvpType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
Copyright © 2013. All Rights Reserved.