All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.legaldocml.diff.impl.AbstractElementDiff Maven / Gradle / Ivy

The newest version!
package io.legaldocml.diff.impl;

import io.legaldocml.akn.AknObject;
import io.legaldocml.diff.ElementDiff;

abstract class AbstractElementDiff implements ElementDiff {

    private final String path;
    private final AknObject left;
    private final AknObject right;

    AbstractElementDiff(String path, AknObject left, AknObject right) {
        this.path = path;
        this.left = left;
        this.right = right;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public String getPath() {
        return this.path;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public AknObject getLeft() {
        return this.left;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public AknObject getRight() {
        return this.right;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy