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 Classes Modifier and Type Class Description static classLibrary.CodesJava class for anonymous complex type.static classLibrary.CodeSystemsJava class for anonymous complex type.static classLibrary.ConceptsJava class for anonymous complex type.static classLibrary.ContextsJava class for anonymous complex type.static classLibrary.IncludesJava class for anonymous complex type.static classLibrary.ParametersJava class for anonymous complex type.static classLibrary.StatementsJava class for anonymous complex type.static classLibrary.UsingsJava class for anonymous complex type.static classLibrary.ValueSetsJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected Library.Codescodesprotected Library.CodeSystemscodeSystemsprotected Library.Conceptsconceptsprotected Library.Contextscontextsprotected VersionedIdentifieridentifierprotected Library.Includesincludesprotected Library.Parametersparametersprotected VersionedIdentifierschemaIdentifierprotected Library.Statementsstatementsprotected Library.Usingsusingsprotected Library.ValueSetsvalueSets-
Fields inherited from class org.cqframework.cql.elm.execution.Element
annotation, localId, locator, resultTypeName, resultTypeSpecifier
-
-
Constructor Summary
Constructors Constructor Description Library()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)Library.CodesgetCodes()Gets the value of the codes property.Library.CodeSystemsgetCodeSystems()Gets the value of the codeSystems property.Library.ConceptsgetConcepts()Gets the value of the concepts property.Library.ContextsgetContexts()Gets the value of the contexts property.VersionedIdentifiergetIdentifier()Gets the value of the identifier property.Library.IncludesgetIncludes()Gets the value of the includes property.Library.ParametersgetParameters()Gets the value of the parameters property.VersionedIdentifiergetSchemaIdentifier()Gets the value of the schemaIdentifier property.Library.StatementsgetStatements()Gets the value of the statements property.Library.UsingsgetUsings()Gets the value of the usings property.Library.ValueSetsgetValueSets()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.voidsetCodeSystems(Library.CodeSystems value)Sets 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.voidsetSchemaIdentifier(VersionedIdentifier value)Sets 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.java.lang.StringtoString()LibrarywithAnnotation(java.util.Collection<CqlToElmBase> values)LibrarywithAnnotation(CqlToElmBase... values)LibrarywithCodes(Library.Codes value)LibrarywithCodeSystems(Library.CodeSystems value)LibrarywithConcepts(Library.Concepts value)LibrarywithContexts(Library.Contexts value)LibrarywithIdentifier(VersionedIdentifier value)LibrarywithIncludes(Library.Includes value)LibrarywithLocalId(java.lang.String value)LibrarywithLocator(java.lang.String value)LibrarywithParameters(Library.Parameters value)LibrarywithResultTypeName(javax.xml.namespace.QName value)LibrarywithResultTypeSpecifier(TypeSpecifier value)LibrarywithSchemaIdentifier(VersionedIdentifier value)LibrarywithStatements(Library.Statements value)LibrarywithUsings(Library.Usings value)LibrarywithValueSets(Library.ValueSets value)-
Methods inherited from class org.cqframework.cql.elm.execution.Element
getAnnotation, getLocalId, getLocator, getResultTypeName, getResultTypeSpecifier, setLocalId, setLocator, setResultTypeName, setResultTypeSpecifier
-
Methods inherited from class org.opencds.cqf.cql.engine.elm.execution.Executable
evaluate, internalEvaluate
-
-
-
-
Field Detail
-
identifier
protected VersionedIdentifier identifier
-
schemaIdentifier
protected VersionedIdentifier schemaIdentifier
-
usings
protected Library.Usings usings
-
includes
protected Library.Includes includes
-
parameters
protected Library.Parameters parameters
-
codeSystems
protected Library.CodeSystems codeSystems
-
valueSets
protected Library.ValueSets valueSets
-
codes
protected Library.Codes codes
-
concepts
protected Library.Concepts concepts
-
contexts
protected Library.Contexts contexts
-
statements
protected Library.Statements statements
-
-
Method Detail
-
getIdentifier
public VersionedIdentifier getIdentifier()
Gets the value of the identifier property.- Returns:
- possible object is
VersionedIdentifier
-
setIdentifier
public void setIdentifier(VersionedIdentifier value)
Sets the value of the identifier property.- Parameters:
value- allowed object isVersionedIdentifier
-
getSchemaIdentifier
public VersionedIdentifier getSchemaIdentifier()
Gets the value of the schemaIdentifier property.- Returns:
- possible object is
VersionedIdentifier
-
setSchemaIdentifier
public void setSchemaIdentifier(VersionedIdentifier value)
Sets the value of the schemaIdentifier property.- Parameters:
value- allowed object isVersionedIdentifier
-
getUsings
public Library.Usings getUsings()
Gets the value of the usings property.- Returns:
- possible object is
Library.Usings
-
setUsings
public void setUsings(Library.Usings value)
Sets the value of the usings property.- Parameters:
value- allowed object isLibrary.Usings
-
getIncludes
public Library.Includes getIncludes()
Gets the value of the includes property.- Returns:
- possible object is
Library.Includes
-
setIncludes
public void setIncludes(Library.Includes value)
Sets the value of the includes property.- Parameters:
value- allowed object isLibrary.Includes
-
getParameters
public Library.Parameters getParameters()
Gets the value of the parameters property.- Returns:
- possible object is
Library.Parameters
-
setParameters
public void setParameters(Library.Parameters value)
Sets the value of the parameters property.- Parameters:
value- allowed object isLibrary.Parameters
-
getCodeSystems
public Library.CodeSystems getCodeSystems()
Gets the value of the codeSystems property.- Returns:
- possible object is
Library.CodeSystems
-
setCodeSystems
public void setCodeSystems(Library.CodeSystems value)
Sets the value of the codeSystems property.- Parameters:
value- allowed object isLibrary.CodeSystems
-
getValueSets
public Library.ValueSets getValueSets()
Gets the value of the valueSets property.- Returns:
- possible object is
Library.ValueSets
-
setValueSets
public void setValueSets(Library.ValueSets value)
Sets the value of the valueSets property.- Parameters:
value- allowed object isLibrary.ValueSets
-
getCodes
public Library.Codes getCodes()
Gets the value of the codes property.- Returns:
- possible object is
Library.Codes
-
setCodes
public void setCodes(Library.Codes value)
Sets the value of the codes property.- Parameters:
value- allowed object isLibrary.Codes
-
getConcepts
public Library.Concepts getConcepts()
Gets the value of the concepts property.- Returns:
- possible object is
Library.Concepts
-
setConcepts
public void setConcepts(Library.Concepts value)
Sets the value of the concepts property.- Parameters:
value- allowed object isLibrary.Concepts
-
getContexts
public Library.Contexts getContexts()
Gets the value of the contexts property.- Returns:
- possible object is
Library.Contexts
-
setContexts
public void setContexts(Library.Contexts value)
Sets the value of the contexts property.- Parameters:
value- allowed object isLibrary.Contexts
-
getStatements
public Library.Statements getStatements()
Gets the value of the statements property.- Returns:
- possible object is
Library.Statements
-
setStatements
public void setStatements(Library.Statements value)
Sets the value of the statements property.- Parameters:
value- allowed object isLibrary.Statements
-
withIdentifier
public Library withIdentifier(VersionedIdentifier value)
-
withSchemaIdentifier
public Library withSchemaIdentifier(VersionedIdentifier value)
-
withUsings
public Library withUsings(Library.Usings value)
-
withIncludes
public Library withIncludes(Library.Includes value)
-
withParameters
public Library withParameters(Library.Parameters value)
-
withCodeSystems
public Library withCodeSystems(Library.CodeSystems value)
-
withValueSets
public Library withValueSets(Library.ValueSets value)
-
withCodes
public Library withCodes(Library.Codes value)
-
withConcepts
public Library withConcepts(Library.Concepts value)
-
withContexts
public Library withContexts(Library.Contexts value)
-
withStatements
public Library withStatements(Library.Statements value)
-
withAnnotation
public Library withAnnotation(CqlToElmBase... values)
- Overrides:
withAnnotationin classElement
-
withAnnotation
public Library withAnnotation(java.util.Collection<CqlToElmBase> values)
- Overrides:
withAnnotationin classElement
-
withResultTypeSpecifier
public Library withResultTypeSpecifier(TypeSpecifier value)
- Overrides:
withResultTypeSpecifierin classElement
-
withLocalId
public Library withLocalId(java.lang.String value)
- Overrides:
withLocalIdin classElement
-
withLocator
public Library withLocator(java.lang.String value)
- Overrides:
withLocatorin classElement
-
withResultTypeName
public Library withResultTypeName(javax.xml.namespace.QName value)
- Overrides:
withResultTypeNamein classElement
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classElement
-
-