public enum DIDSourceType extends Enum<DIDSourceType>
| Modifier and Type | Field and Description |
|---|---|
String |
name |
String |
shortName |
Integer |
value |
| Modifier and Type | Method and Description |
|---|---|
static DIDSourceType |
fromValue(Integer value) |
static int |
toValue(String name) |
static DIDSourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DIDSourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DIDSourceType FIXED
public static final DIDSourceType Mobile
public static final DIDSourceType Payphone
public static final DIDSourceType All
public final Integer value
public final String name
public final String shortName
public static DIDSourceType[] values()
for (DIDSourceType c : DIDSourceType.values()) System.out.println(c);
public static DIDSourceType 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 DIDSourceType fromValue(Integer value) throws IllegalArgumentException
IllegalArgumentExceptionpublic static int toValue(String name)
Copyright © 2026. All rights reserved.