Enum ServiceType
- All Implemented Interfaces:
Serializable
,Comparable<ServiceType>
,Constable
Defines the possible service types.
- Since:
- 2.3.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies the service type used to export data to a CSV file.Specifies the service type used to import data from a CSV file.Specifies the service type used to export data to an Excel file.Specifies the service type used to import data from an Excel file.Specifies the service type used to export data to an external database.Specifies the service type used to import data from an external database.Specifies the service type used to transfer data.Specifies the service type used to export data to an XML file.Specifies the service type used to import data from an XML file. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returnstrue
if the service type isCSV_EXPORT
.boolean
Returnstrue
if the service type isCSV_IMPORT
.boolean
Returnstrue
if the service type isSPREADSHEET_EXPORT
.boolean
Returnstrue
if the service type isSPREADSHEET_IMPORT
.boolean
Returnstrue
if the service type isSQL_EXPORT
.boolean
Returnstrue
if the service type isSQL_IMPORT
.boolean
Returnstrue
if the service type isTRANSFER
.boolean
Returnstrue
if the service type isXML_EXPORT
.boolean
Returnstrue
if the service type isXML_IMPORT
.static ServiceType
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.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
TRANSFER
Specifies the service type used to transfer data. -
XML_IMPORT
Specifies the service type used to import data from an XML file. -
XML_EXPORT
Specifies the service type used to export data to an XML file. -
SQL_IMPORT
Specifies the service type used to import data from an external database. -
SQL_EXPORT
Specifies the service type used to export data to an external database. -
SPREADSHEET_IMPORT
Specifies the service type used to import data from an Excel file. -
SPREADSHEET_EXPORT
Specifies the service type used to export data to an Excel file. -
CSV_IMPORT
Specifies the service type used to import data from a CSV file. -
CSV_EXPORT
Specifies the service type used to export data to a CSV file.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
isTransfer
public boolean isTransfer()Returnstrue
if the service type isTRANSFER
. -
isXMLExport
public boolean isXMLExport()Returnstrue
if the service type isXML_EXPORT
. -
isXMLImport
public boolean isXMLImport()Returnstrue
if the service type isXML_IMPORT
. -
isSQLExport
public boolean isSQLExport()Returnstrue
if the service type isSQL_EXPORT
. -
isSQLImport
public boolean isSQLImport()Returnstrue
if the service type isSQL_IMPORT
. -
isCSVExport
public boolean isCSVExport()Returnstrue
if the service type isCSV_EXPORT
. -
isCSVImport
public boolean isCSVImport()Returnstrue
if the service type isCSV_IMPORT
. -
isSpreadsheetExport
public boolean isSpreadsheetExport()Returnstrue
if the service type isSPREADSHEET_EXPORT
. -
isSpreadsheetImport
public boolean isSpreadsheetImport()Returnstrue
if the service type isSPREADSHEET_IMPORT
.
-