Class Element

All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Direct Known Subclasses:
AggregateClause, AliasedQuerySource, CaseItem, CodeDef, CodeFilterElement, CodeSystemDef, ConceptDef, ContextDef, DateFilterElement, Expression, ExpressionDef, IncludeDef, IncludeElement, LetClause, Library, OperandDef, OtherFilterElement, ParameterDef, ReturnClause, SortByItem, SortClause, TupleElementDefinition, TypeSpecifier, UsingDef, ValueSetDef

public abstract class Element extends Executable implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
The Element type defines the abstract base type for all library elements in ELM.

Java class for Element complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Element">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="annotation" type="{urn:hl7-org:cql-annotations:r1}CqlToElmBase" maxOccurs="unbounded" minOccurs="0"/>
         <element name="resultTypeSpecifier" type="{urn:hl7-org:elm:r1}TypeSpecifier" minOccurs="0"/>
       </sequence>
       <attribute name="localId" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="locator" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="resultTypeName" type="{http://www.w3.org/2001/XMLSchema}QName" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • annotation

      protected List<CqlToElmBase> annotation
    • resultTypeSpecifier

      protected TypeSpecifier resultTypeSpecifier
    • localId

      protected String localId
    • locator

      protected String locator
    • resultTypeName

      protected QName resultTypeName
  • Constructor Details

    • Element

      public Element()
  • Method Details

    • getAnnotation

      public List<CqlToElmBase> getAnnotation()
      Gets the value of the annotation property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the annotation property.

      For example, to add a new item, do as follows:

          getAnnotation().add(newItem);
       

      Objects of the following type(s) are allowed in the list CqlToElmBase

    • getResultTypeSpecifier

      public TypeSpecifier getResultTypeSpecifier()
      Gets the value of the resultTypeSpecifier property.
      Returns:
      possible object is TypeSpecifier
    • setResultTypeSpecifier

      public void setResultTypeSpecifier(TypeSpecifier value)
      Sets the value of the resultTypeSpecifier property.
      Parameters:
      value - allowed object is TypeSpecifier
    • getLocalId

      public String getLocalId()
      Gets the value of the localId property.
      Returns:
      possible object is String
    • setLocalId

      public void setLocalId(String value)
      Sets the value of the localId property.
      Parameters:
      value - allowed object is String
    • getLocator

      public String getLocator()
      Gets the value of the locator property.
      Returns:
      possible object is String
    • setLocator

      public void setLocator(String value)
      Sets the value of the locator property.
      Parameters:
      value - allowed object is String
    • getResultTypeName

      public QName getResultTypeName()
      Gets the value of the resultTypeName property.
      Returns:
      possible object is QName
    • setResultTypeName

      public void setResultTypeName(QName value)
      Sets the value of the resultTypeName property.
      Parameters:
      value - allowed object is QName
    • withAnnotation

      public Element withAnnotation(CqlToElmBase... values)
    • withAnnotation

      public Element withAnnotation(Collection<CqlToElmBase> values)
    • withResultTypeSpecifier

      public Element withResultTypeSpecifier(TypeSpecifier value)
    • withLocalId

      public Element withLocalId(String value)
    • withLocator

      public Element withLocator(String value)
    • withResultTypeName

      public Element withResultTypeName(QName value)
    • 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)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2