Logo Search packages:      
Sourcecode: jabref-plugin-oo version File versions  Download package

UndefinedBibtexEntry.java

package net.sf.jabref.oo;

import net.sf.jabref.BibtexEntry;
import net.sf.jabref.Util;

/**
 * Subclass of BibtexEntry for representing entries referenced in a document that can't
 * be found in JabRef's current database.
 */
00010 public class UndefinedBibtexEntry extends BibtexEntry {
    private String key;

    public UndefinedBibtexEntry(String key) {
        super(Util.createNeutralId());
        this.key = key;
        setField("author", OOBibStyle.UNDEFINED_CITATION_MARKER);
    }

    public String getKey() {
        return key;
    }
}

Generated by  Doxygen 1.6.0   Back to index