/** * OpenKM, Open Document Management System (http://www.openkm.com) * Copyright (c) 2006-2011 Paco Avila & Josep Llort * * No bytes were intentionally harmed during the development of this application. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ package com.openkm.bean.workflow; import java.io.Serializable; import java.util.List; /** * @author pavila * */ public class ProcessDefinition implements Serializable { private static final long serialVersionUID = -2927429131071624036L; private long id; private String name; private String description; private int version; private List<String> nodes; public String getName() { return name; } public void setName(String name) { this.name = name; } public int getVersion() { return version; } public void setVersion(int version) { this.version = version; } public long getId() { return id; } public void setId(long id) { this.id = id; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public List<String> getNodes() { return nodes; } public void setNodes(List<String> nodes) { this.nodes = nodes; } public String toString() { StringBuffer sb = new StringBuffer(); sb.append("["); sb.append("name="); sb.append(name); sb.append(", description="); sb.append(description); sb.append(", id="); sb.append(id); sb.append(", version="); sb.append(version); sb.append(", nodes="); sb.append(nodes); sb.append("]"); return sb.toString(); } }