public class WeakFieldReferenceList extends ListPackManager
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
WeakFieldReference |
createField(java.lang.String uid,
java.lang.String fieldName,
int fieldType,
int valueInterpretation)
Adds a new field to this list for the given field UID, field type and field value interpretation.
|
WeakFieldReference |
getField(java.lang.String guid) |
java.util.List<WeakFieldReference> |
getFields() |
java.util.List<java.lang.String> |
getFieldUIDs() |
void |
removeField(WeakFieldReference weakFieldReference)
Removes the given field from this list.
|
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public java.util.List<java.lang.String> getFieldUIDs()
public java.util.List<WeakFieldReference> getFields()
public WeakFieldReference getField(java.lang.String guid)
public WeakFieldReference createField(java.lang.String uid, java.lang.String fieldName, int fieldType, int valueInterpretation)
uid
- the UID of the new field to addfieldType
- the field type of the new fieldvalueInterpretation
- the value interpretation of the new fieldpublic void removeField(WeakFieldReference weakFieldReference)
weakFieldReference
- the field to removewww.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.