
com.connectifier.xeroclient.models.ManualJournal Maven / Gradle / Ivy
//
// 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.03.08 at 08:40:56 PM PDT
//
package com.connectifier.xeroclient.models;
import java.util.ArrayList;
import java.util.Date;
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.XmlElement;
import javax.xml.bind.annotation.XmlList;
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;
/**
* Java class for ManualJournal complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ManualJournal">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="ValidationErrors" type="{}ArrayOfValidationError" minOccurs="0"/>
* <element name="Warnings" type="{}ArrayOfWarning" minOccurs="0"/>
* <element name="Date" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="Status" type="{}manualJournalStatus" minOccurs="0"/>
* <element name="LineAmountTypes" type="{}lineAmountType" minOccurs="0"/>
* <element name="UpdatedDateUTC" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="ManualJournalID" type="{}uniqueIdentifier" minOccurs="0"/>
* <element name="Narration" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="JournalLines" type="{}ArrayOfManualJournalLine" minOccurs="0"/>
* <element name="Url" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
* <element name="ExternalLinkProviderName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ShowOnCashBasisReports" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* </all>
* <attribute name="status" type="{}entityValidationStatus" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ManualJournal", propOrder = {
})
public class ManualJournal {
@XmlElement(name = "ValidationErrors")
protected ArrayOfValidationError validationErrors;
@XmlElement(name = "Warnings")
protected ArrayOfWarning warnings;
@XmlElement(name = "Date", type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Date date;
@XmlElement(name = "Status")
protected ManualJournalStatus status;
@XmlList
@XmlElement(name = "LineAmountTypes")
protected List lineAmountTypes;
@XmlElement(name = "UpdatedDateUTC", type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Date updatedDateUTC;
@XmlElement(name = "ManualJournalID")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String manualJournalID;
@XmlElement(name = "Narration")
protected String narration;
@XmlElement(name = "JournalLines")
protected ArrayOfManualJournalLine journalLines;
@XmlElement(name = "Url")
@XmlSchemaType(name = "anyURI")
protected String url;
@XmlElement(name = "ExternalLinkProviderName")
protected String externalLinkProviderName;
@XmlElement(name = "ShowOnCashBasisReports")
protected Boolean showOnCashBasisReports;
@XmlAttribute(name = "status")
protected EntityValidationStatus validationStatus;
/**
* Sets the value of the validationErrors property.
*
* @param value
* allowed object is
* {@link ArrayOfValidationError }
*
*/
public void setValidationErrors(ArrayOfValidationError value) {
this.validationErrors = value;
}
/**
* Sets the value of the warnings property.
*
* @param value
* allowed object is
* {@link ArrayOfWarning }
*
*/
public void setWarnings(ArrayOfWarning value) {
this.warnings = value;
}
/**
* Gets the value of the date property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getDate() {
return date;
}
/**
* Sets the value of the date property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDate(Date value) {
this.date = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link ManualJournalStatus }
*
*/
public ManualJournalStatus getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link ManualJournalStatus }
*
*/
public void setStatus(ManualJournalStatus value) {
this.status = value;
}
/**
* Gets the value of the lineAmountTypes 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 lineAmountTypes property.
*
*
* For example, to add a new item, do as follows:
*
* getLineAmountTypes().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getLineAmountTypes() {
if (lineAmountTypes == null) {
lineAmountTypes = new ArrayList();
}
return this.lineAmountTypes;
}
/**
* Gets the value of the updatedDateUTC property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getUpdatedDateUTC() {
return updatedDateUTC;
}
/**
* Sets the value of the updatedDateUTC property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUpdatedDateUTC(Date value) {
this.updatedDateUTC = value;
}
/**
* Gets the value of the manualJournalID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getManualJournalID() {
return manualJournalID;
}
/**
* Sets the value of the manualJournalID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setManualJournalID(String value) {
this.manualJournalID = value;
}
/**
* Gets the value of the narration property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNarration() {
return narration;
}
/**
* Sets the value of the narration property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNarration(String value) {
this.narration = value;
}
/**
* Sets the value of the journalLines property.
*
* @param value
* allowed object is
* {@link ArrayOfManualJournalLine }
*
*/
public void setJournalLines(ArrayOfManualJournalLine value) {
this.journalLines = value;
}
/**
* Gets the value of the url property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUrl() {
return url;
}
/**
* Sets the value of the url property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUrl(String value) {
this.url = value;
}
/**
* Gets the value of the externalLinkProviderName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getExternalLinkProviderName() {
return externalLinkProviderName;
}
/**
* Sets the value of the externalLinkProviderName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExternalLinkProviderName(String value) {
this.externalLinkProviderName = value;
}
/**
* Gets the value of the showOnCashBasisReports property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isShowOnCashBasisReports() {
return showOnCashBasisReports;
}
/**
* Sets the value of the showOnCashBasisReports property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setShowOnCashBasisReports(Boolean value) {
this.showOnCashBasisReports = value;
}
/**
* Gets the value of the validationStatus property.
*
* @return
* possible object is
* {@link EntityValidationStatus }
*
*/
public EntityValidationStatus getValidationStatus() {
return validationStatus;
}
/**
* Sets the value of the validationStatus property.
*
* @param value
* allowed object is
* {@link EntityValidationStatus }
*
*/
public void setValidationStatus(EntityValidationStatus value) {
this.validationStatus = value;
}
public List getValidationErrors() {
return ((validationErrors == null)?new ArrayList():validationErrors.getValidationError());
}
public List getWarnings() {
return ((warnings == null)?new ArrayList():warnings.getWarning());
}
public List getJournalLines() {
return ((journalLines == null)?new ArrayList():journalLines.getJournalLine());
}
}