Package org.hl7.cql.model
Class TupleType
- java.lang.Object
-
- org.hl7.cql.model.DataType
-
- org.hl7.cql.model.TupleType
-
public class TupleType extends DataType
-
-
Constructor Summary
Constructors Constructor Description TupleType()TupleType(java.util.Collection<TupleTypeElement> elements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddElement(TupleTypeElement element)voidaddElements(java.util.Collection<TupleTypeElement> elements)booleanequals(java.lang.Object o)java.lang.Iterable<TupleTypeElement>getElements()inthashCode()DataTypeinstantiate(InstantiationContext context)booleanisCompatibleWith(DataType other)booleanisGeneric()booleanisInstantiable(DataType callType, InstantiationContext context)booleanisSubTypeOf(DataType other)booleanisSuperTypeOf(DataType other)java.lang.StringtoLabel()java.lang.StringtoString()-
Methods inherited from class org.hl7.cql.model.DataType
getBaseType, getCommonSuperTypeOf
-
-
-
-
Constructor Detail
-
TupleType
public TupleType(java.util.Collection<TupleTypeElement> elements)
-
TupleType
public TupleType()
-
-
Method Detail
-
getElements
public java.lang.Iterable<TupleTypeElement> getElements()
-
addElement
public void addElement(TupleTypeElement element)
-
addElements
public void addElements(java.util.Collection<TupleTypeElement> elements)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
isSubTypeOf
public boolean isSubTypeOf(DataType other)
- Overrides:
isSubTypeOfin classDataType
-
isSuperTypeOf
public boolean isSuperTypeOf(DataType other)
- Overrides:
isSuperTypeOfin classDataType
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
isCompatibleWith
public boolean isCompatibleWith(DataType other)
- Overrides:
isCompatibleWithin classDataType
-
isInstantiable
public boolean isInstantiable(DataType callType, InstantiationContext context)
- Specified by:
isInstantiablein classDataType
-
instantiate
public DataType instantiate(InstantiationContext context)
- Specified by:
instantiatein classDataType
-
-