
generated.EIVLTS 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.6
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.12.15 at 11:19:24 AM PST
//
package generated;
import java.util.Collection;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
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;
/**
*
* Note: because this type is defined as an extension of SXCM_T,
* all of the attributes and elements accepted for T are also
* accepted by this definition. However, they are NOT allowed
* by the normative description of this type. Unfortunately,
* we cannot write a general purpose schematron contraints to
* provide that extra validation, thus applications must be
* aware that instance (fragments) that pass validation with
* this might might still not be legal.
*
*
* Java class for EIVL_TS complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="EIVL_TS">
* <complexContent>
* <extension base="{}SXCM_TS">
* <sequence>
* <element name="event" type="{}EIVL.event" minOccurs="0"/>
* <element name="offset" type="{}IVL_PQ" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EIVL_TS", propOrder = {
"event",
"offset"
})
public class EIVLTS
extends SXCMTS
{
protected EIVLEvent event;
protected IVLPQ offset;
/**
* Gets the value of the event property.
*
* @return
* possible object is
* {@link EIVLEvent }
*
*/
public EIVLEvent getEvent() {
return event;
}
/**
* Sets the value of the event property.
*
* @param value
* allowed object is
* {@link EIVLEvent }
*
*/
public void setEvent(EIVLEvent value) {
this.event = value;
}
/**
* Gets the value of the offset property.
*
* @return
* possible object is
* {@link IVLPQ }
*
*/
public IVLPQ getOffset() {
return offset;
}
/**
* Sets the value of the offset property.
*
* @param value
* allowed object is
* {@link IVLPQ }
*
*/
public void setOffset(IVLPQ value) {
this.offset = value;
}
public EIVLTS withEvent(EIVLEvent value) {
setEvent(value);
return this;
}
public EIVLTS withOffset(IVLPQ value) {
setOffset(value);
return this;
}
@Override
public EIVLTS withOperator(SetOperator value) {
setOperator(value);
return this;
}
@Override
public EIVLTS withValue(String value) {
setValue(value);
return this;
}
@Override
public EIVLTS withNullFlavor(String... values) {
if (values!= null) {
for (String value: values) {
getNullFlavor().add(value);
}
}
return this;
}
@Override
public EIVLTS 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