Package cdc.enums
Enum Class SynthesisStatus
- All Implemented Interfaces:
cdc.util.encoding.Encoded<Character>,Serializable,Comparable<SynthesisStatus>,Constable
public enum SynthesisStatus
extends Enum<SynthesisStatus>
implements cdc.util.encoding.Encoded<Character>
Enumeration of synthesis statuses.
This can be used to characterize data coming from different sources.
- Author:
- Damien Carbonne
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final cdc.util.encoding.Encoder<SynthesisStatus,Character> -
Method Summary
Modifier and TypeMethodDescriptiongetCode()merge(SynthesisStatus other) Merges this status with another one.static SynthesisStatusReturns the enum constant of this class with the specified name.static SynthesisStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED
No source is available. -
NONE
All sources agree to say that something is false. -
PARTIAL
Some source agree to say that something is true, others that it is false. -
ALL
All sources agree to say that something is true.
-
-
Field Details
-
ENCODER
-
-
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
-
getCode
- Specified by:
getCodein interfacecdc.util.encoding.Encoded<Character>
-
merge
Merges this status with another one.The logic is:
U N P F U U N P F N N N P P P P P P P F F P P F - Parameters:
other- The other synthesis status.- Returns:
- The merge of this status with
other.
-