public class FieldValues extends ListPackManager
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
FieldValue |
createFieldValue(GUID fieldGUID)
Creates another entry for the specified field and returns it.
|
boolean |
fieldHasValue(GUID guid)
Returns whether the specified field has a value.
|
FieldValue |
getFieldValue(GUID fieldGUID)
Returns the field value manager for the field specified by the UID.
|
java.lang.Boolean |
getValue(GUID field,
java.lang.Boolean fallback)
This method returns the value of the specified
Boolean field and if that field does not exists the fallback value is returned instead. |
java.util.Date |
getValue(GUID field,
java.util.Date fallback)
This method returns the value of the specified
Date field and if that field does not exists the fallback value is returned instead. |
java.lang.String |
getValue(GUID field,
java.lang.String fallback)
This method returns the value of the specified
String field and if that field does not exists the fallback value is returned instead. |
void |
removeAllPackListener() |
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public void removeAllPackListener()
public FieldValue createFieldValue(GUID fieldGUID)
fieldGUID
- the UID of the field to work onpublic FieldValue getFieldValue(GUID fieldGUID)
fieldGUID
- the UID of the field to work onpublic java.lang.String getValue(GUID field, java.lang.String fallback)
String
field and if that field does not exists the fallback value is returned instead.field
- the field to get the value fromfallback
- the value to return if the field does not exists or does not have any valuepublic java.util.Date getValue(GUID field, java.util.Date fallback)
Date
field and if that field does not exists the fallback value is returned instead.field
- the field to get the value fromfallback
- the value to return if the field does not exists or does not have any valuepublic java.lang.Boolean getValue(GUID field, java.lang.Boolean fallback)
Boolean
field and if that field does not exists the fallback value is returned instead.field
- the field to get the value fromfallback
- the value to return if the field does not exists or does not have any valuepublic boolean fieldHasValue(GUID guid)
guid
- the fields UIDwww.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.