KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jbpm > bpel > def > assign > ToQuery


1 package org.jbpm.bpel.def.assign;
2
3 import org.jbpm.graph.exe.Token;
4
5 import org.jbpm.bpel.data.def.Snippet;
6 import org.jbpm.bpel.def.Assign.To;
7
8 /**
9  * @author Alejandro Guízar
10  * @version $Revision: 1.4 $ $Date: 2005/05/31 00:49:53 $
11  */

12 public class ToQuery extends To {
13   
14   private static final long serialVersionUID = 1L;
15   private Snippet query;
16
17   /** {@inheritDoc} */
18   public void assign(Token token, Object JavaDoc value) {
19     query.getScript().assign(token, value);
20   }
21   
22   public Snippet getQuery() {
23     return query;
24   }
25   
26   public void setQuery(Snippet query) {
27     this.query = query;
28   }
29 }
30
Popular Tags