
com.github.rahulsom.cda.II Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ihe-iti Show documentation
Show all versions of ihe-iti Show documentation
Codegen for IHE ITI Profiles.
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.06.09 at 07:53:51 PM PDT
//
package com.github.rahulsom.cda;
import java.util.Collection;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
/**
* An identifier that uniquely identifies a thing or object. Examples are object identifier for HL7 RIM objects, medical record number, order id, service catalog item id, Vehicle Identification Number (VIN), etc. Instance identifiers are defined based on ISO object identifiers.
*
* Java class for II complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="II">
* <complexContent>
* <extension base="{urn:hl7-org:v3}ANY">
* <attribute name="root" type="{urn:hl7-org:v3}uid" />
* <attribute name="extension" type="{urn:hl7-org:v3}st" />
* <attribute name="assigningAuthorityName" type="{urn:hl7-org:v3}st" />
* <attribute name="displayable" type="{urn:hl7-org:v3}bl" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "II", namespace = "urn:hl7-org:v3")
@XmlSeeAlso({
POCDMT000040InfrastructureRootTypeId.class
})
public class II
extends ANY
{
@XmlAttribute(name = "root")
protected String root;
@XmlAttribute(name = "extension")
protected String extension;
@XmlAttribute(name = "assigningAuthorityName")
protected String assigningAuthorityName;
@XmlAttribute(name = "displayable")
protected Boolean displayable;
/**
* Gets the value of the root property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRoot() {
return root;
}
/**
* Sets the value of the root property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRoot(String value) {
this.root = value;
}
/**
* Gets the value of the extension property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getExtension() {
return extension;
}
/**
* Sets the value of the extension property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExtension(String value) {
this.extension = value;
}
/**
* Gets the value of the assigningAuthorityName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAssigningAuthorityName() {
return assigningAuthorityName;
}
/**
* Sets the value of the assigningAuthorityName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAssigningAuthorityName(String value) {
this.assigningAuthorityName = value;
}
/**
* Gets the value of the displayable property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isDisplayable() {
return displayable;
}
/**
* Sets the value of the displayable property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setDisplayable(Boolean value) {
this.displayable = value;
}
public II withRoot(String value) {
setRoot(value);
return this;
}
public II withExtension(String value) {
setExtension(value);
return this;
}
public II withAssigningAuthorityName(String value) {
setAssigningAuthorityName(value);
return this;
}
public II withDisplayable(Boolean value) {
setDisplayable(value);
return this;
}
@Override
public II withNullFlavor(String... values) {
if (values!= null) {
for (String value: values) {
getNullFlavor().add(value);
}
}
return this;
}
@Override
public II withNullFlavor(Collection values) {
if (values!= null) {
getNullFlavor().addAll(values);
}
return this;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
}
@Override
public boolean equals(Object that) {
return EqualsBuilder.reflectionEquals(this, that);
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy