Package adams.core
Enum TechnicalInformation.Type
- java.lang.Object
-
- java.lang.Enum<TechnicalInformation.Type>
-
- adams.core.TechnicalInformation.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<TechnicalInformation.Type>
- Enclosing class:
- TechnicalInformation
public static enum TechnicalInformation.Type extends Enum<TechnicalInformation.Type>
the different types of information.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARTICLE
An article from a journal or magazine.BOOK
A book with an explicit publisher.BOOKLET
A work that is printed and bound, but without a named publisher or sponsoring institution.CONFERENCE
The same as inproceedings.INBOOK
A part of a book, which may be a chapter (or section or whatever) and/or a range of pages.INCOLLECTION
A part of a book having its own title.INPROCEEDINGS
An article in a conference proceedings.MANUAL
Technical documentation.MASTERSTHESIS
A Master's thesis.MISC
Use this type when nothing else fits.PHDTHESIS
A PhD thesis.PROCEEDINGS
The proceedings of a conference.TECHREPORT
A report published by a school or other institution, usually numbered within a series.UNPUBLISHED
A document having an author and title, but not formally published.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getComment()
returns the comment string.String
getDisplay()
returns the display string.String
toString()
returns the display string of the Type.static TechnicalInformation.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static TechnicalInformation.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARTICLE
public static final TechnicalInformation.Type ARTICLE
An article from a journal or magazine.
-
BOOK
public static final TechnicalInformation.Type BOOK
A book with an explicit publisher.
-
BOOKLET
public static final TechnicalInformation.Type BOOKLET
A work that is printed and bound, but without a named publisher or sponsoring institution.
-
CONFERENCE
public static final TechnicalInformation.Type CONFERENCE
The same as inproceedings.
-
INBOOK
public static final TechnicalInformation.Type INBOOK
A part of a book, which may be a chapter (or section or whatever) and/or a range of pages.
-
INCOLLECTION
public static final TechnicalInformation.Type INCOLLECTION
A part of a book having its own title.
-
INPROCEEDINGS
public static final TechnicalInformation.Type INPROCEEDINGS
An article in a conference proceedings.
-
MANUAL
public static final TechnicalInformation.Type MANUAL
Technical documentation.
-
MASTERSTHESIS
public static final TechnicalInformation.Type MASTERSTHESIS
A Master's thesis.
-
MISC
public static final TechnicalInformation.Type MISC
Use this type when nothing else fits.
-
PHDTHESIS
public static final TechnicalInformation.Type PHDTHESIS
A PhD thesis.
-
PROCEEDINGS
public static final TechnicalInformation.Type PROCEEDINGS
The proceedings of a conference.
-
TECHREPORT
public static final TechnicalInformation.Type TECHREPORT
A report published by a school or other institution, usually numbered within a series.
-
UNPUBLISHED
public static final TechnicalInformation.Type UNPUBLISHED
A document having an author and title, but not formally published.
-
-
Method Detail
-
values
public static TechnicalInformation.Type[] 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 (TechnicalInformation.Type c : TechnicalInformation.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TechnicalInformation.Type 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 nameNullPointerException
- if the argument is null
-
getDisplay
public String getDisplay()
returns the display string.- Returns:
- the display string
-
getComment
public String getComment()
returns the comment string.- Returns:
- the comment string
-
toString
public String toString()
returns the display string of the Type.- Overrides:
toString
in classEnum<TechnicalInformation.Type>
- Returns:
- the display string
-
-