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

org.javers.core.diff.changetype.InitialValueChange 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;

/**
 * InitialValueChange is a subtype of ValueChange with null on left and a property value on right.
 * It is generated for each Primitive or Value property of a NewObject to capture its state.
 *
 * @see NewObject
 * @see PrimitiveOrValueType
 * @see JaversBuilder#withInitialChanges(boolean)
 * @see JaversBuilder#withUsePrimitiveDefaults(boolean)
 */
public class InitialValueChange extends ValueChange {
    public InitialValueChange(PropertyChangeMetadata metadata, Object rightValue) {
        super(metadata, null, rightValue);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy