public enum ESpecificsItemType extends Enum<ESpecificsItemType>
Specifics Type described how to treat (edit/print/filter) assigned specifics.
| Enum Constant and Description |
|---|
BIGDECIMAL
1, for specifics like "Weight", stringValue
may hold unit of measure.
|
CHOOSEABLE_SPECIFICS
10, longValue1 hold ID of chosen from list of ChooseableSpecifics,
stringValue1 hold appearance to improve performance,
and so does longValue2 - ChooseableSpecificsType.
|
FILE
5, stringValue1 hold URL to file, e.g.
|
FILE_EMBEDDED
6, show it on page, stringValue1 hold URL to file e.g.
|
IMAGE
3, stringValue1 hold URL to image,
stringValue2 - uploaded file path if it was uploaded.
|
IMAGE_IN_SET
4, stringValue1 hold URL to image,
stringValue2 - uploaded file path if it was uploaded.
|
INTEGER
2, for specifics like "MemorySize",
stringValue may hold unit of measure.
|
LINK
7, stringValue1 hold URL.
|
LINK_EMBEDDED
8, show HTML page.
|
TEXT
0, default, printed as text.
|
| Modifier and Type | Method and Description |
|---|---|
static ESpecificsItemType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ESpecificsItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ESpecificsItemType TEXT
0, default, printed as text.
public static final ESpecificsItemType BIGDECIMAL
1, for specifics like "Weight", stringValue may hold unit of measure.
public static final ESpecificsItemType INTEGER
2, for specifics like "MemorySize", stringValue may hold unit of measure.
public static final ESpecificsItemType IMAGE
3, stringValue1 hold URL to image, stringValue2 - uploaded file path if it was uploaded.
public static final ESpecificsItemType IMAGE_IN_SET
4, stringValue1 hold URL to image, stringValue2 - uploaded file path if it was uploaded. Image that belongs to set of images ordered and gathered (they must have adjacent indexes) by itsIndex, longValue1 may hold "showSizeTypeClass".
public static final ESpecificsItemType FILE
5, stringValue1 hold URL to file, e.g. "get brochure", stringValue2 - uploaded file path if it was uploaded.
public static final ESpecificsItemType FILE_EMBEDDED
6, show it on page, stringValue1 hold URL to file e.g. a PDF, stringValue2 - uploaded file path if it was uploaded, longValue1 may hold "showSizeTypeClass", e.g. class=1 means show 30% of page size.
public static final ESpecificsItemType LINK
7, stringValue1 hold URL.
public static final ESpecificsItemType LINK_EMBEDDED
8, show HTML page. stringValue1 hold URL, longValue1 may hold "showSizeClass".
public static final ESpecificsItemType CHOOSEABLE_SPECIFICS
10, longValue1 hold ID of chosen from list of ChooseableSpecifics, stringValue1 hold appearance to improve performance, and so does longValue2 - ChooseableSpecificsType. This is the mostly used method.
public static ESpecificsItemType[] values()
for (ESpecificsItemType c : ESpecificsItemType.values()) System.out.println(c);
public static ESpecificsItemType 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 nullCopyright © 2017–2018. All rights reserved.