Package org.hl7.cql.model
Class ListType
- java.lang.Object
-
- org.hl7.cql.model.DataType
-
- org.hl7.cql.model.ListType
-
public class ListType extends DataType
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)DataTypegetElementType()inthashCode()DataTypeinstantiate(InstantiationContext context)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, isCompatibleWith
-
-
-
-
Constructor Detail
-
ListType
public ListType(DataType elementType)
-
-
Method Detail
-
getElementType
public DataType getElementType()
-
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
-
isInstantiable
public boolean isInstantiable(DataType callType, InstantiationContext context)
- Specified by:
isInstantiablein classDataType
-
instantiate
public DataType instantiate(InstantiationContext context)
- Specified by:
instantiatein classDataType
-
-