
com.connectifier.xeroclient.models.Journal 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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for Journal complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Journal">
* <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="Reference" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="JournalID" type="{}uniqueIdentifier"/>
* <element name="JournalDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="JournalNumber" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="CreatedDateUTC" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="JournalLines" type="{}ArrayOfJournalLine"/>
* </all>
* <attribute name="status" type="{}entityValidationStatus" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Journal", propOrder = {
})
public class Journal {
@XmlElement(name = "ValidationErrors")
protected ArrayOfValidationError validationErrors;
@XmlElement(name = "Warnings")
protected ArrayOfWarning warnings;
@XmlElement(name = "Reference")
protected String reference;
@XmlElement(name = "JournalID", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String journalID;
@XmlElement(name = "JournalDate", required = true, type = String.class, nillable = true)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Date journalDate;
@XmlElement(name = "JournalNumber", required = true)
protected String journalNumber;
@XmlElement(name = "CreatedDateUTC", required = true, type = String.class, nillable = true)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Date createdDateUTC;
@XmlElement(name = "JournalLines", required = true)
protected ArrayOfJournalLine journalLines;
@XmlAttribute(name = "status")
protected EntityValidationStatus status;
/**
* 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 reference property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReference() {
return reference;
}
/**
* Sets the value of the reference property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setReference(String value) {
this.reference = value;
}
/**
* Gets the value of the journalID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getJournalID() {
return journalID;
}
/**
* Sets the value of the journalID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setJournalID(String value) {
this.journalID = value;
}
/**
* Gets the value of the journalDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getJournalDate() {
return journalDate;
}
/**
* Sets the value of the journalDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setJournalDate(Date value) {
this.journalDate = value;
}
/**
* Gets the value of the journalNumber property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getJournalNumber() {
return journalNumber;
}
/**
* Sets the value of the journalNumber property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setJournalNumber(String value) {
this.journalNumber = value;
}
/**
* Gets the value of the createdDateUTC property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getCreatedDateUTC() {
return createdDateUTC;
}
/**
* Sets the value of the createdDateUTC property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCreatedDateUTC(Date value) {
this.createdDateUTC = value;
}
/**
* Sets the value of the journalLines property.
*
* @param value
* allowed object is
* {@link ArrayOfJournalLine }
*
*/
public void setJournalLines(ArrayOfJournalLine value) {
this.journalLines = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link EntityValidationStatus }
*
*/
public EntityValidationStatus getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link EntityValidationStatus }
*
*/
public void setStatus(EntityValidationStatus value) {
this.status = 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());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy