Class RelationshipInfo

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

public class RelationshipInfo extends Object implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Defines the relationship of a class to the context.

Java class for RelationshipInfo complex type.

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

 <complexType name="RelationshipInfo">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="context" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="relatedKeyElement" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • context

      protected String context
    • relatedKeyElement

      protected String relatedKeyElement
  • Constructor Details

    • RelationshipInfo

      public RelationshipInfo()
  • Method Details

    • getContext

      public String getContext()
      Gets the value of the context property.
      Returns:
      possible object is String
    • setContext

      public void setContext(String value)
      Sets the value of the context property.
      Parameters:
      value - allowed object is String
    • getRelatedKeyElement

      public String getRelatedKeyElement()
      Gets the value of the relatedKeyElement property.
      Returns:
      possible object is String
    • setRelatedKeyElement

      public void setRelatedKeyElement(String value)
      Sets the value of the relatedKeyElement property.
      Parameters:
      value - allowed object is String
    • withContext

      public RelationshipInfo withContext(String value)
    • withRelatedKeyElement

      public RelationshipInfo withRelatedKeyElement(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