Enum FileFieldDataType
- java.lang.Object
-
- java.lang.Enum<FileFieldDataType>
-
- com.netgrif.application.engine.petrinet.domain.dataset.FileFieldDataType
-
- All Implemented Interfaces:
groovy.lang.GroovyObject
,java.io.Serializable
,java.lang.Comparable<FileFieldDataType>
public enum FileFieldDataType extends java.lang.Enum<FileFieldDataType> implements groovy.lang.GroovyObject
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
extension
static FileFieldDataType
MAX_VALUE
static FileFieldDataType
MIN_VALUE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FileFieldDataType
$INIT(java.lang.Object... para)
groovy.lang.MetaClass
getMetaClass()
FileFieldDataType
next()
FileFieldDataType
previous()
static FileFieldDataType
resolveType(java.lang.String extension)
void
setMetaClass(groovy.lang.MetaClass mc)
static FileFieldDataType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FileFieldDataType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JPG
public static final FileFieldDataType JPG
-
JPEG
public static final FileFieldDataType JPEG
-
PNG
public static final FileFieldDataType PNG
-
PDF
public static final FileFieldDataType PDF
-
-
Field Detail
-
extension
public final java.lang.String extension
-
MIN_VALUE
public static final FileFieldDataType MIN_VALUE
-
MAX_VALUE
public static final FileFieldDataType MAX_VALUE
-
-
Method Detail
-
values
public static FileFieldDataType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FileFieldDataType c : FileFieldDataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FileFieldDataType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass
in interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
-
resolveType
public static FileFieldDataType resolveType(java.lang.String extension)
-
next
public FileFieldDataType next()
-
previous
public FileFieldDataType previous()
-
$INIT
public static final FileFieldDataType $INIT(java.lang.Object... para)
-
-