Verified Owner
Top Description Fields Constructors Methods
org.jabref.model.entry.field

public final Enum InternalField

extends Enum<InternalField>
implements Field
Class Inheritance
All Implemented Interfaces
org.jabref.model.entry.field.Field
Imports
java.util.Arrays, .EnumSet, .Optional

JabRef internal fields. These are not normal fields but mostly placeholders with special functions.

Field Summary

Modifier and TypeField and Description
public static final InternalField
BIBTEX_STRING

Marker that the content is just a BibTeX string

public static final InternalField
INTERNAL_ALL_FIELD

virtual field to denote "all fields".

public static final InternalField
INTERNAL_ALL_TEXT_FIELDS_FIELD

virtual field to denote "all text fields".

public static final InternalField
INTERNAL_ID_FIELD

all field names starting with "Jabref-internal-" are not appearing in .bib files

public static final InternalField
KEY_FIELD

The BibTeX key (which is used at \cite{key} in LaTeX

public static final InternalField
MARKED_INTERNAL

used in old versions of JabRef.

private final String
public static final InternalField
OBSOLETE_TYPE_HEADER

Used in old layout files

private final EnumSet<FieldProperty>
public static final InternalField
TYPE_HEADER

field which indicates the entrytype

Example: @misc{key}

Constructor Summary

AccessConstructor and Description
private
private

Method Summary

Modifier and TypeMethod and Description
public static Optional<InternalField>
public String
getName()

Implements org.jabref.model.entry.field.Field.getName.

Name used for writing to .bib (or as XMP data)

However, BibEntryWriter converts to lower case.

public EnumSet<FieldProperty>
getProperties()

Implements org.jabref.model.entry.field.Field.getProperties.

properties contains mappings to tell the EntryEditor to add a specific function to this field, for instance a dropdown for selecting the month for the month field.

public boolean
public static InternalField
public static InternalField[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

BIBTEX_STRINGback to summary
public static final InternalField BIBTEX_STRING

Marker that the content is just a BibTeX string

INTERNAL_ALL_FIELDback to summary
public static final InternalField INTERNAL_ALL_FIELD

virtual field to denote "all fields". Used in the metadata serialization for save actions.

INTERNAL_ALL_TEXT_FIELDS_FIELDback to summary
public static final InternalField INTERNAL_ALL_TEXT_FIELDS_FIELD

virtual field to denote "all text fields". Used in the metadata serialization for save actions.

INTERNAL_ID_FIELDback to summary
public static final InternalField INTERNAL_ID_FIELD

all field names starting with "Jabref-internal-" are not appearing in .bib files

KEY_FIELDback to summary
public static final InternalField KEY_FIELD

The BibTeX key (which is used at \cite{key} in LaTeX

MARKED_INTERNALback to summary
public static final InternalField MARKED_INTERNAL

used in old versions of JabRef. Currently used for conversion only

nameback to summary
private final String name

Hides java.lang.Enum.name.

OBSOLETE_TYPE_HEADERback to summary
public static final InternalField OBSOLETE_TYPE_HEADER

Used in old layout files

propertiesback to summary
private final EnumSet<FieldProperty> properties
TYPE_HEADERback to summary
public static final InternalField TYPE_HEADER

field which indicates the entrytype

Example: @misc{key}

Constructor Detail

InternalFieldback to summary
private InternalField(String name)
InternalFieldback to summary
private InternalField(String name, FieldProperty first, FieldProperty... rest)

Method Detail

fromNameback to summary
public static Optional<InternalField> fromName(String name)
getNameback to summary
public String getName()

Implements org.jabref.model.entry.field.Field.getName.

Doc from org.jabref.model.entry.field.Field.getName.

Name used for writing to .bib (or as XMP data)

However, BibEntryWriter converts to lower case. See org.jabref.logic.bibtex.BibEntryWriter#getFormattedFieldName

Annotations
@Override
getPropertiesback to summary
public EnumSet<FieldProperty> getProperties()

Implements org.jabref.model.entry.field.Field.getProperties.

Doc from org.jabref.model.entry.field.Field.getProperties.

properties contains mappings to tell the EntryEditor to add a specific function to this field, for instance a dropdown for selecting the month for the month field.

Note that this set needs to be mutable. This is required, because we allow standard fields to be modifiable via the UI.

Annotations
@Override
isStandardFieldback to summary
public boolean isStandardField()

Implements org.jabref.model.entry.field.Field.isStandardField.

Annotations
@Override
valueOfback to summary
public static InternalField valueOf(String name)
valuesback to summary
public static InternalField[] values()