public abstract class FieldList
extends java.lang.Object
FieldList
object is used to maintain a collection of field entries. It's meaning depends on
it's origin: com.canto.cumulus.FieldDefinition#getLinkedFieldList
: returns the list of linked
fields for the field referred by the FieldDefinition
object. By default the linked field list for a
given field is empty, unless an explicit field linking has been defined. Cumulus also performs automatic field
linking for all module fields that match the field GUID
or name. This list of matching field can be
retrieved by using the FieldList#addAllMatchingModuleFields()
. com.canto.cumulus.Layout#getAvailableFields
: returns a list of fields that can be filled during cataloging (adding)
or updating of records if the fields are part of the catalog's record layout. The fields in this list are not
necessarily part of the record layout, but can be used to obtain information about the fields that can be filled by
the cataloger, filters and the application.Constructor and Description |
---|
FieldList() |
Modifier and Type | Method and Description |
---|---|
abstract int |
countFieldListEntries()
Returns the number of entries in the list.
|
abstract CumulusSession |
getCumulusSession()
Returns the current
CumulusSession object. |
abstract FieldListEntry |
getFieldListEntry(int index)
Returns an entry by index.
|
abstract void |
moveFieldListEntry(int from,
int to)
Moves an entry within the list.
|
public abstract CumulusSession getCumulusSession()
CumulusSession
object.CumulusSession
object.public abstract int countFieldListEntries()
public abstract FieldListEntry getFieldListEntry(int index)
index
- the entry's index in the list.public abstract void moveFieldListEntry(int from, int to)
from
- the entry's old index in the list.to
- the entry's new index in the list.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.