Top Fields Constructors Methods
org.jabref.model.entry.field

public final Enum AMSField

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

Field Summary

Modifier and TypeField and Description
private final String
public static final AMSField
private final String
private final EnumSet<FieldProperty>

Constructor Summary

AccessConstructor and Description
private
private
AMSField(String name, String displayName)

private
AMSField(String name, String displayName, FieldProperty first, FieldProperty... rest)

private

Method Summary

Modifier and TypeMethod and Description
public static <T> Optional<AMSField>
fromName(T type, String name)

public String
public String
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 AMSField
public static AMSField[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

displayNameback to summary
private final String displayName
FJOURNALback to summary
public static final AMSField FJOURNAL
nameback to summary
private final String name

Hides java.lang.Enum.name.

propertiesback to summary
private final EnumSet<FieldProperty> properties

Constructor Detail

AMSFieldback to summary
private AMSField(String name)
AMSFieldback to summary
private AMSField(String name, String displayName)
AMSFieldback to summary
private AMSField(String name, String displayName, FieldProperty first, FieldProperty... rest)
AMSFieldback to summary
private AMSField(String name, FieldProperty first, FieldProperty... rest)

Method Detail

fromNameback to summary
public static <T> Optional<AMSField> fromName(T type, String name)
getDisplayNameback to summary
public String getDisplayName()

Overrides default org.jabref.model.entry.field.Field.getDisplayName.

Returns:String

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

A version of the field name more suitable for display

Annotations
@Override
getNameback to summary
public String getName()

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

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 AMSField valueOf(String name)
valuesback to summary
public static AMSField[] values()