public enum JournalPublicationType extends Enum<JournalPublicationType>
| Enum Constant and Description |
|---|
EPUB
No longer represented in the metadata blob.
|
OPUB
New with JHU Global schema.
|
PPUB |
| Modifier and Type | Method and Description |
|---|---|
String |
getTypeDescription() |
static JournalPublicationType |
parseTypeDescription(String typeDescription)
Parse an
Extension from the string form as it would be used in a file name. |
String |
toString() |
static JournalPublicationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JournalPublicationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JournalPublicationType PPUB
public static final JournalPublicationType EPUB
OPUB with the advent of the JHU Global schema.
NIHMS metadata serialization still uses this publication type when serializing metadata.public static final JournalPublicationType OPUB
public static JournalPublicationType[] values()
for (JournalPublicationType c : JournalPublicationType.values()) System.out.println(c);
public static JournalPublicationType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getTypeDescription()
public static JournalPublicationType parseTypeDescription(String typeDescription)
Extension from the string form as it would be used in a file name. Note that this form should
be all lower-case, with no preceding or succeeding periods.typeDescription - the string form of a journal publication typeJournalPublicationTypeIllegalArgumentException - if the typeDescription does not correspond to an existing JournalPublicationTypepublic String toString()
toString in class Enum<JournalPublicationType>Copyright © 2020. All rights reserved.