![JAR search and dependency download from the Maven repository](/logo.png)
com.discobeard.spriter.dom.Animation Maven / Gradle / Ivy
Show all versions of Spriter Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
// See http://java.sun.com/xml/jaxb
// 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;
/**
* Java class for Animation complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <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>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Animation", propOrder = {
"mainline",
"timeline"
})
public class Animation {
@XmlElement(required = true)
protected MainLine mainline;
@XmlElement(required = true)
protected List 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.
*
*
* 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 timeline property.
*
*
* For example, to add a new item, do as follows:
*
* getTimeline().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TimeLine }
*
*
*/
public List getTimeline() {
if (timeline == null) {
timeline = new ArrayList();
}
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;
}
}