public enum CallSourceType extends Enum<CallSourceType>
| Enum Constant and Description |
|---|
FIXED |
Mobile |
Outbound |
Payphone |
Unknown |
| Modifier and Type | Field and Description |
|---|---|
String |
name |
String |
shortName |
Integer |
value |
| Modifier and Type | Method and Description |
|---|---|
static CallSourceType |
fromValue(Integer value) |
static int |
toValue(String name) |
static CallSourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CallSourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CallSourceType Unknown
public static final CallSourceType FIXED
public static final CallSourceType Mobile
public static final CallSourceType Payphone
public static final CallSourceType Outbound
public final Integer value
public final String name
public final String shortName
public static CallSourceType[] values()
for (CallSourceType c : CallSourceType.values()) System.out.println(c);
public static CallSourceType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static CallSourceType fromValue(Integer value) throws IllegalArgumentException
IllegalArgumentExceptionpublic static int toValue(String name)
Copyright © 2026. All rights reserved.