// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-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: 2013.01.18 at 06:33:53 PM MEZ // package com.discobeard.spriter.dom; 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; /** * <p>Java class for Animation complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="Animation"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="mainline" type="{}MainLine"/> * <element name="timeline" type="{}TimeLine" maxOccurs="unbounded"/> * </sequence> * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}int" /> * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}long" /> * <attribute name="looping" type="{http://www.w3.org/2001/XMLSchema}boolean" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Animation", propOrder = { "mainline", "timeline" }) public class Animation { @XmlElement(required = true) protected MainLine mainline; @XmlElement(required = true) protected List<TimeLine> timeline; @XmlAttribute(name = "id") protected Integer id; @XmlAttribute(name = "name") protected String name; @XmlAttribute(name = "length") protected Long length; @XmlAttribute(name = "looping") protected Boolean looping; /** * Gets the value of the mainline property. * * @return * possible object is * {@link MainLine } * */ public MainLine getMainline() { return mainline; } /** * Sets the value of the mainline property. * * @param value * allowed object is * {@link MainLine } * */ public void setMainline(MainLine value) { this.mainline = value; } /** * Gets the value of the timeline property. * * <p> * 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 <CODE>set</CODE> method for the timeline property. * * <p> * For example, to add a new item, do as follows: * <pre> * getTimeline().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link TimeLine } * * */ public List<TimeLine> getTimeline() { if (timeline == null) { timeline = new ArrayList<TimeLine>(); } return this.timeline; } /** * Gets the value of the id property. * * @return * possible object is * {@link Integer } * */ public Integer getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link Integer } * */ public void setId(Integer value) { this.id = 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 length property. * * @return * possible object is * {@link Long } * */ public Long getLength() { return length; } /** * Sets the value of the length property. * * @param value * allowed object is * {@link Long } * */ public void setLength(Long value) { this.length = value; } /** * Gets the value of the looping property. * * @return * possible object is * {@link Boolean } * */ public Boolean isLooping() { return looping; } /** * Sets the value of the looping property. * * @param value * allowed object is * {@link Boolean } * */ public void setLooping(Boolean value) { this.looping = value; } }