枚举类 DataType

java.lang.Object
java.lang.Enum<DataType>
org.ssssssss.magicapi.core.model.DataType
所有已实现的接口:
Serializable, Comparable<DataType>, Constable

public enum DataType extends Enum<DataType>
参数类型枚举
作者:
mxd
  • 枚举常量详细资料

    • Object

      public static final DataType Object
      Object 类型
    • Array

      public static final DataType Array
      数组类型
    • Any

      public static final DataType Any
      任意类型
    • Boolean

      public static final DataType Boolean
      Boolean类型
    • String

      public static final DataType String
      String 类型
    • Integer

      public static final DataType Integer
      Integer 类型
    • Double

      public static final DataType Double
      Double 类型
    • Long

      public static final DataType Long
      Long 类型
    • Float

      public static final DataType Float
      Float 类型
    • Byte

      public static final DataType Byte
      Byte 类型
    • Short

      public static final DataType Short
      Short类型
    • Date

      public static final DataType Date
      Date类型
    • MultipartFile

      public static final DataType MultipartFile
      MultipartFile 类型
    • MultipartFiles

      public static final DataType MultipartFiles
      List 类型
  • 字段详细资料

    • isNumber

      private boolean isNumber
    • invoker

      private org.ssssssss.script.reflection.JavaInvoker<Method> invoker
    • needName

      private boolean needName
    • needValue

      private boolean needValue
    • javascriptType

      private String javascriptType
    • DATE_PATTERNS

      public static String[] DATE_PATTERNS
  • 构造器详细资料

    • DataType

      private DataType(boolean isNumber, org.ssssssss.script.reflection.JavaInvoker<Method> invoker, boolean needName, boolean needValue, String javascriptType)
    • DataType

      private DataType(org.ssssssss.script.reflection.JavaInvoker<Method> invoker, boolean needName, boolean needValue, String javascriptType)
    • DataType

      private DataType(boolean isNumber, org.ssssssss.script.reflection.JavaInvoker<Method> invoker, String javascriptType)
    • DataType

      private DataType(String javascriptType)
  • 方法详细资料

    • values

      public static DataType[] values()
      返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
      返回:
      包含该枚举类的常量的数组,顺序与声明这些常量的顺序相同
    • valueOf

      public static DataType valueOf(String name)
      返回带有指定名称的该类的枚举常量。 字符串必须与用于声明该类的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - 如果该枚举类没有带有指定名称的常量
      NullPointerException - 如果参数为空值
    • isNumber

      public boolean isNumber()
    • getInvoker

      public org.ssssssss.script.reflection.JavaInvoker<Method> getInvoker()
    • isNeedName

      public boolean isNeedName()
    • isNeedValue

      public boolean isNeedValue()
    • getJavascriptType

      public String getJavascriptType()
    • parseDate

      public static Date parseDate(String value) throws ParseException
      抛出:
      ParseException