Enum PublicationStatus
- java.lang.Object
-
- java.lang.Enum<PublicationStatus>
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.reference.PublicationStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PublicationStatus>,java.lang.constant.Constable
public enum PublicationStatus extends java.lang.Enum<PublicationStatus>
Enumto represent the current status of the approval process for aPublicReference
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPTEDthe correspondingPublicReferenceis checked and accepted.REJECTEDthe correspondingPublicReferenceis checked and rejected.SUBMITTEDthe correspondingPublicReferenceis not yet requested.UNDER_REVIEWthe correspondingPublicReferenceis under review.
-
Method Summary
Modifier and Type Method Description static PublicationStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PublicationStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUBMITTED
public static final PublicationStatus SUBMITTED
the correspondingPublicReferenceis not yet requested.
-
UNDER_REVIEW
public static final PublicationStatus UNDER_REVIEW
the correspondingPublicReferenceis under review.
-
ACCEPTED
public static final PublicationStatus ACCEPTED
the correspondingPublicReferenceis checked and accepted.
-
REJECTED
public static final PublicationStatus REJECTED
the correspondingPublicReferenceis checked and rejected.
-
-
Method Detail
-
values
public static PublicationStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PublicationStatus valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-