Class ApplicationType
- java.lang.Object
-
- com.orchestranetworks.addon.dataexchange.transformation.ApplicationType
-
public final class ApplicationType extends java.lang.Object
Defines possible application types.- Since:
- 2.1.0
-
-
Field Summary
Fields Modifier and Type Field Description static ApplicationType
CSV
Specifies the application type used to import/ export data from/to a CSV file.static ApplicationType
DEFAULT_SQL
Specifies that the application type relies on default SQL paths created by {addon.label} when an SQL import or export process executes.static ApplicationType
DEFAULT_XML
Specifies that the application type relies on default XML paths created by {addon.label} when an XML import or export process executes.static ApplicationType
EBX
Specifies the application type used to transfer data between two datasets in EBX®.static ApplicationType
EXCEL
Specifies the application type used to import/ export data from/to an Excel file.static ApplicationType
UNKNOWN
Specifies an unidentified type.static ApplicationType
XML
Specifies the application type used to import/ export data from/to an XML file.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getValue()
Returns theString
value of the application type.int
hashCode()
boolean
isCSV()
Returnstrue
if the application type isCSV
.boolean
isDefaultSQL()
Returnstrue
if the application type isDefault SQL
.boolean
isDefaultXML()
Returnstrue
if the application type isDefault XML
.boolean
isEBX()
Returnstrue
if the application type isEBX
.boolean
isExcel()
Returnstrue
if the application type isExcel
.boolean
isUnknown()
Returnstrue
if the application type is notEBX
,XML
,Default XML
,CSV
orExcel
.boolean
isXML()
Returnstrue
if the application type isXML
.static ApplicationType
parse(java.lang.String value)
Returns the application type instance corresponding to the value specified.
-
-
-
Field Detail
-
EBX
public static final ApplicationType EBX
Specifies the application type used to transfer data between two datasets in EBX®.
-
XML
public static final ApplicationType XML
Specifies the application type used to import/ export data from/to an XML file.
-
CSV
public static final ApplicationType CSV
Specifies the application type used to import/ export data from/to a CSV file.
-
EXCEL
public static final ApplicationType EXCEL
Specifies the application type used to import/ export data from/to an Excel file.
-
DEFAULT_XML
public static final ApplicationType DEFAULT_XML
Specifies that the application type relies on default XML paths created by {addon.label} when an XML import or export process executes.
-
DEFAULT_SQL
public static final ApplicationType DEFAULT_SQL
Specifies that the application type relies on default SQL paths created by {addon.label} when an SQL import or export process executes.- Since:
- 2.2.0
-
UNKNOWN
public static final ApplicationType UNKNOWN
Specifies an unidentified type.
-
-
Method Detail
-
parse
public static ApplicationType parse(java.lang.String value)
Returns the application type instance corresponding to the value specified.
-
isEBX
public boolean isEBX()
Returnstrue
if the application type isEBX
.
-
isXML
public boolean isXML()
Returnstrue
if the application type isXML
.
-
isDefaultXML
public boolean isDefaultXML()
Returnstrue
if the application type isDefault XML
.
-
isCSV
public boolean isCSV()
Returnstrue
if the application type isCSV
.
-
isExcel
public boolean isExcel()
Returnstrue
if the application type isExcel
.
-
isDefaultSQL
public boolean isDefaultSQL()
Returnstrue
if the application type isDefault SQL
.- Since:
- 2.2.0
-
isUnknown
public boolean isUnknown()
Returnstrue
if the application type is notEBX
,XML
,Default XML
,CSV
orExcel
.
-
getValue
public java.lang.String getValue()
Returns theString
value of the application type.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-