gov.sandia.cognition.annotation
Enum PublicationType

java.lang.Object
  extended by java.lang.Enum<PublicationType>
      extended by gov.sandia.cognition.annotation.PublicationType
All Implemented Interfaces:
Serializable, Comparable<PublicationType>

@CodeReview(reviewer="Kevin R. Dixon",
            date="2008-02-08",
            changesNeeded=false,
            comments="Looks fine.")
public enum PublicationType
extends Enum<PublicationType>

The PublicationType enumeration lists off the possible types of publications for a PublicationReference annotation.

Since:
2.1
Author:
Kevin R. Dixon, Justin Basilico

Enum Constant Summary
Book
          A publication published as a book.
BookChapter
          A publication published as a chapter in a book.
Conference
          A publication in the proceedings of a conference.
Journal
          A publication published in a scholarly journal.
Misc
          A publication published in a way that does not fit into the other reference types.
TechnicalReport
          A publication published as a technical report, typically by a research organization.
Thesis
          A publication published as a thesis by a graduate student.
WebPage
          A publication published only as a web page.
 
Method Summary
static PublicationType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PublicationType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Book

public static final PublicationType Book
A publication published as a book. For example, "War and Peace" or "Artificial Intelligence: An Awesome Approach".


Journal

public static final PublicationType Journal
A publication published in a scholarly journal. For example, "Nature" or "IEEE Transactions on Stuff".


TechnicalReport

public static final PublicationType TechnicalReport
A publication published as a technical report, typically by a research organization. For example, a Sandia SAND Report or the CMU Computer Science series.


Thesis

public static final PublicationType Thesis
A publication published as a thesis by a graduate student.


Conference

public static final PublicationType Conference
A publication in the proceedings of a conference.


BookChapter

public static final PublicationType BookChapter
A publication published as a chapter in a book. Usually an edited volume.


WebPage

public static final PublicationType WebPage
A publication published only as a web page.


Misc

public static final PublicationType Misc
A publication published in a way that does not fit into the other reference types.

Method Detail

values

public static PublicationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (PublicationType c : PublicationType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PublicationType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null