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>
Enum
to represent the current status of the approval process for aPublicReference
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPTED
the correspondingPublicReference
is checked and accepted.REJECTED
the correspondingPublicReference
is checked and rejected.SUBMITTED
the correspondingPublicReference
is not yet requested.UNDER_REVIEW
the correspondingPublicReference
is under review.
-
Method Summary
Modifier and Type Method Description static PublicationStatus
valueOf(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 correspondingPublicReference
is not yet requested.
-
UNDER_REVIEW
public static final PublicationStatus UNDER_REVIEW
the correspondingPublicReference
is under review.
-
ACCEPTED
public static final PublicationStatus ACCEPTED
the correspondingPublicReference
is checked and accepted.
-
REJECTED
public static final PublicationStatus REJECTED
the correspondingPublicReference
is 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
-
-