Class RelationshipMode
- java.lang.Object
-
- org.jainslee.resources.diameter.ro.types.vcb0.RelationshipMode
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class RelationshipMode extends Object implements Serializable, Enumerated
Java class to represent the RelationshipMode enumerated type. Documentation from the relevant specification: The Relationship-Mode AVP (AVP code 2706) is of type Enumerated and indicates whether the other functional entity (e.g. contact point of the neighbouring network) is regarded as part of the same trust domain.- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_NON_TRUSTED
static int
_TRUSTED
static RelationshipMode
NON_TRUSTED
static RelationshipMode
TRUSTED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RelationshipMode
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_TRUSTED
public static final int _TRUSTED
- See Also:
- Constant Field Values
-
_NON_TRUSTED
public static final int _NON_TRUSTED
- See Also:
- Constant Field Values
-
TRUSTED
public static final RelationshipMode TRUSTED
-
NON_TRUSTED
public static final RelationshipMode NON_TRUSTED
-
-
Method Detail
-
fromInt
public static RelationshipMode 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
-
-