public enum DataSourceType extends Enum<DataSourceType>
| Modifier and Type | Method and Description |
|---|---|
abstract <T,E extends Exception> |
accept(IDataSourceTypeVisitor<T,E> visitor) |
static DataSourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataSourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataSourceType MEMORY
public static final DataSourceType DATABASE
public static final DataSourceType FILE
public static final DataSourceType SERVICE
public static DataSourceType[] values()
for (DataSourceType c : DataSourceType.values()) System.out.println(c);
public static DataSourceType 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 abstract <T,E extends Exception> T accept(IDataSourceTypeVisitor<T,E> visitor) throws E extends Exception
E extends ExceptionCopyright © 2007–2018 Andreas W. Bartels. All rights reserved.