public enum EItmSpTy extends Enum<EItmSpTy>
Specifics Type described how to treat (edit/print/filter) assigned specifics.
| Enum Constant and Description |
|---|
BIGDECIMAL
1, for specifics like "Weight", longValue2 may hold unit of
measure ID and stringValue1 UOM name (def lang) to improve
performance, longValue1 holds decimal places - 2 default.
|
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 EItmSpTy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EItmSpTy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EItmSpTy TEXT
0, default, printed as text. Use FILE_EMBEDDED instead cause its' more suitable, powerful and I18N ready.
public static final EItmSpTy BIGDECIMAL
1, for specifics like "Weight", longValue2 may hold unit of measure ID and stringValue1 UOM name (def lang) to improve performance, longValue1 holds decimal places - 2 default.
public static final EItmSpTy INTEGER
2, for specifics like "MemorySize", stringValue may hold unit of measure.
public static final EItmSpTy IMAGE
3, stringValue1 hold URL to image, stringValue2 - uploaded file path if it was uploaded.
public static final EItmSpTy 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 EItmSpTy FILE
5, stringValue1 hold URL to file, e.g. "get brochure", stringValue2 - uploaded file path if it was uploaded.
public static final EItmSpTy FILE_EMBEDDED
6, show it on page, stringValue1 hold URL to file e.g. a PDF/HTML, stringValue2 - uploaded file path if it was uploaded, longValue1 may hold "showSizeTypeClass", e.g. class=1 means show 30% of page size. Main file is on base language, stringValue3 may holds comma separated other languages (e.g. "ru,fr" means that there are two files with these languages with the same name plus "_ru.html".
public static final EItmSpTy LINK
7, stringValue1 hold URL.
public static final EItmSpTy LINK_EMBEDDED
8, show HTML page. stringValue1 hold URL HTML page, longValue1 may hold "showSizeClass". Use FILE_EMBEDDED instead.
public static final EItmSpTy 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 EItmSpTy[] values()
for (EItmSpTy c : EItmSpTy.values()) System.out.println(c);
public static EItmSpTy 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 © 2019–2020. All rights reserved.