Class ClassInfo

  • All Implemented Interfaces:
    org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
    Direct Known Subclasses:
    ProfileInfo

    public class ClassInfo
    extends TypeInfo
    implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
    The ClassInfo type models information associated with a single class in the data model.

    Java class for ClassInfo complex type.

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

     <complexType name="ClassInfo">
       <complexContent>
         <extension base="{urn:hl7-org:elm-modelinfo:r1}TypeInfo">
           <sequence>
             <element name="parameter" type="{urn:hl7-org:elm-modelinfo:r1}TypeParameterInfo" maxOccurs="unbounded" minOccurs="0"/>
             <element name="element" type="{urn:hl7-org:elm-modelinfo:r1}ClassInfoElement" maxOccurs="unbounded" minOccurs="0"/>
             <element name="contextRelationship" type="{urn:hl7-org:elm-modelinfo:r1}RelationshipInfo" maxOccurs="unbounded" minOccurs="0"/>
             <element name="targetContextRelationship" type="{urn:hl7-org:elm-modelinfo:r1}RelationshipInfo" maxOccurs="unbounded" minOccurs="0"/>
             <element name="search" type="{urn:hl7-org:elm-modelinfo:r1}SearchInfo" maxOccurs="unbounded" minOccurs="0"/>
             <element name="inferenceExpression" type="{urn:hl7-org:elm-modelinfo:r1}ExpressionInfo" maxOccurs="unbounded" minOccurs="0"/>
             <element name="constraint" type="{urn:hl7-org:elm-modelinfo:r1}ConstraintInfo" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="namespace" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="identifier" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="definition" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="comment" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="target" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="retrievable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
           <attribute name="primaryCodePath" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="primaryValueSetPath" type="{http://www.w3.org/2001/XMLSchema}string" />
         </extension>
       </complexContent>
     </complexType>
     
    • Field Detail

      • contextRelationship

        protected java.util.List<RelationshipInfo> contextRelationship
      • targetContextRelationship

        protected java.util.List<RelationshipInfo> targetContextRelationship
      • search

        protected java.util.List<SearchInfo> search
      • inferenceExpression

        protected java.util.List<ExpressionInfo> inferenceExpression
      • namespace

        protected java.lang.String namespace
      • name

        protected java.lang.String name
      • identifier

        protected java.lang.String identifier
      • label

        protected java.lang.String label
      • description

        protected java.lang.String description
      • definition

        protected java.lang.String definition
      • comment

        protected java.lang.String comment
      • target

        protected java.lang.String target
      • retrievable

        protected java.lang.Boolean retrievable
      • primaryCodePath

        protected java.lang.String primaryCodePath
      • primaryValueSetPath

        protected java.lang.String primaryValueSetPath
    • Constructor Detail

      • ClassInfo

        public ClassInfo()
    • Method Detail

      • getParameter

        public java.util.List<TypeParameterInfo> getParameter()
        Gets the value of the parameter 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 parameter property.

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

            getParameter().add(newItem);
         

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

      • getElement

        public java.util.List<ClassInfoElement> getElement()
        Gets the value of the element 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 element property.

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

            getElement().add(newItem);
         

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

      • getContextRelationship

        public java.util.List<RelationshipInfo> getContextRelationship()
        Gets the value of the contextRelationship 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 contextRelationship property.

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

            getContextRelationship().add(newItem);
         

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

      • getTargetContextRelationship

        public java.util.List<RelationshipInfo> getTargetContextRelationship()
        Gets the value of the targetContextRelationship 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 targetContextRelationship property.

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

            getTargetContextRelationship().add(newItem);
         

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

      • getSearch

        public java.util.List<SearchInfo> getSearch()
        Gets the value of the search 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 search property.

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

            getSearch().add(newItem);
         

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

      • getInferenceExpression

        public java.util.List<ExpressionInfo> getInferenceExpression()
        Gets the value of the inferenceExpression 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 inferenceExpression property.

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

            getInferenceExpression().add(newItem);
         

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

      • getConstraint

        public java.util.List<ConstraintInfo> getConstraint()
        Gets the value of the constraint 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 constraint property.

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

            getConstraint().add(newItem);
         

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

      • getNamespace

        public java.lang.String getNamespace()
        Gets the value of the namespace property.
        Returns:
        possible object is String
      • setNamespace

        public void setNamespace​(java.lang.String value)
        Sets the value of the namespace property.
        Parameters:
        value - allowed object is String
      • 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
      • getIdentifier

        public java.lang.String getIdentifier()
        Gets the value of the identifier property.
        Returns:
        possible object is String
      • setIdentifier

        public void setIdentifier​(java.lang.String value)
        Sets the value of the identifier property.
        Parameters:
        value - allowed object is String
      • getLabel

        public java.lang.String getLabel()
        Gets the value of the label property.
        Returns:
        possible object is String
      • setLabel

        public void setLabel​(java.lang.String value)
        Sets the value of the label property.
        Parameters:
        value - allowed object is String
      • getDescription

        public java.lang.String getDescription()
        Gets the value of the description property.
        Returns:
        possible object is String
      • setDescription

        public void setDescription​(java.lang.String value)
        Sets the value of the description property.
        Parameters:
        value - allowed object is String
      • getDefinition

        public java.lang.String getDefinition()
        Gets the value of the definition property.
        Returns:
        possible object is String
      • setDefinition

        public void setDefinition​(java.lang.String value)
        Sets the value of the definition property.
        Parameters:
        value - allowed object is String
      • getComment

        public java.lang.String getComment()
        Gets the value of the comment property.
        Returns:
        possible object is String
      • setComment

        public void setComment​(java.lang.String value)
        Sets the value of the comment property.
        Parameters:
        value - allowed object is String
      • getTarget

        public java.lang.String getTarget()
        Gets the value of the target property.
        Returns:
        possible object is String
      • setTarget

        public void setTarget​(java.lang.String value)
        Sets the value of the target property.
        Parameters:
        value - allowed object is String
      • isRetrievable

        public boolean isRetrievable()
        Gets the value of the retrievable property.
        Returns:
        possible object is Boolean
      • setRetrievable

        public void setRetrievable​(java.lang.Boolean value)
        Sets the value of the retrievable property.
        Parameters:
        value - allowed object is Boolean
      • getPrimaryCodePath

        public java.lang.String getPrimaryCodePath()
        Gets the value of the primaryCodePath property.
        Returns:
        possible object is String
      • setPrimaryCodePath

        public void setPrimaryCodePath​(java.lang.String value)
        Sets the value of the primaryCodePath property.
        Parameters:
        value - allowed object is String
      • getPrimaryValueSetPath

        public java.lang.String getPrimaryValueSetPath()
        Gets the value of the primaryValueSetPath property.
        Returns:
        possible object is String
      • setPrimaryValueSetPath

        public void setPrimaryValueSetPath​(java.lang.String value)
        Sets the value of the primaryValueSetPath property.
        Parameters:
        value - allowed object is String
      • withTargetContextRelationship

        public ClassInfo withTargetContextRelationship​(java.util.Collection<RelationshipInfo> values)
      • withInferenceExpression

        public ClassInfo withInferenceExpression​(java.util.Collection<ExpressionInfo> values)
      • withNamespace

        public ClassInfo withNamespace​(java.lang.String value)
      • withName

        public ClassInfo withName​(java.lang.String value)
      • withIdentifier

        public ClassInfo withIdentifier​(java.lang.String value)
      • withLabel

        public ClassInfo withLabel​(java.lang.String value)
      • withDescription

        public ClassInfo withDescription​(java.lang.String value)
      • withDefinition

        public ClassInfo withDefinition​(java.lang.String value)
      • withComment

        public ClassInfo withComment​(java.lang.String value)
      • withTarget

        public ClassInfo withTarget​(java.lang.String value)
      • withRetrievable

        public ClassInfo withRetrievable​(java.lang.Boolean value)
      • withPrimaryCodePath

        public ClassInfo withPrimaryCodePath​(java.lang.String value)
      • withPrimaryValueSetPath

        public ClassInfo withPrimaryValueSetPath​(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
        Overrides:
        equals in class TypeInfo
      • equals

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

        public java.lang.String toString()
        Overrides:
        toString in class TypeInfo
      • 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
        Overrides:
        append in class TypeInfo
      • 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
        Overrides:
        appendFields in class TypeInfo