public class UserFieldDefinition extends BaseManager
Modifier and Type | Class and Description |
---|---|
static class |
UserFieldDefinition.FieldNames
Wrapper class for field names.
|
static class |
UserFieldDefinition.StringEnums
Manager class for the string enum values.
|
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
GUID |
getGUID()
Returns the field GUID.
|
java.lang.String |
getName(int languageId)
Returns the field name for the specified language ID.
|
UserFieldDefinition.StringEnums |
getStringEnums()
Returns access to the string enum manager.
|
java.lang.String |
getStringEnumValue(int enumID)
Returns the string enum value for the specified enum id and the current language
|
java.lang.String |
getStringEnumValue(int enumID,
int languageId)
If this field is a string enum field this method returns the enum value for the specified enum id and language id.
|
int |
getType()
Returns the field type.
|
int |
getValueInterpretation()
Returns the field value interpretation.
|
boolean |
isReadOnly()
Returns whether this field is read only
|
void |
save()
Saves this field definition.
|
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, toString, writeAsXML
public int getType()
public int getValueInterpretation()
public boolean isReadOnly()
public GUID getGUID()
public java.lang.String getName(int languageId)
languageId
- the id of the language to get the field name forpublic java.lang.String getStringEnumValue(int enumID, int languageId)
enumID
- the enum id to get the value forlanguageId
- the language id to get the value forpublic UserFieldDefinition.StringEnums getStringEnums()
public java.lang.String getStringEnumValue(int enumID)
enumID
- the enum id to get the value forpublic void save()
save
in class BaseManager
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.