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

org.javers.core.diff.changetype.TerminalValueChange Maven / Gradle / Ivy

There is a newer version: 7.6.2
Show newest version
package org.javers.core.diff.changetype;

import org.javers.core.JaversBuilder;
import org.javers.core.metamodel.type.PrimitiveOrValueType;

/**
 * TerminalValueChange is a subtype of ValueChange with a property value on left and null on right.
 * It is generated for each Primitive or Value property of a Removed Object to capture its state.
 *
 * @see ObjectRemoved
 * @see PrimitiveOrValueType
 * @see JaversBuilder#withTerminalChanges(boolean)
 */
public class TerminalValueChange extends ValueChange {

    public TerminalValueChange(PropertyChangeMetadata metadata, Object leftValue) {
        super(metadata, leftValue, null);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy