01: package org.ontoware.semversion;
02:
03: /**
04: * what is a change? what to record?
05: *
06: * @author mvo
07: *
08: */
09: public class Change {
10:
11: /**
12: * every change results in a new version
13: */
14: private Version newVersion;
15:
16: private String creationCause;
17:
18: public Change(Version version, String cause) {
19: newVersion = version;
20: creationCause = cause;
21: }
22:
23: public String getCreationCause() {
24: return creationCause;
25: }
26:
27: public Version getNewVersion() {
28: return newVersion;
29: }
30: }
|