+ private YangInstanceIdentifier path;
+ private short version;
+
+ protected AbstractModification(final short version) {
+ this.version = version;
+ }
+
+ protected AbstractModification(final short version, final YangInstanceIdentifier path) {
+ this.path = path;
+ this.version = version;
+ }
+
+ protected AbstractModification(final YangInstanceIdentifier path) {
+ this.path = path;
+ }
+
+ protected void setPath(final YangInstanceIdentifier path) {
+ this.path = path;
+ }
+
+ public YangInstanceIdentifier getPath() {
+ return path;
+ }
+
+ public short getVersion() {
+ return version;
+ }