KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.jbpm.bpel.wsdl.impl;
2
3 import javax.wsdl.Message;
4
5 import org.jbpm.bpel.data.def.Snippet;
6 import org.jbpm.bpel.wsdl.def.Property;
7 import org.jbpm.bpel.wsdl.def.PropertyAlias;
8 import org.jbpm.bpel.wsdl.xml.WsdlConstants;
9
10 /**
11  * A property alias maps a global property to a location in a specific message
12  * part. The property name becomes an alias for the message part and location.
13  * @author Alejandro Guízar
14  * @version $Revision: 1.4 $ $Date: 2005/06/03 01:26:49 $
15  */

16 public class PropertyAliasImpl extends AbstractExtension implements PropertyAlias {
17   
18   private Property property;
19   private Message message;
20   private Snippet query;
21   
22   private static final long serialVersionUID = 1L;
23
24   /**
25    * Constructs a property alias and sets its element type.
26    */

27   public PropertyAliasImpl() {
28     setElementType(WsdlConstants.Q_PROPERTY_ALIAS);
29   }
30
31   /**
32    * {@inheritDoc}
33    */

34   public Message getMessage() {
35     return message;
36   }
37
38   /**
39    * {@inheritDoc}
40    */

41   public void setMessage(Message message) {
42     this.message = message;
43   }
44
45   /**
46    * {@inheritDoc}
47    */

48   public Property getProperty() {
49     return property;
50   }
51
52   /**
53    * {@inheritDoc}
54    */

55   public void setProperty(Property property) {
56     this.property = property;
57   }
58
59   /**
60    * {@inheritDoc}
61    */

62   public Snippet getQuery() {
63     return query;
64   }
65
66   /**
67    * {@inheritDoc}
68    */

69   public void setQuery(Snippet query) {
70     this.query = query;
71   }
72 }
73
Popular Tags