public enum OriginType extends java.lang.Enum<OriginType>
Enum Constant and Description |
---|
Local
Locally originated/initiated call - outgoing call
|
NA
Invalid - information not available
|
Remote
Remotely originated/initiated call - incoming call
|
Modifier and Type | Method and Description |
---|---|
static OriginType |
fromInt(int i) |
static OriginType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OriginType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OriginType NA
public static final OriginType Local
public static final OriginType Remote
public static OriginType[] values()
for (OriginType c : OriginType.values()) System.out.println(c);
public static OriginType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static OriginType fromInt(int i)