package com.artfess.bpm.model.def;

import com.artfess.bpm.persistence.model.DefaultBpmDefinition;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 一个流程定义相关的数据。
 *
 * <pre>
 * 构建组：x5-bpmx-core
 * 作者：ray
 * 邮箱:zhangyg@jee-soft.cn
 * 日期:2014-7-21-下午3:58:34
 * 版权：广州宏天软件有限公司版权所有
 * </pre>
 */
@XmlRootElement(name = "bpmDef")
@XmlAccessorType(XmlAccessType.FIELD)
public class BpmDefXml {

	@XmlElement(name = "bpmDefinition", type = DefaultBpmDefinition.class)
	private DefaultBpmDefinition bpmDefinition;

	public DefaultBpmDefinition getBpmDefinition() {
		return bpmDefinition;
	}

	public void setBpmDefinition(DefaultBpmDefinition bpmDefinition) {
		this.bpmDefinition = bpmDefinition;
	}

}
