public class RecordFieldList extends ListPackManager
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
RecordField |
getRecordField(java.lang.String guid)
Returns the record field for the given UID.
|
java.util.List<java.lang.String> |
getRecordFieldNames()
Returns a list of record field UIDs contained in this list.
|
java.util.List<RecordField> |
getRecordFields()
Returns a list of all record fields known to this list.
|
java.util.List<GUID> |
getRecordFieldUIDs()
Returns a list of record field UIDs contained in this list.
|
RecordField |
insert(FieldDefinition fieldDefinition,
int pos)
Adds a new field to this list if no field using this fields UID has been added yet.
|
RecordField |
insert(RecordField field,
int pos)
Inserts the given record field at the specified position.
|
RecordField |
insertSeparator(java.lang.String name,
int pos)
Creates a new field grouping separator element at the given position.
|
void |
moveDown(RecordField entry)
Moves the specified entry one position down in this list.
|
void |
moveDownToEnd(RecordField entry)
Moves the specified entry to the last position in this list.
|
void |
moveUp(RecordField entry)
Moves the specified entry one position up in this list.
|
void |
moveUpToTop(RecordField entry)
Moves the specified entry to the top position in this list.
|
void |
remove(RecordField recordField)
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> getRecordFieldNames()
String
UIDspublic java.util.List<GUID> getRecordFieldUIDs()
GUID
public java.util.List<RecordField> getRecordFields()
RecordField
instancespublic RecordField getRecordField(java.lang.String guid)
guid
- the field UID for the field to getpublic RecordField insertSeparator(java.lang.String name, int pos)
name
- Name of the separating grouppos
- position to insertpublic RecordField insert(FieldDefinition fieldDefinition, int pos)
fieldDefinition
- the field definition to create the field forpos
- the position to insert the fieldpublic RecordField insert(RecordField field, int pos)
field
- the field to insertpos
- the position to insert the fieldpublic void remove(RecordField recordField)
recordField
- the field to removepublic void moveUp(RecordField entry) throws JPack.NoSuchElementException
entry
- the entry to moveJPack.NoSuchElementException
- in case of an invalid entrypublic void moveUpToTop(RecordField entry) throws JPack.NoSuchElementException
entry
- the entry to moveJPack.NoSuchElementException
- in case of an invalid entrypublic void moveDown(RecordField entry) throws JPack.NoSuchElementException
entry
- the entry to moveJPack.NoSuchElementException
- in case of an invalid entrypublic void moveDownToEnd(RecordField entry) throws JPack.NoSuchElementException
entry
- the entry to moveJPack.NoSuchElementException
- in case of an invalid entrywww.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.