source: src/main/java/geniusweb/profilesserver/events/DomainChangeEvent.java@ 32

Last change on this file since 32 was 32, checked in by bart, 3 years ago

LEARN algorithm now also available. Fixed small issues.

File size: 675 bytes
Line 
1package geniusweb.profilesserver.events;
2
3import geniusweb.issuevalue.Domain;
4
5public 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.