Class ContextInfo

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

public class ContextInfo extends Object implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Defines an available context type for the model.

Java class for ContextInfo complex type.

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

 <complexType name="ContextInfo">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="contextType" type="{urn:hl7-org:elm-modelinfo:r1}NamedTypeSpecifier"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="keyElement" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="birthDateElement" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • ContextInfo

      public ContextInfo()
  • Method Details

    • getContextType

      public NamedTypeSpecifier getContextType()
      Gets the value of the contextType property.
      Returns:
      possible object is NamedTypeSpecifier
    • setContextType

      public void setContextType(NamedTypeSpecifier value)
      Sets the value of the contextType property.
      Parameters:
      value - allowed object is NamedTypeSpecifier
    • 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
    • getKeyElement

      public String getKeyElement()
      Gets the value of the keyElement property.
      Returns:
      possible object is String
    • setKeyElement

      public void setKeyElement(String value)
      Sets the value of the keyElement property.
      Parameters:
      value - allowed object is String
    • getBirthDateElement

      public String getBirthDateElement()
      Gets the value of the birthDateElement property.
      Returns:
      possible object is String
    • setBirthDateElement

      public void setBirthDateElement(String value)
      Sets the value of the birthDateElement property.
      Parameters:
      value - allowed object is String
    • withContextType

      public ContextInfo withContextType(NamedTypeSpecifier value)
    • withName

      public ContextInfo withName(String value)
    • withKeyElement

      public ContextInfo withKeyElement(String value)
    • withBirthDateElement

      public ContextInfo withBirthDateElement(String 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