01: package org.obe.client.api.repository;
02:
03: import org.obe.xpdl.model.data.DataType;
04: import org.obe.xpdl.model.data.FormalParameter;
05:
06: /**
07: * Supports key-based event subscriptions.
08: *
09: * @author Adrian Price
10: */
11: public class EventParameter extends FormalParameter {
12: private String _keyExpression;
13:
14: public EventParameter() {
15: }
16:
17: public EventParameter(String id, String mode, DataType dataType,
18: String description, String keyExpression) {
19:
20: super (id, null, mode, dataType, description);
21: _keyExpression = keyExpression;
22: }
23:
24: public String getKeyExpression() {
25: return _keyExpression;
26: }
27:
28: public void setKeyExpression(String keyExpression) {
29: _keyExpression = keyExpression;
30: }
31: }
|