Package org.hl7.cql.model
Enum Class TypeParameter.TypeParameterConstraint
java.lang.Object
java.lang.Enum<TypeParameter.TypeParameterConstraint>
org.hl7.cql.model.TypeParameter.TypeParameterConstraint
- All Implemented Interfaces:
Serializable,Comparable<TypeParameter.TypeParameterConstraint>,Constable
- Enclosing class:
TypeParameter
public static enum TypeParameter.TypeParameterConstraint
extends Enum<TypeParameter.TypeParameterConstraint>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates the type parameter can only be bound to choice typesIndicates the type parameter can only be bound to class typesIndicates the type parameter can only be bound to interval typesIndicates the type parameter has no constraint and be bound to any typeIndicates the type parameter can only be bound to tuple typesIndicates the type parameter can only be bound to the constraint type or a type derived from the constraint typeIndicates the type parameter can only be bound to value types (simple types) -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Indicates the type parameter has no constraint and be bound to any type -
CLASS
Indicates the type parameter can only be bound to class types -
VALUE
Indicates the type parameter can only be bound to value types (simple types) -
TUPLE
Indicates the type parameter can only be bound to tuple types -
INTERVAL
Indicates the type parameter can only be bound to interval types -
CHOICE
Indicates the type parameter can only be bound to choice types -
TYPE
Indicates the type parameter can only be bound to the constraint type or a type derived from the constraint type
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-