net.sf.mpxj.ganttproject.schema.Project Maven / Gradle / Ivy
Show all versions of mpxj Show documentation
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.04.25 at 10:03:47 AM BST
//
package net.sf.mpxj.ganttproject.schema;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="view" type="{}view" maxOccurs="unbounded" minOccurs="0"/>
* <element name="calendars" type="{}calendars"/>
* <element name="tasks" type="{}tasks"/>
* <element name="resources" type="{}resources"/>
* <element name="allocations" type="{}allocations"/>
* <element name="vacations" type="{}vacations"/>
* <element name="previous" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="roles" type="{}roles" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="company" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="webLink" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* <attribute name="view-date" type="{http://www.w3.org/2001/XMLSchema}date" />
* <attribute name="view-index" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="gantt-divider-location" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="resource-divider-location" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="locale" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder =
{
"description",
"view",
"calendars",
"tasks",
"resources",
"allocations",
"vacations",
"previous",
"roles"
}) @XmlRootElement(name = "project") public class Project
{
@XmlElement(required = true) protected String description;
protected List view;
@XmlElement(required = true) protected Calendars calendars;
@XmlElement(required = true) protected Tasks tasks;
@XmlElement(required = true) protected Resources resources;
@XmlElement(required = true) protected Allocations allocations;
@XmlElement(required = true) protected Vacations vacations;
@XmlElement(required = true) protected String previous;
protected List roles;
@XmlAttribute(name = "name") protected String name;
@XmlAttribute(name = "company") protected String company;
@XmlAttribute(name = "webLink") @XmlSchemaType(name = "anyURI") protected String webLink;
@XmlAttribute(name = "view-date") @XmlJavaTypeAdapter(Adapter1.class) @XmlSchemaType(name = "date") protected LocalDateTime viewDate;
@XmlAttribute(name = "view-index") protected Integer viewIndex;
@XmlAttribute(name = "gantt-divider-location") protected Integer ganttDividerLocation;
@XmlAttribute(name = "resource-divider-location") protected Integer resourceDividerLocation;
@XmlAttribute(name = "version") protected String version;
@XmlAttribute(name = "locale") protected String locale;
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription()
{
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value)
{
this.description = value;
}
/**
* Gets the value of the view 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 Jakarta XML Binding object.
* This is why there is not a set
method for the view property.
*
*
* For example, to add a new item, do as follows:
*
* getView().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link View }
*
*
*/
public List getView()
{
if (view == null)
{
view = new ArrayList<>();
}
return this.view;
}
/**
* Gets the value of the calendars property.
*
* @return
* possible object is
* {@link Calendars }
*
*/
public Calendars getCalendars()
{
return calendars;
}
/**
* Sets the value of the calendars property.
*
* @param value
* allowed object is
* {@link Calendars }
*
*/
public void setCalendars(Calendars value)
{
this.calendars = value;
}
/**
* Gets the value of the tasks property.
*
* @return
* possible object is
* {@link Tasks }
*
*/
public Tasks getTasks()
{
return tasks;
}
/**
* Sets the value of the tasks property.
*
* @param value
* allowed object is
* {@link Tasks }
*
*/
public void setTasks(Tasks value)
{
this.tasks = value;
}
/**
* Gets the value of the resources property.
*
* @return
* possible object is
* {@link Resources }
*
*/
public Resources getResources()
{
return resources;
}
/**
* Sets the value of the resources property.
*
* @param value
* allowed object is
* {@link Resources }
*
*/
public void setResources(Resources value)
{
this.resources = value;
}
/**
* Gets the value of the allocations property.
*
* @return
* possible object is
* {@link Allocations }
*
*/
public Allocations getAllocations()
{
return allocations;
}
/**
* Sets the value of the allocations property.
*
* @param value
* allowed object is
* {@link Allocations }
*
*/
public void setAllocations(Allocations value)
{
this.allocations = value;
}
/**
* Gets the value of the vacations property.
*
* @return
* possible object is
* {@link Vacations }
*
*/
public Vacations getVacations()
{
return vacations;
}
/**
* Sets the value of the vacations property.
*
* @param value
* allowed object is
* {@link Vacations }
*
*/
public void setVacations(Vacations value)
{
this.vacations = value;
}
/**
* Gets the value of the previous property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPrevious()
{
return previous;
}
/**
* Sets the value of the previous property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPrevious(String value)
{
this.previous = value;
}
/**
* Gets the value of the roles 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 Jakarta XML Binding object.
* This is why there is not a set
method for the roles property.
*
*
* For example, to add a new item, do as follows:
*
* getRoles().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Roles }
*
*
*/
public List getRoles()
{
if (roles == null)
{
roles = new ArrayList<>();
}
return this.roles;
}
/**
* 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 company property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCompany()
{
return company;
}
/**
* Sets the value of the company property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCompany(String value)
{
this.company = value;
}
/**
* Gets the value of the webLink property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getWebLink()
{
return webLink;
}
/**
* Sets the value of the webLink property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setWebLink(String value)
{
this.webLink = value;
}
/**
* Gets the value of the viewDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDateTime getViewDate()
{
return viewDate;
}
/**
* Sets the value of the viewDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setViewDate(LocalDateTime value)
{
this.viewDate = value;
}
/**
* Gets the value of the viewIndex property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getViewIndex()
{
return viewIndex;
}
/**
* Sets the value of the viewIndex property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setViewIndex(Integer value)
{
this.viewIndex = value;
}
/**
* Gets the value of the ganttDividerLocation property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getGanttDividerLocation()
{
return ganttDividerLocation;
}
/**
* Sets the value of the ganttDividerLocation property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setGanttDividerLocation(Integer value)
{
this.ganttDividerLocation = value;
}
/**
* Gets the value of the resourceDividerLocation property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getResourceDividerLocation()
{
return resourceDividerLocation;
}
/**
* Sets the value of the resourceDividerLocation property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setResourceDividerLocation(Integer value)
{
this.resourceDividerLocation = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion()
{
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value)
{
this.version = value;
}
/**
* Gets the value of the locale property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLocale()
{
return locale;
}
/**
* Sets the value of the locale property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLocale(String value)
{
this.locale = value;
}
}