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

Last change on this file since 24 was 24, checked in by bart, 4 years ago

some minor fixes

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.