Class ClassInfoElement

java.lang.Object
org.hl7.elm_modelinfo.r1.ClassInfoElement
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class ClassInfoElement extends Object implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

Java class for ClassInfoElement complex type.

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

 <complexType name="ClassInfoElement">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="typeSpecifier" type="{urn:hl7-org:elm-modelinfo:r1}TypeSpecifier" minOccurs="0"/>
         <element name="elementTypeSpecifier" type="{urn:hl7-org:elm-modelinfo:r1}TypeSpecifier" minOccurs="0"/>
         <element name="binding" type="{urn:hl7-org:elm-modelinfo:r1}BindingInfo" minOccurs="0"/>
         <element name="constraint" type="{urn:hl7-org:elm-modelinfo:r1}ConstraintInfo" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="elementType" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="prohibited" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="oneBased" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="target" 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="min" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="max" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="mustSupport" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • ClassInfoElement

      public ClassInfoElement()
  • Method Details

    • getTypeSpecifier

      public TypeSpecifier getTypeSpecifier()
      Gets the value of the typeSpecifier property.
      Returns:
      possible object is TypeSpecifier
    • setTypeSpecifier

      public void setTypeSpecifier(TypeSpecifier value)
      Sets the value of the typeSpecifier property.
      Parameters:
      value - allowed object is TypeSpecifier
    • getElementTypeSpecifier

      public TypeSpecifier getElementTypeSpecifier()
      Gets the value of the elementTypeSpecifier property.
      Returns:
      possible object is TypeSpecifier
    • setElementTypeSpecifier

      public void setElementTypeSpecifier(TypeSpecifier value)
      Sets the value of the elementTypeSpecifier property.
      Parameters:
      value - allowed object is TypeSpecifier
    • getBinding

      public BindingInfo getBinding()
      Gets the value of the binding property.
      Returns:
      possible object is BindingInfo
    • setBinding

      public void setBinding(BindingInfo value)
      Sets the value of the binding property.
      Parameters:
      value - allowed object is BindingInfo
    • 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

    • 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
    • getType

      public String getType()
      Gets the value of the type property.
      Returns:
      possible object is String
    • setType

      public void setType(String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
    • getElementType

      public String getElementType()
      Gets the value of the elementType property.
      Returns:
      possible object is String
    • setElementType

      public void setElementType(String value)
      Sets the value of the elementType property.
      Parameters:
      value - allowed object is String
    • isProhibited

      public Boolean isProhibited()
      Gets the value of the prohibited property.
      Returns:
      possible object is Boolean
    • setProhibited

      public void setProhibited(Boolean value)
      Sets the value of the prohibited property.
      Parameters:
      value - allowed object is Boolean
    • isOneBased

      public Boolean isOneBased()
      Gets the value of the oneBased property.
      Returns:
      possible object is Boolean
    • setOneBased

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

      public Integer getMin()
      Gets the value of the min property.
      Returns:
      possible object is Integer
    • setMin

      public void setMin(Integer value)
      Sets the value of the min property.
      Parameters:
      value - allowed object is Integer
    • getMax

      public String getMax()
      Gets the value of the max property.
      Returns:
      possible object is String
    • setMax

      public void setMax(String value)
      Sets the value of the max property.
      Parameters:
      value - allowed object is String
    • isMustSupport

      public Boolean isMustSupport()
      Gets the value of the mustSupport property.
      Returns:
      possible object is Boolean
    • setMustSupport

      public void setMustSupport(Boolean value)
      Sets the value of the mustSupport property.
      Parameters:
      value - allowed object is Boolean
    • withTypeSpecifier

      public ClassInfoElement withTypeSpecifier(TypeSpecifier value)
    • withElementTypeSpecifier

      public ClassInfoElement withElementTypeSpecifier(TypeSpecifier value)
    • withBinding

      public ClassInfoElement withBinding(BindingInfo value)
    • withConstraint

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

      public ClassInfoElement withConstraint(Collection<ConstraintInfo> values)
    • withName

      public ClassInfoElement withName(String value)
    • withType

      public ClassInfoElement withType(String value)
    • withElementType

      public ClassInfoElement withElementType(String value)
    • withProhibited

      public ClassInfoElement withProhibited(Boolean value)
    • withOneBased

      public ClassInfoElement withOneBased(Boolean value)
    • withTarget

      public ClassInfoElement withTarget(String value)
    • withLabel

      public ClassInfoElement withLabel(String value)
    • withDescription

      public ClassInfoElement withDescription(String value)
    • withDefinition

      public ClassInfoElement withDefinition(String value)
    • withComment

      public ClassInfoElement withComment(String value)
    • withMin

      public ClassInfoElement withMin(Integer value)
    • withMax

      public ClassInfoElement withMax(String value)
    • withMustSupport

      public ClassInfoElement withMustSupport(Boolean 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