Package com.smeup.kokos.sdk.model.data
Enum Class PrimitiveEntity
- All Implemented Interfaces:
Serializable,Comparable<PrimitiveEntity>,Constable
- Author:
- mattia.bonardi This enum list the primitive entities of Data
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBooleanButtonDate ddMMyyDate ddMMyyyyDate yyMMddDate yyyyMMddTimestamp HHddddTimestamp HHmmssTimestamp HHmmTimestamp ssssTimestamp (Ora,Cen/Min HH,xx)Timestamp (Min,Cen/Sec MMMM,xx)Timestamp ISO (UTC) yyyyMMddHHmmssSSSSSSColor (RGB)BarIconImageProgress barListNumberPercentageQuantityCurrency EURCurrency LIRACurrency USDRadio -
Method Summary
Modifier and TypeMethodDescriptionstatic PrimitiveEntityfromEntityClass(String entityClass) static PrimitiveEntityReturns the enum constant of this class with the specified name.static PrimitiveEntity[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOOLEAN
Boolean -
BUTTON
Button -
D8YYMD
Date yyyyMMdd -
D8YMD
Date yyMMdd -
D8DMY
Date ddMMyy -
D8DMYY
Date ddMMyyyy -
I11
Timestamp HHdddd -
I1H
Timestamp (Ora,Cen/Min HH,xx) -
I1M
Timestamp (Min,Cen/Sec MMMM,xx) -
I12
Timestamp HHmmss -
I13
Timestamp HHmm -
I14
Timestamp ssss -
I32
Timestamp ISO (UTC) yyyyMMddHHmmssSSSSSS -
JL
List -
J1COL
Color (RGB) -
J4PGB
Progress bar -
J4IMG
Image -
J4ICO
Icon -
J4BAR
Bar -
NR
Number -
NRP
Percentage -
NRQ
Quantity -
NRVE
Currency EUR -
NRVV
Currency USD -
NRVL
Currency LIRA -
V2RADIO
Radio
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
fromEntityClass
-