Package org.hl7.elm_modelinfo.r1
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 Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected NamedTypeSpecifierprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the birthDateElement property.Gets the value of the contextType property.Gets the value of the keyElement property.getName()Gets the value of the name property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetBirthDateElement(String value) Sets the value of the birthDateElement property.voidsetContextType(NamedTypeSpecifier value) Sets the value of the contextType property.voidsetKeyElement(String value) Sets the value of the keyElement property.voidSets the value of the name property.toString()withBirthDateElement(String value) withKeyElement(String value)
-
Field Details
-
contextType
-
name
-
keyElement
-
birthDateElement
-
-
Constructor Details
-
ContextInfo
public ContextInfo()
-
-
Method Details
-
getContextType
Gets the value of the contextType property.- Returns:
- possible object is
NamedTypeSpecifier
-
setContextType
Sets the value of the contextType property.- Parameters:
value- allowed object isNamedTypeSpecifier
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getKeyElement
Gets the value of the keyElement property.- Returns:
- possible object is
String
-
setKeyElement
Sets the value of the keyElement property.- Parameters:
value- allowed object isString
-
getBirthDateElement
Gets the value of the birthDateElement property.- Returns:
- possible object is
String
-
setBirthDateElement
Sets the value of the birthDateElement property.- Parameters:
value- allowed object isString
-
withContextType
-
withName
-
withKeyElement
-
withBirthDateElement
-
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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
equals
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) - Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
hashCode
public int hashCode() -
toString
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.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:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-