public enum VariableType extends Enum<VariableType> implements IPluginEnumLetterFormat
| 枚举常量和说明 |
|---|
Boolean
布尔
|
Char
文本
|
Date
日期
|
Entity
实体
|
Integer
整型,可能返回int, long, bigdecimal
|
LongDate
长日期
|
Number
小数,可能返回float, double, bigdecimal
|
Range
指定类型范围
|
Text
长文本
|
| 限定符和类型 | 方法和说明 |
|---|---|
static VariableType |
getType(String types) |
static VariableType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static VariableType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfnamepublic static final VariableType Entity
public static final VariableType Char
public static final VariableType Text
public static final VariableType Number
public static final VariableType Boolean
public static final VariableType Date
public static final VariableType LongDate
public static final VariableType Integer
public static final VariableType Range
public static VariableType[] values()
for (VariableType c : VariableType.values()) System.out.println(c);
public static VariableType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static VariableType getType(String types)
Copyright © 2021. All rights reserved.