public enum MultipleLanguagesFieldType extends java.lang.Enum<MultipleLanguagesFieldType>
Enum Constant and Description |
---|
BASE_FIELD
This field is a base field of a multiple languages bundle which means that this field uses the original field UID (for example
GUID.UID_REC_NOTES ) instead of the generated one for an additional language. |
CHILD_FIELD
This field is a child field of a multiple languages bundle which means that this field uses the generated field UID incorporating the language of the
field instead of the original field UID.
|
NO_MULTIPLE_LANGUAGE
Field is not part of a multiple languages field bundle.
|
Modifier and Type | Method and Description |
---|---|
static MultipleLanguagesFieldType |
find(int id)
Returns the field type for the given id.
|
int |
getID()
Returns the ID of this multiple language field type.
|
static MultipleLanguagesFieldType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MultipleLanguagesFieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MultipleLanguagesFieldType NO_MULTIPLE_LANGUAGE
public static final MultipleLanguagesFieldType BASE_FIELD
GUID.UID_REC_NOTES
) instead of the generated one for an additional language.public static final MultipleLanguagesFieldType CHILD_FIELD
public static MultipleLanguagesFieldType[] values()
for (MultipleLanguagesFieldType c : MultipleLanguagesFieldType.values()) System.out.println(c);
public static MultipleLanguagesFieldType 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 static MultipleLanguagesFieldType find(int id)
id
- if of the type to returnpublic int getID()
www.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.