public static enum SourceConstraintComponent.ConstraintType extends Enum<SourceConstraintComponent.ConstraintType>
Enum Constant and Description |
---|
Cardinality |
Logical |
Other |
PropertyPair |
ShapeBased |
StringBased |
ValueRange |
ValueType |
Modifier and Type | Method and Description |
---|---|
static SourceConstraintComponent.ConstraintType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SourceConstraintComponent.ConstraintType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceConstraintComponent.ConstraintType ValueType
public static final SourceConstraintComponent.ConstraintType Cardinality
public static final SourceConstraintComponent.ConstraintType ValueRange
public static final SourceConstraintComponent.ConstraintType StringBased
public static final SourceConstraintComponent.ConstraintType PropertyPair
public static final SourceConstraintComponent.ConstraintType Logical
public static final SourceConstraintComponent.ConstraintType ShapeBased
public static final SourceConstraintComponent.ConstraintType Other
public static SourceConstraintComponent.ConstraintType[] values()
for (SourceConstraintComponent.ConstraintType c : SourceConstraintComponent.ConstraintType.values()) System.out.println(c);
public static SourceConstraintComponent.ConstraintType 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 nullCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.