public enum FieldValueMode extends java.lang.Enum<FieldValueMode>
FieldDefinition.getValueMode()
Enum Constant and Description |
---|
FORMULA_VALUE
The field value is calculated by the cumulus server whenever the record is saved.
|
USER_VALUE
The field value is entered by a user (or by a filter, asset store when cataloging or updating the asset).
|
Modifier and Type | Method and Description |
---|---|
static FieldValueMode |
findType(int id)
Finds the value mode for the given id.
|
int |
getID()
Returns the id of this value mode.
|
static FieldValueMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FieldValueMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldValueMode USER_VALUE
public static final FieldValueMode FORMULA_VALUE
public static FieldValueMode[] values()
for (FieldValueMode c : FieldValueMode.values()) System.out.println(c);
public static FieldValueMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getID()
public static FieldValueMode findType(int id)
id
- wanted idUSER_VALUE
if the id cannot be foundwww.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.