Revision 41972
Added by Nikon Gasparis about 8 years ago
Rule.java | ||
---|---|---|
2 | 2 |
|
3 | 3 |
import com.google.gwt.user.client.rpc.IsSerializable; |
4 | 4 |
|
5 |
import java.util.Properties; |
|
6 |
|
|
7 | 5 |
public class Rule implements IsSerializable { |
8 | 6 |
|
9 | 7 |
// for XML// |
... | ... | |
31 | 29 |
private String entity_type = null; |
32 | 30 |
private boolean for_cris = false; |
33 | 31 |
|
34 |
// transient protected Properties pros;
|
|
35 |
|
|
36 |
public Rule() { |
|
37 |
} |
|
38 |
|
|
32 |
// protected Properties pros; |
|
33 |
// |
|
34 |
// public Rule() {
|
|
35 |
// }
|
|
36 |
// |
|
39 | 37 |
// public Properties getConfiguration() { |
40 | 38 |
// return pros; |
41 | 39 |
// } |
... | ... | |
44 | 42 |
// this.pros = pros; |
45 | 43 |
// } |
46 | 44 |
|
45 |
protected CustomProperties pros; |
|
46 |
|
|
47 |
public Rule() { |
|
48 |
} |
|
49 |
|
|
50 |
public CustomProperties getConfiguration() { |
|
51 |
return pros; |
|
52 |
} |
|
53 |
|
|
54 |
public void setConfiguration(CustomProperties pros) { |
|
55 |
this.pros = pros; |
|
56 |
} |
|
57 |
|
|
47 | 58 |
public int getId() { |
48 | 59 |
return id; |
49 | 60 |
} |
Also available in: Unified diff
replaced properties with customProperties