KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jbpm > bpel > wsdl > impl > PropertyImpl


1 package org.jbpm.bpel.wsdl.impl;
2
3 import javax.xml.namespace.QName JavaDoc;
4
5 import org.jbpm.bpel.wsdl.def.Property;
6 import org.jbpm.bpel.wsdl.xml.WsdlConstants;
7
8 /**
9  * A property definition creates a globally unique name and associates it with
10  * an XML Schema simple type. The intent is not to create a new type, but to
11  * create a name that has greater significance than the type itself.
12  * @author Alejandro Guizar
13  * @version $Revision: 1.3 $ $Date: 2005/06/03 01:26:49 $
14  */

15 public class PropertyImpl extends NamedExtension implements Property {
16   
17   private QName JavaDoc type;
18   private static final long serialVersionUID = 1L;
19
20   /**
21    * Constructs a property and sets the element type.
22    */

23   public PropertyImpl() {
24     setElementType(WsdlConstants.Q_PROPERTY);
25   }
26
27   /**
28    * {@inheritDoc}
29    */

30   public QName JavaDoc getType() {
31     return type;
32   }
33
34   /**
35    * {@inheritDoc}
36    */

37   public void setType(QName JavaDoc type) {
38     this.type = type;
39   }
40 }
41
Popular Tags