⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 machine.java

📁 有限状态机程序自动生成器可以自动生成C、C++和Java程序。自动生成的程序很容易与程序员自己开发的程序结合。
💻 JAVA
字号:
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b26-ea3 
// 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: 2006.06.29 at 09:42:28 AM IDT 
//


package org.abeesoft.fsmgenerator.specification;

import javax.xml.bind.annotation.AccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.abeesoft.fsmgenerator.specification.Callbacks;
import org.abeesoft.fsmgenerator.specification.Events;
import org.abeesoft.fsmgenerator.specification.Hooks;
import org.abeesoft.fsmgenerator.specification.Machine;
import org.abeesoft.fsmgenerator.specification.Start;
import org.abeesoft.fsmgenerator.specification.States;
import org.abeesoft.fsmgenerator.specification.Transitions;


/**
 * <p>Java class for machine element declaration.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;element name="machine">
 *   &lt;complexType>
 *     &lt;complexContent>
 *       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *         &lt;sequence>
 *           &lt;element ref="{}start"/>
 *           &lt;element ref="{}states"/>
 *           &lt;element ref="{}events"/>
 *           &lt;element ref="{}transitions"/>
 *           &lt;element ref="{}callbacks"/>
 *           &lt;element ref="{}hooks"/>
 *         &lt;/sequence>
 *         &lt;attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *         &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       &lt;/restriction>
 *     &lt;/complexContent>
 *   &lt;/complexType>
 * &lt;/element>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(AccessType.FIELD)
@XmlType(name = "", propOrder = {
    "start",
    "states",
    "events",
    "transitions",
    "callbacks",
    "hooks"
})
@XmlRootElement(name = "machine")
public class Machine {

    protected Start start;
    protected States states;
    protected Events events;
    protected Transitions transitions;
    protected Callbacks callbacks;
    protected Hooks hooks;
    @XmlAttribute(required = true)
    protected String id;
    @XmlAttribute(required = true)
    protected String name;

    /**
     * Gets the value of the start property.
     * 
     * @return
     *     possible object is
     *     {@link Start }
     *     
     */
    public Start getStart() {
        return start;
    }

    /**
     * Sets the value of the start property.
     * 
     * @param value
     *     allowed object is
     *     {@link Start }
     *     
     */
    public void setStart(Start value) {
        this.start = value;
    }

    /**
     * Gets the value of the states property.
     * 
     * @return
     *     possible object is
     *     {@link States }
     *     
     */
    public States getStates() {
        return states;
    }

    /**
     * Sets the value of the states property.
     * 
     * @param value
     *     allowed object is
     *     {@link States }
     *     
     */
    public void setStates(States value) {
        this.states = value;
    }

    /**
     * Gets the value of the events property.
     * 
     * @return
     *     possible object is
     *     {@link Events }
     *     
     */
    public Events getEvents() {
        return events;
    }

    /**
     * Sets the value of the events property.
     * 
     * @param value
     *     allowed object is
     *     {@link Events }
     *     
     */
    public void setEvents(Events value) {
        this.events = value;
    }

    /**
     * Gets the value of the transitions property.
     * 
     * @return
     *     possible object is
     *     {@link Transitions }
     *     
     */
    public Transitions getTransitions() {
        return transitions;
    }

    /**
     * Sets the value of the transitions property.
     * 
     * @param value
     *     allowed object is
     *     {@link Transitions }
     *     
     */
    public void setTransitions(Transitions value) {
        this.transitions = value;
    }

    /**
     * Gets the value of the callbacks property.
     * 
     * @return
     *     possible object is
     *     {@link Callbacks }
     *     
     */
    public Callbacks getCallbacks() {
        return callbacks;
    }

    /**
     * Sets the value of the callbacks property.
     * 
     * @param value
     *     allowed object is
     *     {@link Callbacks }
     *     
     */
    public void setCallbacks(Callbacks value) {
        this.callbacks = value;
    }

    /**
     * Gets the value of the hooks property.
     * 
     * @return
     *     possible object is
     *     {@link Hooks }
     *     
     */
    public Hooks getHooks() {
        return hooks;
    }

    /**
     * Sets the value of the hooks property.
     * 
     * @param value
     *     allowed object is
     *     {@link Hooks }
     *     
     */
    public void setHooks(Hooks value) {
        this.hooks = value;
    }

    /**
     * Gets the value of the id property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getId() {
        return id;
    }

    /**
     * Sets the value of the id property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setId(String 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;
    }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -