Class ModelInfo

  • All Implemented Interfaces:
    org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

    public class ModelInfo
    extends java.lang.Object
    implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
    The ModelInfo type defines the metadata associated with a particular model to enable it to be used by the CQL translator. Note that none of the information specified here is required, it just enables some convenient shorthands within the language.

    Java class for ModelInfo complex type.

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

     <complexType name="ModelInfo">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="requiredModelInfo" type="{urn:hl7-org:elm-modelinfo:r1}ModelSpecifier" maxOccurs="unbounded" minOccurs="0"/>
             <element name="typeInfo" type="{urn:hl7-org:elm-modelinfo:r1}TypeInfo" maxOccurs="unbounded" minOccurs="0"/>
             <element name="conversionInfo" type="{urn:hl7-org:elm-modelinfo:r1}ConversionInfo" maxOccurs="unbounded" minOccurs="0"/>
             <element name="contextInfo" type="{urn:hl7-org:elm-modelinfo:r1}ContextInfo" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="url" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
           <attribute name="targetUrl" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
           <attribute name="targetVersion" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="schemaLocation" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="targetQualifier" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="patientClassName" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="patientClassIdentifier" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="patientBirthDatePropertyName" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="caseSensitive" type="{http://www.w3.org/2001/XMLSchema}boolean" />
           <attribute name="strictRetrieveTyping" type="{http://www.w3.org/2001/XMLSchema}boolean" />
           <attribute name="defaultContext" type="{http://www.w3.org/2001/XMLSchema}string" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • requiredModelInfo

        protected java.util.List<ModelSpecifier> requiredModelInfo
      • typeInfo

        protected java.util.List<TypeInfo> typeInfo
      • conversionInfo

        protected java.util.List<ConversionInfo> conversionInfo
      • contextInfo

        protected java.util.List<ContextInfo> contextInfo
      • name

        protected java.lang.String name
      • version

        protected java.lang.String version
      • url

        protected java.lang.String url
      • targetUrl

        protected java.lang.String targetUrl
      • targetVersion

        protected java.lang.String targetVersion
      • schemaLocation

        protected java.lang.String schemaLocation
      • targetQualifier

        protected java.lang.String targetQualifier
      • patientClassName

        protected java.lang.String patientClassName
      • patientClassIdentifier

        protected java.lang.String patientClassIdentifier
      • patientBirthDatePropertyName

        protected java.lang.String patientBirthDatePropertyName
      • caseSensitive

        protected java.lang.Boolean caseSensitive
      • strictRetrieveTyping

        protected java.lang.Boolean strictRetrieveTyping
      • defaultContext

        protected java.lang.String defaultContext
    • Constructor Detail

      • ModelInfo

        public ModelInfo()
    • Method Detail

      • getRequiredModelInfo

        public java.util.List<ModelSpecifier> getRequiredModelInfo()
        Gets the value of the requiredModelInfo 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 requiredModelInfo property.

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

            getRequiredModelInfo().add(newItem);
         

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

      • getTypeInfo

        public java.util.List<TypeInfo> getTypeInfo()
        Gets the value of the typeInfo 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 typeInfo property.

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

            getTypeInfo().add(newItem);
         

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

      • getConversionInfo

        public java.util.List<ConversionInfo> getConversionInfo()
        Gets the value of the conversionInfo 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 conversionInfo property.

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

            getConversionInfo().add(newItem);
         

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

      • getContextInfo

        public java.util.List<ContextInfo> getContextInfo()
        Gets the value of the contextInfo 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 contextInfo property.

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

            getContextInfo().add(newItem);
         

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

      • getName

        public java.lang.String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        public void setName​(java.lang.String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
      • getVersion

        public java.lang.String getVersion()
        Gets the value of the version property.
        Returns:
        possible object is String
      • setVersion

        public void setVersion​(java.lang.String value)
        Sets the value of the version property.
        Parameters:
        value - allowed object is String
      • getUrl

        public java.lang.String getUrl()
        Gets the value of the url property.
        Returns:
        possible object is String
      • setUrl

        public void setUrl​(java.lang.String value)
        Sets the value of the url property.
        Parameters:
        value - allowed object is String
      • getTargetUrl

        public java.lang.String getTargetUrl()
        Gets the value of the targetUrl property.
        Returns:
        possible object is String
      • setTargetUrl

        public void setTargetUrl​(java.lang.String value)
        Sets the value of the targetUrl property.
        Parameters:
        value - allowed object is String
      • getTargetVersion

        public java.lang.String getTargetVersion()
        Gets the value of the targetVersion property.
        Returns:
        possible object is String
      • setTargetVersion

        public void setTargetVersion​(java.lang.String value)
        Sets the value of the targetVersion property.
        Parameters:
        value - allowed object is String
      • getSchemaLocation

        public java.lang.String getSchemaLocation()
        Gets the value of the schemaLocation property.
        Returns:
        possible object is String
      • setSchemaLocation

        public void setSchemaLocation​(java.lang.String value)
        Sets the value of the schemaLocation property.
        Parameters:
        value - allowed object is String
      • getTargetQualifier

        public java.lang.String getTargetQualifier()
        Gets the value of the targetQualifier property.
        Returns:
        possible object is String
      • setTargetQualifier

        public void setTargetQualifier​(java.lang.String value)
        Sets the value of the targetQualifier property.
        Parameters:
        value - allowed object is String
      • getPatientClassName

        public java.lang.String getPatientClassName()
        Gets the value of the patientClassName property.
        Returns:
        possible object is String
      • setPatientClassName

        public void setPatientClassName​(java.lang.String value)
        Sets the value of the patientClassName property.
        Parameters:
        value - allowed object is String
      • getPatientClassIdentifier

        public java.lang.String getPatientClassIdentifier()
        Gets the value of the patientClassIdentifier property.
        Returns:
        possible object is String
      • setPatientClassIdentifier

        public void setPatientClassIdentifier​(java.lang.String value)
        Sets the value of the patientClassIdentifier property.
        Parameters:
        value - allowed object is String
      • getPatientBirthDatePropertyName

        public java.lang.String getPatientBirthDatePropertyName()
        Gets the value of the patientBirthDatePropertyName property.
        Returns:
        possible object is String
      • setPatientBirthDatePropertyName

        public void setPatientBirthDatePropertyName​(java.lang.String value)
        Sets the value of the patientBirthDatePropertyName property.
        Parameters:
        value - allowed object is String
      • isCaseSensitive

        public java.lang.Boolean isCaseSensitive()
        Gets the value of the caseSensitive property.
        Returns:
        possible object is Boolean
      • setCaseSensitive

        public void setCaseSensitive​(java.lang.Boolean value)
        Sets the value of the caseSensitive property.
        Parameters:
        value - allowed object is Boolean
      • isStrictRetrieveTyping

        public java.lang.Boolean isStrictRetrieveTyping()
        Gets the value of the strictRetrieveTyping property.
        Returns:
        possible object is Boolean
      • setStrictRetrieveTyping

        public void setStrictRetrieveTyping​(java.lang.Boolean value)
        Sets the value of the strictRetrieveTyping property.
        Parameters:
        value - allowed object is Boolean
      • getDefaultContext

        public java.lang.String getDefaultContext()
        Gets the value of the defaultContext property.
        Returns:
        possible object is String
      • setDefaultContext

        public void setDefaultContext​(java.lang.String value)
        Sets the value of the defaultContext property.
        Parameters:
        value - allowed object is String
      • withTypeInfo

        public ModelInfo withTypeInfo​(java.util.Collection<TypeInfo> values)
      • withName

        public ModelInfo withName​(java.lang.String value)
      • withVersion

        public ModelInfo withVersion​(java.lang.String value)
      • withUrl

        public ModelInfo withUrl​(java.lang.String value)
      • withTargetUrl

        public ModelInfo withTargetUrl​(java.lang.String value)
      • withTargetVersion

        public ModelInfo withTargetVersion​(java.lang.String value)
      • withSchemaLocation

        public ModelInfo withSchemaLocation​(java.lang.String value)
      • withTargetQualifier

        public ModelInfo withTargetQualifier​(java.lang.String value)
      • withPatientClassName

        public ModelInfo withPatientClassName​(java.lang.String value)
      • withPatientClassIdentifier

        public ModelInfo withPatientClassIdentifier​(java.lang.String value)
      • withPatientBirthDatePropertyName

        public ModelInfo withPatientBirthDatePropertyName​(java.lang.String value)
      • withCaseSensitive

        public ModelInfo withCaseSensitive​(java.lang.Boolean value)
      • withStrictRetrieveTyping

        public ModelInfo withStrictRetrieveTyping​(java.lang.Boolean value)
      • withDefaultContext

        public ModelInfo withDefaultContext​(java.lang.String value)
      • 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)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.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 java.lang.Object
      • toString

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

        public java.lang.StringBuilder append​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                              java.lang.StringBuilder buffer,
                                              org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        append in interface org.jvnet.jaxb2_commons.lang.ToString2
      • 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:
        appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2