public enum ServiceType extends Enum<ServiceType>
| Enum Constant and Description |
|---|
CSV_EXPORT
Specifies the service type used to export data to a CSV file.
|
CSV_IMPORT
Specifies the service type used to import data from a CSV file.
|
SPREADSHEET_EXPORT
Specifies the service type used to export data to an Excel file.
|
SPREADSHEET_IMPORT
Specifies the service type used to import data from an Excel file.
|
SQL_EXPORT
Specifies the service type used to export data to an external database.
|
SQL_IMPORT
Specifies the service type used to import data from an external database.
|
TRANSFER
Specifies the service type used to transfer data.
|
XML_EXPORT
Specifies the service type used to export data to an XML file.
|
XML_IMPORT
Specifies the service type used to import data from an XML file.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCSVExport()
Returns
true if the service type is CSV_EXPORT. |
boolean |
isCSVImport()
Returns
true if the service type is CSV_IMPORT. |
boolean |
isSpreadsheetExport()
Returns
true if the service type is SPREADSHEET_EXPORT. |
boolean |
isSpreadsheetImport()
Returns
true if the service type is SPREADSHEET_IMPORT. |
boolean |
isSQLExport()
Returns
true if the service type is SQL_EXPORT. |
boolean |
isSQLImport()
Returns
true if the service type is SQL_IMPORT. |
boolean |
isTransfer()
Returns
true if the service type is TRANSFER. |
boolean |
isXMLExport()
Returns
true if the service type is XML_EXPORT. |
boolean |
isXMLImport()
Returns
true if the service type is XML_IMPORT. |
static ServiceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceType TRANSFER
public static final ServiceType XML_IMPORT
public static final ServiceType XML_EXPORT
public static final ServiceType SQL_IMPORT
public static final ServiceType SQL_EXPORT
public static final ServiceType SPREADSHEET_IMPORT
public static final ServiceType SPREADSHEET_EXPORT
public static final ServiceType CSV_IMPORT
public static final ServiceType CSV_EXPORT
public static ServiceType[] values()
for (ServiceType c : ServiceType.values()) System.out.println(c);
public static ServiceType 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 boolean isTransfer()
true if the service type is TRANSFER.public boolean isXMLExport()
true if the service type is XML_EXPORT.public boolean isXMLImport()
true if the service type is XML_IMPORT.public boolean isSQLExport()
true if the service type is SQL_EXPORT.public boolean isSQLImport()
true if the service type is SQL_IMPORT.public boolean isCSVExport()
true if the service type is CSV_EXPORT.public boolean isCSVImport()
true if the service type is CSV_IMPORT.public boolean isSpreadsheetExport()
true if the service type is SPREADSHEET_EXPORT.public boolean isSpreadsheetImport()
true if the service type is SPREADSHEET_IMPORT.