Enum VUtil.ConstraintType
- java.lang.Object
-
- java.lang.Enum<VUtil.ConstraintType>
-
- org.apache.directory.fortress.core.util.VUtil.ConstraintType
-
- All Implemented Interfaces:
Serializable
,Comparable<VUtil.ConstraintType>
- Enclosing class:
- VUtil
public static enum VUtil.ConstraintType extends Enum<VUtil.ConstraintType>
enum specifies what type of constraint is being targeted - User or Role.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VUtil.ConstraintType
valueOf(String name)
Returns the enum constant of this type with the specified name.static VUtil.ConstraintType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USER
public static final VUtil.ConstraintType USER
SpecifiesUser
-
ROLE
public static final VUtil.ConstraintType ROLE
SpecifiesRole
-
-
Method Detail
-
values
public static VUtil.ConstraintType[] 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 (VUtil.ConstraintType c : VUtil.ConstraintType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VUtil.ConstraintType 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
-
-