public static enum TypeUtil.DataFormat extends Enum<TypeUtil.DataFormat>
| Enum Constant and Description |
|---|
BINARY |
BYTE |
DATE |
DATE_TIME |
DOUBLE |
FLOAT |
INT32 |
INT64 |
NONE |
PASSWORD |
| Modifier and Type | Method and Description |
|---|---|
String |
format() |
boolean |
hasFormat() |
static TypeUtil.DataFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeUtil.DataFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeUtil.DataFormat NONE
public static final TypeUtil.DataFormat INT32
public static final TypeUtil.DataFormat INT64
public static final TypeUtil.DataFormat FLOAT
public static final TypeUtil.DataFormat DOUBLE
public static final TypeUtil.DataFormat BYTE
public static final TypeUtil.DataFormat BINARY
public static final TypeUtil.DataFormat DATE
public static final TypeUtil.DataFormat DATE_TIME
public static final TypeUtil.DataFormat PASSWORD
public static TypeUtil.DataFormat[] values()
for (TypeUtil.DataFormat c : TypeUtil.DataFormat.values()) System.out.println(c);
public static TypeUtil.DataFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String format()
public boolean hasFormat()
Copyright © 2018 JBoss by Red Hat. All rights reserved.