Class Adaptations
- java.lang.Object
-
- org.jainslee.resources.diameter.ro.types.vcb0.Adaptations
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class Adaptations extends Object implements Serializable, Enumerated
Java class to represent the Adaptations enumerated type. Documentation from the relevant specification: The Adaptations AVP (AVP code 1217) is of type Enumerated and indicates whether the originator allows adaptation of the content (default Yes).- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_NO
static int
_YES
static Adaptations
NO
static Adaptations
YES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Adaptations
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_YES
public static final int _YES
- See Also:
- Constant Field Values
-
_NO
public static final int _NO
- See Also:
- Constant Field Values
-
YES
public static final Adaptations YES
-
NO
public static final Adaptations NO
-
-
Method Detail
-
fromInt
public static Adaptations 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
-
-