public enum OperatorType extends Enum<OperatorType>
VariableComponent
object.Enum Constant and Description |
---|
ONE
Exactly one Component in the derived ComponentDefinition SHOULD have a
wasDerivedFrom property that refers to the template Component.
|
ONEORMORE
At least one Component in the derived ComponentDefinition SHOULD have
a wasDerivedFrom property that refers to the template Component.
|
ZEROORMORE
Any number of Component objects in the derived ComponentDefinition
MAY have wasDerivedFrom properties that refer to the template Component.
|
ZEROORONE
No more than one Component in the derived ComponentDefinition SHOULD have a
wasDerivedFrom property that refers to the template Component
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static OperatorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperatorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperatorType ZEROORONE
public static final OperatorType ONE
public static final OperatorType ZEROORMORE
public static final OperatorType ONEORMORE
public static OperatorType[] values()
for (OperatorType c : OperatorType.values()) System.out.println(c);
public static OperatorType 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<OperatorType>