Package org.eclipse.emf.cdo.lm.reviews
Enum Class ReviewStatus
- All Implemented Interfaces:
Serializable
,Comparable<ReviewStatus>
,Constable
,Enumerator
A representation of the literals of the enumeration 'Review Status',
and utility methods for working with them.
- See Also:
- Generated
- Model
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe 'Abandoned' literal object.The 'Deleted' literal object.The 'New' literal object.The 'Outdated' literal object.The 'Restoring' literal object.The 'Source Outdated' literal object.The 'Submitted' literal object.The 'Target Outdated' literal object. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The 'Abandoned' literal value.static final int
The 'Deleted' literal value.static final int
The 'New' literal value.static final int
The 'Outdated' literal value.static final int
The 'Restoring' literal value.static final int
The 'Source Outdated' literal value.static final int
The 'Submitted' literal value.static final int
The 'Target Outdated' literal value.static final List<ReviewStatus>
A public read-only list of all the 'Review Status' enumerators. -
Method Summary
Modifier and TypeMethodDescriptionstatic ReviewStatus
get
(int value) Returns the 'Review Status' literal with the specified integer value.static ReviewStatus
Returns the 'Review Status' literal with the specified literal value.static ReviewStatus
Returns the 'Review Status' literal with the specified name.getName()
static ReviewStatus
getOutdated
(boolean sourceOutdated, boolean targetOutdated) int
getValue()
boolean
isClosed()
boolean
isOpen()
toString()
Returns the literal value of the enumerator, which is its string representation.static ReviewStatus
Returns the enum constant of this class with the specified name.static ReviewStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEW
The 'New' literal object.- See Also:
- Generated
- Ordered
-
SOURCE_OUTDATED
The 'Source Outdated' literal object.- See Also:
- Generated
- Ordered
-
TARGET_OUTDATED
The 'Target Outdated' literal object.- See Also:
- Generated
- Ordered
-
OUTDATED
The 'Outdated' literal object.- See Also:
- Generated
- Ordered
-
SUBMITTED
The 'Submitted' literal object.- See Also:
- Generated
- Ordered
-
ABANDONED
The 'Abandoned' literal object.- See Also:
- Generated
- Ordered
-
RESTORING
The 'Restoring' literal object.- See Also:
- Generated
- Ordered
-
DELETED
The 'Deleted' literal object.- See Also:
- Generated
- Ordered
-
-
Field Details
-
NEW_VALUE
public static final int NEW_VALUEThe 'New' literal value.- See Also:
- Generated
- Model
- name="New"
- Ordered
-
SOURCE_OUTDATED_VALUE
public static final int SOURCE_OUTDATED_VALUEThe 'Source Outdated' literal value.- See Also:
- Generated
- Model
- name="SourceOutdated"
- Ordered
-
TARGET_OUTDATED_VALUE
public static final int TARGET_OUTDATED_VALUEThe 'Target Outdated' literal value.- See Also:
- Generated
- Model
- name="TargetOutdated"
- Ordered
-
OUTDATED_VALUE
public static final int OUTDATED_VALUEThe 'Outdated' literal value.- See Also:
- Generated
- Model
- name="Outdated"
- Ordered
-
SUBMITTED_VALUE
public static final int SUBMITTED_VALUEThe 'Submitted' literal value.- See Also:
- Generated
- Model
- name="Submitted"
- Ordered
-
ABANDONED_VALUE
public static final int ABANDONED_VALUEThe 'Abandoned' literal value.- See Also:
- Generated
- Model
- name="Abandoned"
- Ordered
-
RESTORING_VALUE
public static final int RESTORING_VALUEThe 'Restoring' literal value.- See Also:
- Generated
- Model
- name="Restoring"
- Ordered
-
DELETED_VALUE
public static final int DELETED_VALUEThe 'Deleted' literal value.- See Also:
- Generated
- Model
- name="Deleted"
- Ordered
-
VALUES
A public read-only list of all the 'Review Status' enumerators.- Generated
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
get
Returns the 'Review Status' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
. - Generated
-
getByName
Returns the 'Review Status' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
. - Generated
-
get
Returns the 'Review Status' literal with the specified integer value.- Parameters:
value
- the integer value.- Returns:
- the matching enumerator or
null
. - Generated
-
getOutdated
-
getValue
public int getValue()- Specified by:
getValue
in interfaceEnumerator
- Generated
-
getName
- Specified by:
getName
in interfaceEnumerator
- Generated
-
getLiteral
- Specified by:
getLiteral
in interfaceEnumerator
- Generated
-
toString
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<ReviewStatus>
- Generated
-
isOpen
public boolean isOpen() -
isClosed
public boolean isClosed()
-