All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.discobeard.spriter.dom.Key Maven / Gradle / Ivy

There is a newer version: 1.1
Show newest version
//
// 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 Key complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="Key">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="object" type="{}AnimationObject" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="object_ref" type="{}AnimationObjectRef" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="bone_ref" type="{}BoneRef" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="bone" type="{}Bone" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}int" />
 *       <attribute name="time" type="{http://www.w3.org/2001/XMLSchema}long" default="0" />
 *       <attribute name="spin" type="{http://www.w3.org/2001/XMLSchema}int" default="1" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Key", propOrder = { "object", "objectRef", "boneRef", "bone" }) public class Key { protected List object; @XmlElement(name = "object_ref") protected List objectRef; @XmlElement(name = "bone_ref") protected List boneRef; protected Bone bone; @XmlAttribute(name = "id") protected Integer id; @XmlAttribute(name = "time") protected Long time; @XmlAttribute(name = "spin") protected Integer spin; @XmlAttribute(name = "curve_type") public String curveType; public float c1, c2, c3, c4; /** * Gets the value of the object 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 object property. * *

* For example, to add a new item, do as follows: *

     *    getObject().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AnimationObject } * * */ public List getObject() { if (object == null) { object = new ArrayList(); } return this.object; } /** * Gets the value of the objectRef 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 objectRef property. * *

* For example, to add a new item, do as follows: *

     *    getObjectRef().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AnimationObjectRef } * * */ public List getObjectRef() { if (objectRef == null) { objectRef = new ArrayList(); } return this.objectRef; } /** * Gets the value of the boneRef 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 boneRef property. * *

* For example, to add a new item, do as follows: *

     *    getBoneRef().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link BoneRef } * * */ public List getBoneRef() { if (boneRef == null) { boneRef = new ArrayList(); } return this.boneRef; } /** * Gets the value of the bone property. * * @return * possible object is * {@link Bone } * */ public Bone getBone() { return bone; } /** * Sets the value of the bone property. * * @param value * allowed object is * {@link Bone } * */ public void setBone(Bone value) { this.bone = value; } /** * 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 time property. * * @return * possible object is * {@link Long } * */ public long getTime() { if (time == null) { return 0L; } else { return time; } } /** * Sets the value of the time property. * * @param value * allowed object is * {@link Long } * */ public void setTime(Long value) { this.time = value; } /** * Gets the value of the spin property. * * @return * possible object is * {@link Integer } * */ public int getSpin() { if (spin == null) { return 1; } else { return spin; } } /** * Sets the value of the spin property. * * @param value * allowed object is * {@link Integer } * */ public void setSpin(Integer value) { this.spin = value; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy