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