01: package org.drools.rule;
02:
03: import java.io.Serializable;
04: import java.util.Collections;
05: import java.util.Map;
06:
07: import org.drools.spi.DataProvider;
08:
09: public class From extends ConditionalElement implements Serializable,
10: PatternSource {
11:
12: private static final long serialVersionUID = 400L;
13:
14: private DataProvider dataProvider;
15:
16: public From(final DataProvider dataProvider) {
17: this .dataProvider = dataProvider;
18: }
19:
20: public DataProvider getDataProvider() {
21: return this .dataProvider;
22: }
23:
24: public Object clone() {
25: // TODO Auto-generated method stub
26: return null;
27: }
28:
29: public Map getInnerDeclarations() {
30: return Collections.EMPTY_MAP;
31: }
32:
33: public Map getOuterDeclarations() {
34: return Collections.EMPTY_MAP;
35: }
36:
37: /**
38: * @inheritDoc
39: */
40: public Declaration resolveDeclaration(final String identifier) {
41: return null;
42: }
43:
44: }
|