Package org.hl7.cql.model
Class SimpleType
- java.lang.Object
-
- org.hl7.cql.model.DataType
-
- org.hl7.cql.model.SimpleType
-
-
Constructor Summary
Constructors Constructor Description SimpleType(java.lang.String name)SimpleType(java.lang.String name, DataType baseType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetName()java.lang.StringgetNamespace()java.lang.StringgetSimpleName()java.lang.StringgetTarget()inthashCode()DataTypeinstantiate(InstantiationContext context)booleanisCompatibleWith(DataType other)booleanisGeneric()booleanisInstantiable(DataType callType, InstantiationContext context)voidsetTarget(java.lang.String target)java.lang.StringtoString()-
Methods inherited from class org.hl7.cql.model.DataType
getBaseType, getCommonSuperTypeOf, isSubTypeOf, isSuperTypeOf, toLabel
-
-
-
-
Constructor Detail
-
SimpleType
public SimpleType(java.lang.String name, DataType baseType)
-
SimpleType
public SimpleType(java.lang.String name)
-
-
Method Detail
-
getNamespace
public java.lang.String getNamespace()
- Specified by:
getNamespacein interfaceNamedType
-
getSimpleName
public java.lang.String getSimpleName()
- Specified by:
getSimpleNamein interfaceNamedType
-
setTarget
public void setTarget(java.lang.String target)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
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
-
-