Enum Hier.Op
- java.lang.Object
-
- java.lang.Enum<Hier.Op>
-
- org.apache.directory.fortress.core.model.Hier.Op
-
- All Implemented Interfaces:
Serializable
,Comparable<Hier.Op>
- Enclosing class:
- Hier
public static enum Hier.Op extends Enum<Hier.Op>
Operation type specifies if Add, Update or Deletion of relationship is being targeted.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Hier.Op
valueOf(String name)
Returns the enum constant of this type with the specified name.static Hier.Op[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final Hier.Op ADD
Add a new hierarchical relationship to the data set.
-
MOD
public static final Hier.Op MOD
Modify an existing hierarchical relationship in the data set.
-
REM
public static final Hier.Op REM
Remove an existing hierarchical relationship from the data set.
-
-
Method Detail
-
values
public static Hier.Op[] 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 (Hier.Op c : Hier.Op.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Hier.Op 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
-
-