
com.connectifier.xeroclient.models.TrackingCategory 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.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.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for TrackingCategory complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TrackingCategory">
* <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="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Status" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="TrackingCategoryID" type="{}uniqueIdentifier"/>
* <element name="Options" type="{}ArrayOfTrackingCategoryOption" minOccurs="0"/>
* <element name="Option" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </all>
* <attribute name="status" type="{}entityValidationStatus" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TrackingCategory", propOrder = {
})
public class TrackingCategory {
@XmlElement(name = "ValidationErrors")
protected ArrayOfValidationError validationErrors;
@XmlElement(name = "Warnings")
protected ArrayOfWarning warnings;
@XmlElement(name = "Name", required = true)
protected String name;
@XmlElement(name = "Status")
protected String status;
@XmlElement(name = "TrackingCategoryID", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String trackingCategoryID;
@XmlElement(name = "Options")
protected ArrayOfTrackingCategoryOption options;
@XmlElement(name = "Option")
protected String option;
@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 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 status property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStatus(String value) {
this.status = value;
}
/**
* Gets the value of the trackingCategoryID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTrackingCategoryID() {
return trackingCategoryID;
}
/**
* Sets the value of the trackingCategoryID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTrackingCategoryID(String value) {
this.trackingCategoryID = value;
}
/**
* Sets the value of the options property.
*
* @param value
* allowed object is
* {@link ArrayOfTrackingCategoryOption }
*
*/
public void setOptions(ArrayOfTrackingCategoryOption value) {
this.options = value;
}
/**
* Gets the value of the option property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOption() {
return option;
}
/**
* Sets the value of the option property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOption(String value) {
this.option = 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 getOptions() {
return ((options == null)?new ArrayList():options.getOption());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy