KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jbpm > bpel > data > def > ElementTypeInfo


1 package org.jbpm.bpel.data.def;
2
3 import javax.xml.namespace.QName JavaDoc;
4
5 import org.jbpm.bpel.data.exe.ElementVariableInstance;
6 import org.jbpm.bpel.data.exe.VariableInstance;
7
8 /**
9  * Provides information related to an XML Schema element.
10  * @see "WS-BPEL 2.0 §9.2"
11  * @author Alejandro Guízar
12  * @version $Revision: 1.4 $ $Date: 2005/05/31 00:49:52 $
13  */

14 public class ElementTypeInfo extends VariableTypeInfo {
15   
16   private static final long serialVersionUID = 1L;
17   
18   private QName JavaDoc name;
19
20   public ElementTypeInfo() {
21   }
22
23   public ElementTypeInfo(QName JavaDoc name) {
24     this.name = name;
25   }
26
27   /** {@inheritDoc} */
28   public QName JavaDoc getName() {
29     return name;
30   }
31
32   public void setName(QName JavaDoc name) {
33     this.name = name;
34   }
35
36   /** {@inheritDoc} */
37   public VariableInstance createVariableInstance() {
38     return new ElementVariableInstance();
39   }
40 }
41
Popular Tags