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

Last change on this file since 2 was 1, checked in by bart, 5 years ago

Initial Release

File size: 675 bytes
RevLine 
[1]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.