Class 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 the String value of the application type.
      int hashCode()  
      boolean isCSV()
      Returns true if the application type is CSV.
      boolean isDefaultSQL()
      Returns true if the application type is Default SQL.
      boolean isDefaultXML()
      Returns true if the application type is Default XML.
      boolean isEBX()
      Returns true if the application type is EBX.
      boolean isExcel()
      Returns true if the application type is Excel.
      boolean isUnknown()
      Returns true if the application type is not EBX, XML, Default XML, CSV or Excel.
      boolean isXML()
      Returns true if the application type is XML.
      static ApplicationType parse​(java.lang.String value)
      Returns the application type instance corresponding to the value specified.
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • 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()
        Returns true if the application type is EBX.
      • isXML

        public boolean isXML()
        Returns true if the application type is XML.
      • isDefaultXML

        public boolean isDefaultXML()
        Returns true if the application type is Default XML.
      • isCSV

        public boolean isCSV()
        Returns true if the application type is CSV.
      • isExcel

        public boolean isExcel()
        Returns true if the application type is Excel.
      • isDefaultSQL

        public boolean isDefaultSQL()
        Returns true if the application type is Default SQL.
        Since:
        2.2.0
      • isUnknown

        public boolean isUnknown()
        Returns true if the application type is not EBX, XML, Default XML, CSV or Excel.
      • getValue

        public java.lang.String getValue()
        Returns the String value of the application type.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object