
generated.PIVLPPDTS Maven / Gradle / Ivy
Show all versions of ihe-iti Show documentation
//
// 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.03.15 at 09:03:15 AM PDT
//
package generated;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
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 PIVL_PPD_TS complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PIVL_PPD_TS">
* <complexContent>
* <extension base="{}SXCM_PPD_TS">
* <sequence>
* <element name="phase" type="{}IVL_PPD_TS" minOccurs="0"/>
* <element name="period" type="{}PPD_PQ" minOccurs="0"/>
* </sequence>
* <attribute name="alignment" type="{}CalendarCycle" />
* <attribute name="institutionSpecified" type="{}bl" default="false" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PIVL_PPD_TS", propOrder = {
"phase",
"period"
})
public class PIVLPPDTS
extends SXCMPPDTS
{
protected IVLPPDTS phase;
protected PPDPQ period;
@XmlAttribute(name = "alignment")
protected List alignment;
@XmlAttribute(name = "institutionSpecified")
protected Boolean institutionSpecified;
/**
* Gets the value of the phase property.
*
* @return
* possible object is
* {@link IVLPPDTS }
*
*/
public IVLPPDTS getPhase() {
return phase;
}
/**
* Sets the value of the phase property.
*
* @param value
* allowed object is
* {@link IVLPPDTS }
*
*/
public void setPhase(IVLPPDTS value) {
this.phase = value;
}
/**
* Gets the value of the period property.
*
* @return
* possible object is
* {@link PPDPQ }
*
*/
public PPDPQ getPeriod() {
return period;
}
/**
* Sets the value of the period property.
*
* @param value
* allowed object is
* {@link PPDPQ }
*
*/
public void setPeriod(PPDPQ value) {
this.period = value;
}
/**
* Gets the value of the alignment property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the alignment property.
*
*
* For example, to add a new item, do as follows:
*
* getAlignment().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getAlignment() {
if (alignment == null) {
alignment = new ArrayList();
}
return this.alignment;
}
/**
* Gets the value of the institutionSpecified property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isInstitutionSpecified() {
if (institutionSpecified == null) {
return false;
} else {
return institutionSpecified;
}
}
/**
* Sets the value of the institutionSpecified property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setInstitutionSpecified(Boolean value) {
this.institutionSpecified = value;
}
public PIVLPPDTS withPhase(IVLPPDTS value) {
setPhase(value);
return this;
}
public PIVLPPDTS withPeriod(PPDPQ value) {
setPeriod(value);
return this;
}
public PIVLPPDTS withAlignment(String... values) {
if (values!= null) {
for (String value: values) {
getAlignment().add(value);
}
}
return this;
}
public PIVLPPDTS withAlignment(Collection values) {
if (values!= null) {
getAlignment().addAll(values);
}
return this;
}
public PIVLPPDTS withInstitutionSpecified(Boolean value) {
setInstitutionSpecified(value);
return this;
}
@Override
public PIVLPPDTS withOperator(SetOperator value) {
setOperator(value);
return this;
}
@Override
public PIVLPPDTS withStandardDeviation(PQ value) {
setStandardDeviation(value);
return this;
}
@Override
public PIVLPPDTS withDistributionType(ProbabilityDistributionType value) {
setDistributionType(value);
return this;
}
@Override
public PIVLPPDTS withValue(String value) {
setValue(value);
return this;
}
@Override
public PIVLPPDTS withNullFlavor(String... values) {
if (values!= null) {
for (String value: values) {
getNullFlavor().add(value);
}
}
return this;
}
@Override
public PIVLPPDTS 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);
}
}