//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.03.18 at 03:48:09 PM CET
//
package ch.fd.invoice440.request;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* <p>Java class for recordTarmedType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="recordTarmedType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="record_id" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}int">
* <minInclusive value="1"/>
* <maxInclusive value="999999999"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="tariff_type" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <pattern value="[0-9A-Z]{3}"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="code" use="required" type="{http://www.forum-datenaustausch.ch/invoice}stringType1_30" />
* <attribute name="ref_code" type="{http://www.forum-datenaustausch.ch/invoice}stringType1_30" />
* <attribute name="name" use="required" type="{http://www.forum-datenaustausch.ch/invoice}stringType1_350" />
* <attribute name="session" default="1">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}int">
* <minInclusive value="1"/>
* <maxInclusive value="999999"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="quantity" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
* <attribute name="date_begin" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
* <attribute name="date_end" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
* <attribute name="provider_id" use="required" type="{http://www.forum-datenaustausch.ch/invoice}unionPartyType" />
* <attribute name="responsible_id" use="required" type="{http://www.forum-datenaustausch.ch/invoice}unionPartyType" />
* <attribute name="billing_role" default="both">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* <enumeration value="mt"/>
* <enumeration value="tt"/>
* <enumeration value="both"/>
* <enumeration value="none"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="medical_role" default="self_employed">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* <enumeration value="self_employed"/>
* <enumeration value="employee"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="body_location" default="none">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* <enumeration value="none"/>
* <enumeration value="left"/>
* <enumeration value="right"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="treatment" default="ambulatory">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* <enumeration value="ambulatory"/>
* <enumeration value="stationary"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="unit_mt" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}double">
* <minInclusive value="0.0"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="unit_factor_mt" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}double">
* <minExclusive value="0.0"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="scale_factor_mt" type="{http://www.w3.org/2001/XMLSchema}double" default="1.0" />
* <attribute name="external_factor_mt" default="1.0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}double">
* <minInclusive value="0.0"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="amount_mt" type="{http://www.w3.org/2001/XMLSchema}double" default="0.0" />
* <attribute name="unit_tt" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}double">
* <minInclusive value="0.0"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="unit_factor_tt" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}double">
* <minExclusive value="0.0"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="scale_factor_tt" type="{http://www.w3.org/2001/XMLSchema}double" default="1.0" />
* <attribute name="external_factor_tt" default="1.0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}double">
* <minInclusive value="0.0"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="amount_tt" type="{http://www.w3.org/2001/XMLSchema}double" default="0.0" />
* <attribute name="amount" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
* <attribute name="vat_rate" default="0.0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}double">
* <minInclusive value="0"/>
* <maxInclusive value="100"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="validate" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="obligation" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* <attribute name="section_code" type="{http://www.forum-datenaustausch.ch/invoice}stringType1_6" />
* <attribute name="remark" type="{http://www.forum-datenaustausch.ch/invoice}stringType1_350" />
* <attribute name="service_attributes" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "recordTarmedType")
public class RecordTarmedType {
@XmlAttribute(name = "record_id", required = true)
protected int recordId;
@XmlAttribute(name = "tariff_type", required = true)
protected String tariffType;
@XmlAttribute(name = "code", required = true)
protected String code;
@XmlAttribute(name = "ref_code")
protected String refCode;
@XmlAttribute(name = "name", required = true)
protected String name;
@XmlAttribute(name = "session")
protected Integer session;
@XmlAttribute(name = "quantity", required = true)
protected double quantity;
@XmlAttribute(name = "date_begin", required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar dateBegin;
@XmlAttribute(name = "date_end")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar dateEnd;
@XmlAttribute(name = "provider_id", required = true)
protected String providerId;
@XmlAttribute(name = "responsible_id", required = true)
protected String responsibleId;
@XmlAttribute(name = "billing_role")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String billingRole;
@XmlAttribute(name = "medical_role")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String medicalRole;
@XmlAttribute(name = "body_location")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String bodyLocation;
@XmlAttribute(name = "treatment")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String treatment;
@XmlAttribute(name = "unit_mt", required = true)
protected double unitMt;
@XmlAttribute(name = "unit_factor_mt", required = true)
protected double unitFactorMt;
@XmlAttribute(name = "scale_factor_mt")
protected Double scaleFactorMt;
@XmlAttribute(name = "external_factor_mt")
protected Double externalFactorMt;
@XmlAttribute(name = "amount_mt")
protected Double amountMt;
@XmlAttribute(name = "unit_tt", required = true)
protected double unitTt;
@XmlAttribute(name = "unit_factor_tt", required = true)
protected double unitFactorTt;
@XmlAttribute(name = "scale_factor_tt")
protected Double scaleFactorTt;
@XmlAttribute(name = "external_factor_tt")
protected Double externalFactorTt;
@XmlAttribute(name = "amount_tt")
protected Double amountTt;
@XmlAttribute(name = "amount", required = true)
protected double amount;
@XmlAttribute(name = "vat_rate")
protected Double vatRate;
@XmlAttribute(name = "validate")
protected Boolean validate;
@XmlAttribute(name = "obligation")
protected Boolean obligation;
@XmlAttribute(name = "section_code")
protected String sectionCode;
@XmlAttribute(name = "remark")
protected String remark;
@XmlAttribute(name = "service_attributes")
@XmlSchemaType(name = "unsignedInt")
protected Long serviceAttributes;
/**
* Gets the value of the recordId property.
*
*/
public int getRecordId() {
return recordId;
}
/**
* Sets the value of the recordId property.
*
*/
public void setRecordId(int value) {
this.recordId = value;
}
/**
* Gets the value of the tariffType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTariffType() {
return tariffType;
}
/**
* Sets the value of the tariffType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTariffType(String value) {
this.tariffType = value;
}
/**
* Gets the value of the code property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCode() {
return code;
}
/**
* Sets the value of the code property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCode(String value) {
this.code = value;
}
/**
* Gets the value of the refCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRefCode() {
return refCode;
}
/**
* Sets the value of the refCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRefCode(String value) {
this.refCode = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the session property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public int getSession() {
if (session == null) {
return 1;
} else {
return session;
}
}
/**
* Sets the value of the session property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setSession(Integer value) {
this.session = value;
}
/**
* Gets the value of the quantity property.
*
*/
public double getQuantity() {
return quantity;
}
/**
* Sets the value of the quantity property.
*
*/
public void setQuantity(double value) {
this.quantity = value;
}
/**
* Gets the value of the dateBegin property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getDateBegin() {
return dateBegin;
}
/**
* Sets the value of the dateBegin property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setDateBegin(XMLGregorianCalendar value) {
this.dateBegin = value;
}
/**
* Gets the value of the dateEnd property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getDateEnd() {
return dateEnd;
}
/**
* Sets the value of the dateEnd property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setDateEnd(XMLGregorianCalendar value) {
this.dateEnd = value;
}
/**
* Gets the value of the providerId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getProviderId() {
return providerId;
}
/**
* Sets the value of the providerId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProviderId(String value) {
this.providerId = value;
}
/**
* Gets the value of the responsibleId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getResponsibleId() {
return responsibleId;
}
/**
* Sets the value of the responsibleId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setResponsibleId(String value) {
this.responsibleId = value;
}
/**
* Gets the value of the billingRole property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBillingRole() {
if (billingRole == null) {
return "both";
} else {
return billingRole;
}
}
/**
* Sets the value of the billingRole property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBillingRole(String value) {
this.billingRole = value;
}
/**
* Gets the value of the medicalRole property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMedicalRole() {
if (medicalRole == null) {
return "self_employed";
} else {
return medicalRole;
}
}
/**
* Sets the value of the medicalRole property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMedicalRole(String value) {
this.medicalRole = value;
}
/**
* Gets the value of the bodyLocation property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBodyLocation() {
if (bodyLocation == null) {
return "none";
} else {
return bodyLocation;
}
}
/**
* Sets the value of the bodyLocation property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBodyLocation(String value) {
this.bodyLocation = value;
}
/**
* Gets the value of the treatment property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTreatment() {
if (treatment == null) {
return "ambulatory";
} else {
return treatment;
}
}
/**
* Sets the value of the treatment property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTreatment(String value) {
this.treatment = value;
}
/**
* Gets the value of the unitMt property.
*
*/
public double getUnitMt() {
return unitMt;
}
/**
* Sets the value of the unitMt property.
*
*/
public void setUnitMt(double value) {
this.unitMt = value;
}
/**
* Gets the value of the unitFactorMt property.
*
*/
public double getUnitFactorMt() {
return unitFactorMt;
}
/**
* Sets the value of the unitFactorMt property.
*
*/
public void setUnitFactorMt(double value) {
this.unitFactorMt = value;
}
/**
* Gets the value of the scaleFactorMt property.
*
* @return
* possible object is
* {@link Double }
*
*/
public double getScaleFactorMt() {
if (scaleFactorMt == null) {
return 1.0D;
} else {
return scaleFactorMt;
}
}
/**
* Sets the value of the scaleFactorMt property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setScaleFactorMt(Double value) {
this.scaleFactorMt = value;
}
/**
* Gets the value of the externalFactorMt property.
*
* @return
* possible object is
* {@link Double }
*
*/
public double getExternalFactorMt() {
if (externalFactorMt == null) {
return 1.0D;
} else {
return externalFactorMt;
}
}
/**
* Sets the value of the externalFactorMt property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setExternalFactorMt(Double value) {
this.externalFactorMt = value;
}
/**
* Gets the value of the amountMt property.
*
* @return
* possible object is
* {@link Double }
*
*/
public double getAmountMt() {
if (amountMt == null) {
return 0.0D;
} else {
return amountMt;
}
}
/**
* Sets the value of the amountMt property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setAmountMt(Double value) {
this.amountMt = value;
}
/**
* Gets the value of the unitTt property.
*
*/
public double getUnitTt() {
return unitTt;
}
/**
* Sets the value of the unitTt property.
*
*/
public void setUnitTt(double value) {
this.unitTt = value;
}
/**
* Gets the value of the unitFactorTt property.
*
*/
public double getUnitFactorTt() {
return unitFactorTt;
}
/**
* Sets the value of the unitFactorTt property.
*
*/
public void setUnitFactorTt(double value) {
this.unitFactorTt = value;
}
/**
* Gets the value of the scaleFactorTt property.
*
* @return
* possible object is
* {@link Double }
*
*/
public double getScaleFactorTt() {
if (scaleFactorTt == null) {
return 1.0D;
} else {
return scaleFactorTt;
}
}
/**
* Sets the value of the scaleFactorTt property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setScaleFactorTt(Double value) {
this.scaleFactorTt = value;
}
/**
* Gets the value of the externalFactorTt property.
*
* @return
* possible object is
* {@link Double }
*
*/
public double getExternalFactorTt() {
if (externalFactorTt == null) {
return 1.0D;
} else {
return externalFactorTt;
}
}
/**
* Sets the value of the externalFactorTt property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setExternalFactorTt(Double value) {
this.externalFactorTt = value;
}
/**
* Gets the value of the amountTt property.
*
* @return
* possible object is
* {@link Double }
*
*/
public double getAmountTt() {
if (amountTt == null) {
return 0.0D;
} else {
return amountTt;
}
}
/**
* Sets the value of the amountTt property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setAmountTt(Double value) {
this.amountTt = value;
}
/**
* Gets the value of the amount property.
*
*/
public double getAmount() {
return amount;
}
/**
* Sets the value of the amount property.
*
*/
public void setAmount(double value) {
this.amount = value;
}
/**
* Gets the value of the vatRate property.
*
* @return
* possible object is
* {@link Double }
*
*/
public double getVatRate() {
if (vatRate == null) {
return 0.0D;
} else {
return vatRate;
}
}
/**
* Sets the value of the vatRate property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setVatRate(Double value) {
this.vatRate = value;
}
/**
* Gets the value of the validate property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isValidate() {
if (validate == null) {
return false;
} else {
return validate;
}
}
/**
* Sets the value of the validate property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setValidate(Boolean value) {
this.validate = value;
}
/**
* Gets the value of the obligation property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isObligation() {
if (obligation == null) {
return true;
} else {
return obligation;
}
}
/**
* Sets the value of the obligation property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setObligation(Boolean value) {
this.obligation = value;
}
/**
* Gets the value of the sectionCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSectionCode() {
return sectionCode;
}
/**
* Sets the value of the sectionCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSectionCode(String value) {
this.sectionCode = value;
}
/**
* Gets the value of the remark property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRemark() {
return remark;
}
/**
* Sets the value of the remark property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRemark(String value) {
this.remark = value;
}
/**
* Gets the value of the serviceAttributes property.
*
* @return
* possible object is
* {@link Long }
*
*/
public long getServiceAttributes() {
if (serviceAttributes == null) {
return 0L;
} else {
return serviceAttributes;
}
}
/**
* Sets the value of the serviceAttributes property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setServiceAttributes(Long value) {
this.serviceAttributes = value;
}
}