public enum RestrictionType extends Enum<RestrictionType>
Enum Constant and Description |
---|
DIFFERENT_FROM
The definition property of the subject Component MUST NOT refer to the same
ComponentDefinition as that of the object Component.
|
OPPOSITE_ORIENTATION_AS
The subject and object Component objects MUST have opposite orientations.
|
PRECEDES
The position of the subject Component MUST precede that of the object Component.
|
SAME_ORIENTATION_AS
The subject and object Component objects MUST have the same orientation.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static RestrictionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestrictionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestrictionType PRECEDES
public static final RestrictionType SAME_ORIENTATION_AS
public static final RestrictionType OPPOSITE_ORIENTATION_AS
public static final RestrictionType DIFFERENT_FROM
public static RestrictionType[] values()
for (RestrictionType c : RestrictionType.values()) System.out.println(c);
public static RestrictionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<RestrictionType>