Class ClassInfo

java.lang.Object
org.hl7.elm_modelinfo.r1.TypeInfo
org.hl7.elm_modelinfo.r1.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 Details

  • Constructor Details

    • ClassInfo

      public ClassInfo()
  • Method Details

    • getParameter

      public 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 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 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 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 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 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 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 String getNamespace()
      Gets the value of the namespace property.
      Returns:
      possible object is String
    • setNamespace

      public void setNamespace(String value)
      Sets the value of the namespace property.
      Parameters:
      value - allowed object is String
    • getName

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

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

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

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

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

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

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

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

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

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

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

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

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

      public void setTarget(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(Boolean value)
      Sets the value of the retrievable property.
      Parameters:
      value - allowed object is Boolean
    • getPrimaryCodePath

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

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

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

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

      public ClassInfo withParameter(TypeParameterInfo... values)
    • withParameter

      public ClassInfo withParameter(Collection<TypeParameterInfo> values)
    • withElement

      public ClassInfo withElement(ClassInfoElement... values)
    • withElement

      public ClassInfo withElement(Collection<ClassInfoElement> values)
    • withContextRelationship

      public ClassInfo withContextRelationship(RelationshipInfo... values)
    • withContextRelationship

      public ClassInfo withContextRelationship(Collection<RelationshipInfo> values)
    • withTargetContextRelationship

      public ClassInfo withTargetContextRelationship(RelationshipInfo... values)
    • withTargetContextRelationship

      public ClassInfo withTargetContextRelationship(Collection<RelationshipInfo> values)
    • withSearch

      public ClassInfo withSearch(SearchInfo... values)
    • withSearch

      public ClassInfo withSearch(Collection<SearchInfo> values)
    • withInferenceExpression

      public ClassInfo withInferenceExpression(ExpressionInfo... values)
    • withInferenceExpression

      public ClassInfo withInferenceExpression(Collection<ExpressionInfo> values)
    • withConstraint

      public ClassInfo withConstraint(ConstraintInfo... values)
    • withConstraint

      public ClassInfo withConstraint(Collection<ConstraintInfo> values)
    • withNamespace

      public ClassInfo withNamespace(String value)
    • withName

      public ClassInfo withName(String value)
    • withIdentifier

      public ClassInfo withIdentifier(String value)
    • withLabel

      public ClassInfo withLabel(String value)
    • withDescription

      public ClassInfo withDescription(String value)
    • withDefinition

      public ClassInfo withDefinition(String value)
    • withComment

      public ClassInfo withComment(String value)
    • withTarget

      public ClassInfo withTarget(String value)
    • withRetrievable

      public ClassInfo withRetrievable(Boolean value)
    • withPrimaryCodePath

      public ClassInfo withPrimaryCodePath(String value)
    • withPrimaryValueSetPath

      public ClassInfo withPrimaryValueSetPath(String value)
    • withBaseTypeSpecifier

      public ClassInfo withBaseTypeSpecifier(TypeSpecifier value)
      Overrides:
      withBaseTypeSpecifier in class TypeInfo
    • withBaseType

      public ClassInfo withBaseType(String value)
      Overrides:
      withBaseType in class TypeInfo
    • 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
      Overrides:
      equals in class TypeInfo
    • equals

      public boolean equals(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
    • hashCode

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

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