Class Library
java.lang.Object
org.opencds.cqf.cql.engine.elm.execution.Executable
org.cqframework.cql.elm.execution.Element
org.cqframework.cql.elm.execution.Library
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class Library
extends Element
implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
A Library is an instance of a CQL-ELM library.
Java class for Library complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Library">
<complexContent>
<extension base="{urn:hl7-org:elm:r1}Element">
<sequence>
<element name="identifier" type="{urn:hl7-org:elm:r1}VersionedIdentifier"/>
<element name="schemaIdentifier" type="{urn:hl7-org:elm:r1}VersionedIdentifier"/>
<element name="usings" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="def" type="{urn:hl7-org:elm:r1}UsingDef" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="includes" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="def" type="{urn:hl7-org:elm:r1}IncludeDef" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="parameters" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="def" type="{urn:hl7-org:elm:r1}ParameterDef" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="codeSystems" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="def" type="{urn:hl7-org:elm:r1}CodeSystemDef" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="valueSets" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="def" type="{urn:hl7-org:elm:r1}ValueSetDef" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="codes" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="def" type="{urn:hl7-org:elm:r1}CodeDef" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="concepts" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="def" type="{urn:hl7-org:elm:r1}ConceptDef" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="contexts" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="def" type="{urn:hl7-org:elm:r1}ContextDef" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="statements" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="def" type="{urn:hl7-org:elm:r1}ExpressionDef" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type.static classJava class for anonymous complex type.static classJava class for anonymous complex type.static classJava class for anonymous complex type.static classJava class for anonymous complex type.static classJava class for anonymous complex type.static classJava class for anonymous complex type.static classJava class for anonymous complex type.static classJava class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Library.Codesprotected Library.CodeSystemsprotected Library.Conceptsprotected Library.Contextsprotected VersionedIdentifierprotected Library.Includesprotected Library.Parametersprotected VersionedIdentifierprotected Library.Statementsprotected Library.Usingsprotected Library.ValueSetsFields inherited from class org.cqframework.cql.elm.execution.Element
annotation, localId, locator, resultTypeName, resultTypeSpecifier -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) getCodes()Gets the value of the codes property.Gets the value of the codeSystems property.Gets the value of the concepts property.Gets the value of the contexts property.Gets the value of the identifier property.Gets the value of the includes property.Gets the value of the parameters property.Gets the value of the schemaIdentifier property.Gets the value of the statements property.Gets the value of the usings property.Gets the value of the valueSets property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetCodes(Library.Codes value) Sets the value of the codes property.voidSets the value of the codeSystems property.voidsetConcepts(Library.Concepts value) Sets the value of the concepts property.voidsetContexts(Library.Contexts value) Sets the value of the contexts property.voidsetIdentifier(VersionedIdentifier value) Sets the value of the identifier property.voidsetIncludes(Library.Includes value) Sets the value of the includes property.voidsetParameters(Library.Parameters value) Sets the value of the parameters property.voidSets the value of the schemaIdentifier property.voidsetStatements(Library.Statements value) Sets the value of the statements property.voidsetUsings(Library.Usings value) Sets the value of the usings property.voidsetValueSets(Library.ValueSets value) Sets the value of the valueSets property.toString()withAnnotation(Collection<CqlToElmBase> values) withAnnotation(CqlToElmBase... values) withCodes(Library.Codes value) withConcepts(Library.Concepts value) withContexts(Library.Contexts value) withIncludes(Library.Includes value) withLocalId(String value) withLocator(String value) withParameters(Library.Parameters value) withResultTypeName(QName value) withStatements(Library.Statements value) withUsings(Library.Usings value) withValueSets(Library.ValueSets value) Methods inherited from class org.cqframework.cql.elm.execution.Element
getAnnotation, getLocalId, getLocator, getResultTypeName, getResultTypeSpecifier, setLocalId, setLocator, setResultTypeName, setResultTypeSpecifierMethods inherited from class org.opencds.cqf.cql.engine.elm.execution.Executable
evaluate, internalEvaluate
-
Field Details
-
identifier
-
schemaIdentifier
-
usings
-
includes
-
parameters
-
codeSystems
-
valueSets
-
codes
-
concepts
-
contexts
-
statements
-
-
Constructor Details
-
Library
public Library()
-
-
Method Details
-
getIdentifier
Gets the value of the identifier property.- Returns:
- possible object is
VersionedIdentifier
-
setIdentifier
Sets the value of the identifier property.- Parameters:
value- allowed object isVersionedIdentifier
-
getSchemaIdentifier
Gets the value of the schemaIdentifier property.- Returns:
- possible object is
VersionedIdentifier
-
setSchemaIdentifier
Sets the value of the schemaIdentifier property.- Parameters:
value- allowed object isVersionedIdentifier
-
getUsings
Gets the value of the usings property.- Returns:
- possible object is
Library.Usings
-
setUsings
Sets the value of the usings property.- Parameters:
value- allowed object isLibrary.Usings
-
getIncludes
Gets the value of the includes property.- Returns:
- possible object is
Library.Includes
-
setIncludes
Sets the value of the includes property.- Parameters:
value- allowed object isLibrary.Includes
-
getParameters
Gets the value of the parameters property.- Returns:
- possible object is
Library.Parameters
-
setParameters
Sets the value of the parameters property.- Parameters:
value- allowed object isLibrary.Parameters
-
getCodeSystems
Gets the value of the codeSystems property.- Returns:
- possible object is
Library.CodeSystems
-
setCodeSystems
Sets the value of the codeSystems property.- Parameters:
value- allowed object isLibrary.CodeSystems
-
getValueSets
Gets the value of the valueSets property.- Returns:
- possible object is
Library.ValueSets
-
setValueSets
Sets the value of the valueSets property.- Parameters:
value- allowed object isLibrary.ValueSets
-
getCodes
Gets the value of the codes property.- Returns:
- possible object is
Library.Codes
-
setCodes
Sets the value of the codes property.- Parameters:
value- allowed object isLibrary.Codes
-
getConcepts
Gets the value of the concepts property.- Returns:
- possible object is
Library.Concepts
-
setConcepts
Sets the value of the concepts property.- Parameters:
value- allowed object isLibrary.Concepts
-
getContexts
Gets the value of the contexts property.- Returns:
- possible object is
Library.Contexts
-
setContexts
Sets the value of the contexts property.- Parameters:
value- allowed object isLibrary.Contexts
-
getStatements
Gets the value of the statements property.- Returns:
- possible object is
Library.Statements
-
setStatements
Sets the value of the statements property.- Parameters:
value- allowed object isLibrary.Statements
-
withIdentifier
-
withSchemaIdentifier
-
withUsings
-
withIncludes
-
withParameters
-
withCodeSystems
-
withValueSets
-
withCodes
-
withConcepts
-
withContexts
-
withStatements
-
withAnnotation
- Overrides:
withAnnotationin classElement
-
withAnnotation
- Overrides:
withAnnotationin classElement
-
withResultTypeSpecifier
- Overrides:
withResultTypeSpecifierin classElement
-
withLocalId
- Overrides:
withLocalIdin classElement
-
withLocator
- Overrides:
withLocatorin classElement
-
withResultTypeName
- Overrides:
withResultTypeNamein classElement
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) -
equals
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) -
hashCode
public int hashCode() -
toString
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) -
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classElement
-