1 | @Override↵ | | 1 | @Override↵
|
2 | public void dispose()↵ | | 2 | public void dispose()↵
|
3 | {↵ | | 3 | {↵
|
4 | if (mapCommand != null) ↵ | | 4 | if (mapCommand != null) ↵
|
5 | {↵ | | 5 | {↵
|
6 | mapCommand.dispose();↵ | | 6 | mapCommand.dispose();↵
|
7 | }↵ | | 7 | }↵
|
8 | removeCommand.doDispose();↵ | | 8 | setCommand.doDispose();↵
|
9 | }↵ | | 9 | }↵
|
|
10 | @Override↵ | | 10 | @Override↵
|
11 | public Collection<?> getResult()↵ | | 11 | public Collection<?> getResult()↵
|
12 | {↵ | | 12 | {↵
|
13 | return removeCommand.doGetResult();↵ | | 13 | return setCommand.doGetResult();↵
|
14 | }↵ | | 14 | }↵
|
|
15 | @Override↵ | | 15 | @Override↵
|
16 | public Collection<?> getAffectedObjects()↵ | | 16 | public Collection<?> getAffectedObjects()↵
|
17 | {↵ | | 17 | {↵
|
18 | return removeCommand.doGetAffectedObjects();↵ | | 18 | return setCommand.doGetAffectedObjects();↵
|
19 | }↵ | | 19 | }↵
|
|
20 | /**↵ | | 20 | /**↵
|
21 | * This gives an abbreviated name using this object's own class' name, without package qualification,↵ | | 21 | * This gives an abbreviated name using this object's own class' name, without package qualification,↵
|
22 | * followed by a space separated list of <tt>field:value</tt> pairs.↵ | | 22 | * followed by a space separated list of <tt>field:value</tt> pairs.↵
|
23 | */↵ | | 23 | */↵
|
24 | @Override↵ | | 24 | @Override↵
|
25 | public String toString()↵ | | 25 | public String toString()↵
|
26 | {↵ | | 26 | {↵
|
27 | StringBuffer result = new StringBuffer(super.toString());↵ | | 27 | StringBuffer result = new StringBuffer(super.toString());↵
|
28 | result.append(" (mappingDomain: " + mappingDomain + ")");↵ | | 28 | result.append(" (mappingDomain: " + mappingDomain + ")");↵
|
29 | result.append(" (mapCommand: " + mapCommand + ")");↵ | | 29 | result.append(" (mapCommand: " + mapCommand + ")");↵
|
|
30 | return result.toString(); | | 30 | return result.toString();
|