org.javers.core.diff.changetype.ReferenceChange Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javers-core Show documentation
Show all versions of javers-core Show documentation
JaVers - object auditing and diff framework for Java
package org.javers.core.diff.changetype;
import java.util.Optional;
import org.javers.core.commit.CommitMetadata;
import org.javers.core.metamodel.object.GlobalId;
import java.util.Objects;
import static org.javers.common.string.ToStringBuilder.addField;
/**
* Changed reference to Entity or ValueObject (in *ToOne relation)
*
* @author bartosz walacik
*/
public final class ReferenceChange extends PropertyChange {
private final GlobalId left;
private final GlobalId right;
private transient final Optional