Last change
on this file since 36 was 36, checked in by bart, 3 years ago |
Added time-dependent parties for python and simpleRunner-GUI for java
|
File size:
675 bytes
|
Rev | Line | |
---|
[36] | 1 | package geniusweb.profilesserver.events;
|
---|
| 2 |
|
---|
| 3 | import geniusweb.issuevalue.Domain;
|
---|
| 4 |
|
---|
| 5 | public class DomainChangeEvent implements ChangeEvent {
|
---|
| 6 |
|
---|
| 7 | private Domain olddomain;
|
---|
| 8 | private Domain newdomain;
|
---|
| 9 |
|
---|
| 10 | public DomainChangeEvent(Domain olddomain, Domain newdomain) {
|
---|
| 11 | this.olddomain = olddomain;
|
---|
| 12 | this.newdomain = newdomain;
|
---|
| 13 | }
|
---|
| 14 |
|
---|
| 15 | /**
|
---|
| 16 | * @return the old domain after the change. May be null if the domain did
|
---|
| 17 | * not exist .
|
---|
| 18 | */
|
---|
| 19 | public Domain getOldDomain() {
|
---|
| 20 | return olddomain;
|
---|
| 21 | }
|
---|
| 22 |
|
---|
| 23 | /**
|
---|
| 24 | * @return the new domain after the change. May be null if the domain does
|
---|
| 25 | * not exist anymore or is unparsable.
|
---|
| 26 | */
|
---|
| 27 | public Domain getnewDomain() {
|
---|
| 28 | return newdomain;
|
---|
| 29 | }
|
---|
| 30 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.