Class ApplicationType
- java.lang.Object
-
- com.orchestranetworks.addon.dataexchange.transformation.ApplicationType
-
public final class ApplicationType extends java.lang.ObjectDefines possible application types.- Since:
- 2.1.0
-
-
Field Summary
Fields Modifier and Type Field Description static ApplicationTypeCSVSpecifies the application type used to import/ export data from/to a CSV file.static ApplicationTypeDEFAULT_SQLSpecifies that the application type relies on default SQL paths created by {addon.label} when an SQL import or export process executes.static ApplicationTypeDEFAULT_XMLSpecifies that the application type relies on default XML paths created by {addon.label} when an XML import or export process executes.static ApplicationTypeEBXSpecifies the application type used to transfer data between two datasets in EBX®.static ApplicationTypeEXCELSpecifies the application type used to import/ export data from/to an Excel file.static ApplicationTypeUNKNOWNSpecifies an unidentified type.static ApplicationTypeXMLSpecifies 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 booleanequals(java.lang.Object obj)java.lang.StringgetValue()Returns theStringvalue of the application type.inthashCode()booleanisCSV()Returnstrueif the application type isCSV.booleanisDefaultSQL()Returnstrueif the application type isDefault SQL.booleanisDefaultXML()Returnstrueif the application type isDefault XML.booleanisEBX()Returnstrueif the application type isEBX.booleanisExcel()Returnstrueif the application type isExcel.booleanisUnknown()Returnstrueif the application type is notEBX,XML,Default XML,CSVorExcel.booleanisXML()Returnstrueif the application type isXML.static ApplicationTypeparse(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()
Returnstrueif the application type isEBX.
-
isXML
public boolean isXML()
Returnstrueif the application type isXML.
-
isDefaultXML
public boolean isDefaultXML()
Returnstrueif the application type isDefault XML.
-
isCSV
public boolean isCSV()
Returnstrueif the application type isCSV.
-
isExcel
public boolean isExcel()
Returnstrueif the application type isExcel.
-
isDefaultSQL
public boolean isDefaultSQL()
Returnstrueif the application type isDefault SQL.- Since:
- 2.2.0
-
isUnknown
public boolean isUnknown()
Returnstrueif the application type is notEBX,XML,Default XML,CSVorExcel.
-
getValue
public java.lang.String getValue()
Returns theStringvalue of the application type.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-