@CodeReview(reviewer="Kevin R. Dixon", date="2008-02-08", changesNeeded=false, comments="Looks fine.") public enum PublicationType extends java.lang.Enum<PublicationType>
PublicationType
enumeration lists off the possible types of
publications for a PublicationReference
annotation.Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
static PublicationType |
valueOf(java.lang.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.
|
public static final PublicationType Book
"War and Peace"
or
"Artificial Intelligence: An Awesome Approach"
.public static final PublicationType Journal
"Nature"
or "IEEE Transactions on Stuff"
.public static final PublicationType TechnicalReport
public static final PublicationType Thesis
public static final PublicationType Conference
public static final PublicationType BookChapter
public static final PublicationType WebPage
public static final PublicationType Misc
public static PublicationType[] values()
for (PublicationType c : PublicationType.values()) System.out.println(c);
public static PublicationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null