* Base class to be used for all simple modifications that can be applied to a DOMStoreTransaction.
*/
public abstract class AbstractModification implements Modification {
+ @java.io.Serial
+ private static final long serialVersionUID = 2647778426312509718L;
private YangInstanceIdentifier path;
private short version;
- protected AbstractModification(short version) {
+ protected AbstractModification(final short version) {
this.version = version;
}
- protected AbstractModification(YangInstanceIdentifier path) {
+ 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(YangInstanceIdentifier path) {
+ protected void setPath(final YangInstanceIdentifier path) {
this.path = path;
}