Package cdc.enums
Enum DagFeature
- java.lang.Object
-
- java.lang.Enum<DagFeature>
-
- cdc.enums.DagFeature
-
- All Implemented Interfaces:
Serializable,Comparable<DagFeature>
public enum DagFeature extends Enum<DagFeature>
Features that can be supported by an implementation.- Author:
- Damien Carbonne
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTENT_CHANGEDoes the implementation support changing content (name, ...)?CREATIONDoes the implementation support value creation?LOCKINGDoes the implementation support locking?REMOVALDoes the implementation support value removal?REPARENTINGDoes the implementation support changing value parenting?
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DagFeaturevalueOf(String name)Returns the enum constant of this type with the specified name.static DagFeature[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCKING
public static final DagFeature LOCKING
Does the implementation support locking?
-
REMOVAL
public static final DagFeature REMOVAL
Does the implementation support value removal?
-
CREATION
public static final DagFeature CREATION
Does the implementation support value creation?
-
CONTENT_CHANGE
public static final DagFeature CONTENT_CHANGE
Does the implementation support changing content (name, ...)?
-
REPARENTING
public static final DagFeature REPARENTING
Does the implementation support changing value parenting?
-
-
Method Detail
-
values
public static DagFeature[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DagFeature c : DagFeature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DagFeature valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-