jakarta.xml.ns.persistence.orm.MappedSuperclass Maven / Gradle / Ivy
//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.5
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
//
package jakarta.xml.ns.persistence.orm;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.jvnet.jaxb.lang.CopyStrategy;
import org.jvnet.jaxb.lang.CopyTo;
import org.jvnet.jaxb.lang.Equals;
import org.jvnet.jaxb.lang.EqualsStrategy;
import org.jvnet.jaxb.lang.HashCode;
import org.jvnet.jaxb.lang.HashCodeStrategy;
import org.jvnet.jaxb.lang.JAXBCopyStrategy;
import org.jvnet.jaxb.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb.lang.JAXBMergeStrategy;
import org.jvnet.jaxb.lang.MergeFrom;
import org.jvnet.jaxb.lang.MergeStrategy;
import org.jvnet.jaxb.locator.ObjectLocator;
import org.jvnet.jaxb.locator.util.LocatorUtils;
/**
* Defines the settings and mappings for a mapped superclass. Is
* allowed to be sparsely populated and used in conjunction with
* the annotations. Alternatively, the metadata-complete attribute
* can be used to indicate that no annotations are to be processed
* If this is the case then the defaulting rules will be recursively
* applied.
*
* @Target(TYPE) @Retention(RUNTIME)
* public @interface MappedSuperclass{}
*
* Java class for mapped-superclass complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "mapped-superclass", propOrder = {
"description",
"idClass",
"excludeDefaultListeners",
"excludeSuperclassListeners",
"entityListeners",
"prePersist",
"postPersist",
"preRemove",
"postRemove",
"preUpdate",
"postUpdate",
"postLoad",
"attributes"
})
public class MappedSuperclass implements Cloneable, CopyTo, Equals, HashCode, MergeFrom
{
protected String description;
@XmlElement(name = "id-class")
protected IdClass idClass;
@XmlElement(name = "exclude-default-listeners")
protected EmptyType excludeDefaultListeners;
@XmlElement(name = "exclude-superclass-listeners")
protected EmptyType excludeSuperclassListeners;
@XmlElement(name = "entity-listeners")
protected EntityListeners entityListeners;
@XmlElement(name = "pre-persist")
protected PrePersist prePersist;
@XmlElement(name = "post-persist")
protected PostPersist postPersist;
@XmlElement(name = "pre-remove")
protected PreRemove preRemove;
@XmlElement(name = "post-remove")
protected PostRemove postRemove;
@XmlElement(name = "pre-update")
protected PreUpdate preUpdate;
@XmlElement(name = "post-update")
protected PostUpdate postUpdate;
@XmlElement(name = "post-load")
protected PostLoad postLoad;
protected Attributes attributes;
@XmlAttribute(name = "class", required = true)
protected String clazz;
@XmlAttribute(name = "access")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String access;
@XmlAttribute(name = "metadata-complete")
protected Boolean metadataComplete;
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the idClass property.
*
* @return
* possible object is
* {@link IdClass }
*
*/
public IdClass getIdClass() {
return idClass;
}
/**
* Sets the value of the idClass property.
*
* @param value
* allowed object is
* {@link IdClass }
*
*/
public void setIdClass(IdClass value) {
this.idClass = value;
}
/**
* Gets the value of the excludeDefaultListeners property.
*
* @return
* possible object is
* {@link EmptyType }
*
*/
public EmptyType getExcludeDefaultListeners() {
return excludeDefaultListeners;
}
/**
* Sets the value of the excludeDefaultListeners property.
*
* @param value
* allowed object is
* {@link EmptyType }
*
*/
public void setExcludeDefaultListeners(EmptyType value) {
this.excludeDefaultListeners = value;
}
/**
* Gets the value of the excludeSuperclassListeners property.
*
* @return
* possible object is
* {@link EmptyType }
*
*/
public EmptyType getExcludeSuperclassListeners() {
return excludeSuperclassListeners;
}
/**
* Sets the value of the excludeSuperclassListeners property.
*
* @param value
* allowed object is
* {@link EmptyType }
*
*/
public void setExcludeSuperclassListeners(EmptyType value) {
this.excludeSuperclassListeners = value;
}
/**
* Gets the value of the entityListeners property.
*
* @return
* possible object is
* {@link EntityListeners }
*
*/
public EntityListeners getEntityListeners() {
return entityListeners;
}
/**
* Sets the value of the entityListeners property.
*
* @param value
* allowed object is
* {@link EntityListeners }
*
*/
public void setEntityListeners(EntityListeners value) {
this.entityListeners = value;
}
/**
* Gets the value of the prePersist property.
*
* @return
* possible object is
* {@link PrePersist }
*
*/
public PrePersist getPrePersist() {
return prePersist;
}
/**
* Sets the value of the prePersist property.
*
* @param value
* allowed object is
* {@link PrePersist }
*
*/
public void setPrePersist(PrePersist value) {
this.prePersist = value;
}
/**
* Gets the value of the postPersist property.
*
* @return
* possible object is
* {@link PostPersist }
*
*/
public PostPersist getPostPersist() {
return postPersist;
}
/**
* Sets the value of the postPersist property.
*
* @param value
* allowed object is
* {@link PostPersist }
*
*/
public void setPostPersist(PostPersist value) {
this.postPersist = value;
}
/**
* Gets the value of the preRemove property.
*
* @return
* possible object is
* {@link PreRemove }
*
*/
public PreRemove getPreRemove() {
return preRemove;
}
/**
* Sets the value of the preRemove property.
*
* @param value
* allowed object is
* {@link PreRemove }
*
*/
public void setPreRemove(PreRemove value) {
this.preRemove = value;
}
/**
* Gets the value of the postRemove property.
*
* @return
* possible object is
* {@link PostRemove }
*
*/
public PostRemove getPostRemove() {
return postRemove;
}
/**
* Sets the value of the postRemove property.
*
* @param value
* allowed object is
* {@link PostRemove }
*
*/
public void setPostRemove(PostRemove value) {
this.postRemove = value;
}
/**
* Gets the value of the preUpdate property.
*
* @return
* possible object is
* {@link PreUpdate }
*
*/
public PreUpdate getPreUpdate() {
return preUpdate;
}
/**
* Sets the value of the preUpdate property.
*
* @param value
* allowed object is
* {@link PreUpdate }
*
*/
public void setPreUpdate(PreUpdate value) {
this.preUpdate = value;
}
/**
* Gets the value of the postUpdate property.
*
* @return
* possible object is
* {@link PostUpdate }
*
*/
public PostUpdate getPostUpdate() {
return postUpdate;
}
/**
* Sets the value of the postUpdate property.
*
* @param value
* allowed object is
* {@link PostUpdate }
*
*/
public void setPostUpdate(PostUpdate value) {
this.postUpdate = value;
}
/**
* Gets the value of the postLoad property.
*
* @return
* possible object is
* {@link PostLoad }
*
*/
public PostLoad getPostLoad() {
return postLoad;
}
/**
* Sets the value of the postLoad property.
*
* @param value
* allowed object is
* {@link PostLoad }
*
*/
public void setPostLoad(PostLoad value) {
this.postLoad = value;
}
/**
* Gets the value of the attributes property.
*
* @return
* possible object is
* {@link Attributes }
*
*/
public Attributes getAttributes() {
return attributes;
}
/**
* Sets the value of the attributes property.
*
* @param value
* allowed object is
* {@link Attributes }
*
*/
public void setAttributes(Attributes value) {
this.attributes = value;
}
/**
* Gets the value of the clazz property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getClazz() {
return clazz;
}
/**
* Sets the value of the clazz property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setClazz(String value) {
this.clazz = value;
}
/**
* Gets the value of the access property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAccess() {
return access;
}
/**
* Sets the value of the access property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAccess(String value) {
this.access = value;
}
/**
* Gets the value of the metadataComplete property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isMetadataComplete() {
return metadataComplete;
}
/**
* Sets the value of the metadataComplete property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setMetadataComplete(Boolean value) {
this.metadataComplete = value;
}
@Override
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
if ((object == null)||(this.getClass()!= object.getClass())) {
return false;
}
if (this == object) {
return true;
}
final MappedSuperclass that = ((MappedSuperclass) object);
{
String lhsDescription;
lhsDescription = this.getDescription();
String rhsDescription;
rhsDescription = that.getDescription();
if (!strategy.equals(LocatorUtils.property(thisLocator, "description", lhsDescription), LocatorUtils.property(thatLocator, "description", rhsDescription), lhsDescription, rhsDescription, (this.description!= null), (that.description!= null))) {
return false;
}
}
{
IdClass lhsIdClass;
lhsIdClass = this.getIdClass();
IdClass rhsIdClass;
rhsIdClass = that.getIdClass();
if (!strategy.equals(LocatorUtils.property(thisLocator, "idClass", lhsIdClass), LocatorUtils.property(thatLocator, "idClass", rhsIdClass), lhsIdClass, rhsIdClass, (this.idClass!= null), (that.idClass!= null))) {
return false;
}
}
{
EmptyType lhsExcludeDefaultListeners;
lhsExcludeDefaultListeners = this.getExcludeDefaultListeners();
EmptyType rhsExcludeDefaultListeners;
rhsExcludeDefaultListeners = that.getExcludeDefaultListeners();
if (!strategy.equals(LocatorUtils.property(thisLocator, "excludeDefaultListeners", lhsExcludeDefaultListeners), LocatorUtils.property(thatLocator, "excludeDefaultListeners", rhsExcludeDefaultListeners), lhsExcludeDefaultListeners, rhsExcludeDefaultListeners, (this.excludeDefaultListeners!= null), (that.excludeDefaultListeners!= null))) {
return false;
}
}
{
EmptyType lhsExcludeSuperclassListeners;
lhsExcludeSuperclassListeners = this.getExcludeSuperclassListeners();
EmptyType rhsExcludeSuperclassListeners;
rhsExcludeSuperclassListeners = that.getExcludeSuperclassListeners();
if (!strategy.equals(LocatorUtils.property(thisLocator, "excludeSuperclassListeners", lhsExcludeSuperclassListeners), LocatorUtils.property(thatLocator, "excludeSuperclassListeners", rhsExcludeSuperclassListeners), lhsExcludeSuperclassListeners, rhsExcludeSuperclassListeners, (this.excludeSuperclassListeners!= null), (that.excludeSuperclassListeners!= null))) {
return false;
}
}
{
EntityListeners lhsEntityListeners;
lhsEntityListeners = this.getEntityListeners();
EntityListeners rhsEntityListeners;
rhsEntityListeners = that.getEntityListeners();
if (!strategy.equals(LocatorUtils.property(thisLocator, "entityListeners", lhsEntityListeners), LocatorUtils.property(thatLocator, "entityListeners", rhsEntityListeners), lhsEntityListeners, rhsEntityListeners, (this.entityListeners!= null), (that.entityListeners!= null))) {
return false;
}
}
{
PrePersist lhsPrePersist;
lhsPrePersist = this.getPrePersist();
PrePersist rhsPrePersist;
rhsPrePersist = that.getPrePersist();
if (!strategy.equals(LocatorUtils.property(thisLocator, "prePersist", lhsPrePersist), LocatorUtils.property(thatLocator, "prePersist", rhsPrePersist), lhsPrePersist, rhsPrePersist, (this.prePersist!= null), (that.prePersist!= null))) {
return false;
}
}
{
PostPersist lhsPostPersist;
lhsPostPersist = this.getPostPersist();
PostPersist rhsPostPersist;
rhsPostPersist = that.getPostPersist();
if (!strategy.equals(LocatorUtils.property(thisLocator, "postPersist", lhsPostPersist), LocatorUtils.property(thatLocator, "postPersist", rhsPostPersist), lhsPostPersist, rhsPostPersist, (this.postPersist!= null), (that.postPersist!= null))) {
return false;
}
}
{
PreRemove lhsPreRemove;
lhsPreRemove = this.getPreRemove();
PreRemove rhsPreRemove;
rhsPreRemove = that.getPreRemove();
if (!strategy.equals(LocatorUtils.property(thisLocator, "preRemove", lhsPreRemove), LocatorUtils.property(thatLocator, "preRemove", rhsPreRemove), lhsPreRemove, rhsPreRemove, (this.preRemove!= null), (that.preRemove!= null))) {
return false;
}
}
{
PostRemove lhsPostRemove;
lhsPostRemove = this.getPostRemove();
PostRemove rhsPostRemove;
rhsPostRemove = that.getPostRemove();
if (!strategy.equals(LocatorUtils.property(thisLocator, "postRemove", lhsPostRemove), LocatorUtils.property(thatLocator, "postRemove", rhsPostRemove), lhsPostRemove, rhsPostRemove, (this.postRemove!= null), (that.postRemove!= null))) {
return false;
}
}
{
PreUpdate lhsPreUpdate;
lhsPreUpdate = this.getPreUpdate();
PreUpdate rhsPreUpdate;
rhsPreUpdate = that.getPreUpdate();
if (!strategy.equals(LocatorUtils.property(thisLocator, "preUpdate", lhsPreUpdate), LocatorUtils.property(thatLocator, "preUpdate", rhsPreUpdate), lhsPreUpdate, rhsPreUpdate, (this.preUpdate!= null), (that.preUpdate!= null))) {
return false;
}
}
{
PostUpdate lhsPostUpdate;
lhsPostUpdate = this.getPostUpdate();
PostUpdate rhsPostUpdate;
rhsPostUpdate = that.getPostUpdate();
if (!strategy.equals(LocatorUtils.property(thisLocator, "postUpdate", lhsPostUpdate), LocatorUtils.property(thatLocator, "postUpdate", rhsPostUpdate), lhsPostUpdate, rhsPostUpdate, (this.postUpdate!= null), (that.postUpdate!= null))) {
return false;
}
}
{
PostLoad lhsPostLoad;
lhsPostLoad = this.getPostLoad();
PostLoad rhsPostLoad;
rhsPostLoad = that.getPostLoad();
if (!strategy.equals(LocatorUtils.property(thisLocator, "postLoad", lhsPostLoad), LocatorUtils.property(thatLocator, "postLoad", rhsPostLoad), lhsPostLoad, rhsPostLoad, (this.postLoad!= null), (that.postLoad!= null))) {
return false;
}
}
{
Attributes lhsAttributes;
lhsAttributes = this.getAttributes();
Attributes rhsAttributes;
rhsAttributes = that.getAttributes();
if (!strategy.equals(LocatorUtils.property(thisLocator, "attributes", lhsAttributes), LocatorUtils.property(thatLocator, "attributes", rhsAttributes), lhsAttributes, rhsAttributes, (this.attributes!= null), (that.attributes!= null))) {
return false;
}
}
{
String lhsClazz;
lhsClazz = this.getClazz();
String rhsClazz;
rhsClazz = that.getClazz();
if (!strategy.equals(LocatorUtils.property(thisLocator, "clazz", lhsClazz), LocatorUtils.property(thatLocator, "clazz", rhsClazz), lhsClazz, rhsClazz, (this.clazz!= null), (that.clazz!= null))) {
return false;
}
}
{
String lhsAccess;
lhsAccess = this.getAccess();
String rhsAccess;
rhsAccess = that.getAccess();
if (!strategy.equals(LocatorUtils.property(thisLocator, "access", lhsAccess), LocatorUtils.property(thatLocator, "access", rhsAccess), lhsAccess, rhsAccess, (this.access!= null), (that.access!= null))) {
return false;
}
}
{
Boolean lhsMetadataComplete;
lhsMetadataComplete = this.isMetadataComplete();
Boolean rhsMetadataComplete;
rhsMetadataComplete = that.isMetadataComplete();
if (!strategy.equals(LocatorUtils.property(thisLocator, "metadataComplete", lhsMetadataComplete), LocatorUtils.property(thatLocator, "metadataComplete", rhsMetadataComplete), lhsMetadataComplete, rhsMetadataComplete, (this.metadataComplete!= null), (that.metadataComplete!= null))) {
return false;
}
}
return true;
}
@Override
public boolean equals(Object object) {
final EqualsStrategy strategy = JAXBEqualsStrategy.getInstance();
return equals(null, null, object, strategy);
}
@Override
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
int currentHashCode = 1;
{
String theDescription;
theDescription = this.getDescription();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "description", theDescription), currentHashCode, theDescription, (this.description!= null));
}
{
IdClass theIdClass;
theIdClass = this.getIdClass();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "idClass", theIdClass), currentHashCode, theIdClass, (this.idClass!= null));
}
{
EmptyType theExcludeDefaultListeners;
theExcludeDefaultListeners = this.getExcludeDefaultListeners();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "excludeDefaultListeners", theExcludeDefaultListeners), currentHashCode, theExcludeDefaultListeners, (this.excludeDefaultListeners!= null));
}
{
EmptyType theExcludeSuperclassListeners;
theExcludeSuperclassListeners = this.getExcludeSuperclassListeners();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "excludeSuperclassListeners", theExcludeSuperclassListeners), currentHashCode, theExcludeSuperclassListeners, (this.excludeSuperclassListeners!= null));
}
{
EntityListeners theEntityListeners;
theEntityListeners = this.getEntityListeners();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "entityListeners", theEntityListeners), currentHashCode, theEntityListeners, (this.entityListeners!= null));
}
{
PrePersist thePrePersist;
thePrePersist = this.getPrePersist();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "prePersist", thePrePersist), currentHashCode, thePrePersist, (this.prePersist!= null));
}
{
PostPersist thePostPersist;
thePostPersist = this.getPostPersist();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "postPersist", thePostPersist), currentHashCode, thePostPersist, (this.postPersist!= null));
}
{
PreRemove thePreRemove;
thePreRemove = this.getPreRemove();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "preRemove", thePreRemove), currentHashCode, thePreRemove, (this.preRemove!= null));
}
{
PostRemove thePostRemove;
thePostRemove = this.getPostRemove();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "postRemove", thePostRemove), currentHashCode, thePostRemove, (this.postRemove!= null));
}
{
PreUpdate thePreUpdate;
thePreUpdate = this.getPreUpdate();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "preUpdate", thePreUpdate), currentHashCode, thePreUpdate, (this.preUpdate!= null));
}
{
PostUpdate thePostUpdate;
thePostUpdate = this.getPostUpdate();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "postUpdate", thePostUpdate), currentHashCode, thePostUpdate, (this.postUpdate!= null));
}
{
PostLoad thePostLoad;
thePostLoad = this.getPostLoad();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "postLoad", thePostLoad), currentHashCode, thePostLoad, (this.postLoad!= null));
}
{
Attributes theAttributes;
theAttributes = this.getAttributes();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "attributes", theAttributes), currentHashCode, theAttributes, (this.attributes!= null));
}
{
String theClazz;
theClazz = this.getClazz();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "clazz", theClazz), currentHashCode, theClazz, (this.clazz!= null));
}
{
String theAccess;
theAccess = this.getAccess();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "access", theAccess), currentHashCode, theAccess, (this.access!= null));
}
{
Boolean theMetadataComplete;
theMetadataComplete = this.isMetadataComplete();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "metadataComplete", theMetadataComplete), currentHashCode, theMetadataComplete, (this.metadataComplete!= null));
}
return currentHashCode;
}
@Override
public int hashCode() {
final HashCodeStrategy strategy = JAXBHashCodeStrategy.getInstance();
return this.hashCode(null, strategy);
}
@Override
public Object clone() {
return copyTo(createNewInstance());
}
@Override
public Object copyTo(Object target) {
final CopyStrategy strategy = JAXBCopyStrategy.getInstance();
return copyTo(null, target, strategy);
}
@Override
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy strategy) {
final Object draftCopy = ((target == null)?createNewInstance():target);
if (draftCopy instanceof MappedSuperclass) {
final MappedSuperclass copy = ((MappedSuperclass) draftCopy);
{
Boolean descriptionShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.description!= null));
if (descriptionShouldBeCopiedAndSet == Boolean.TRUE) {
String sourceDescription;
sourceDescription = this.getDescription();
String copyDescription = ((String) strategy.copy(LocatorUtils.property(locator, "description", sourceDescription), sourceDescription, (this.description!= null)));
copy.setDescription(copyDescription);
} else {
if (descriptionShouldBeCopiedAndSet == Boolean.FALSE) {
copy.description = null;
}
}
}
{
Boolean idClassShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.idClass!= null));
if (idClassShouldBeCopiedAndSet == Boolean.TRUE) {
IdClass sourceIdClass;
sourceIdClass = this.getIdClass();
IdClass copyIdClass = ((IdClass) strategy.copy(LocatorUtils.property(locator, "idClass", sourceIdClass), sourceIdClass, (this.idClass!= null)));
copy.setIdClass(copyIdClass);
} else {
if (idClassShouldBeCopiedAndSet == Boolean.FALSE) {
copy.idClass = null;
}
}
}
{
Boolean excludeDefaultListenersShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.excludeDefaultListeners!= null));
if (excludeDefaultListenersShouldBeCopiedAndSet == Boolean.TRUE) {
EmptyType sourceExcludeDefaultListeners;
sourceExcludeDefaultListeners = this.getExcludeDefaultListeners();
EmptyType copyExcludeDefaultListeners = ((EmptyType) strategy.copy(LocatorUtils.property(locator, "excludeDefaultListeners", sourceExcludeDefaultListeners), sourceExcludeDefaultListeners, (this.excludeDefaultListeners!= null)));
copy.setExcludeDefaultListeners(copyExcludeDefaultListeners);
} else {
if (excludeDefaultListenersShouldBeCopiedAndSet == Boolean.FALSE) {
copy.excludeDefaultListeners = null;
}
}
}
{
Boolean excludeSuperclassListenersShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.excludeSuperclassListeners!= null));
if (excludeSuperclassListenersShouldBeCopiedAndSet == Boolean.TRUE) {
EmptyType sourceExcludeSuperclassListeners;
sourceExcludeSuperclassListeners = this.getExcludeSuperclassListeners();
EmptyType copyExcludeSuperclassListeners = ((EmptyType) strategy.copy(LocatorUtils.property(locator, "excludeSuperclassListeners", sourceExcludeSuperclassListeners), sourceExcludeSuperclassListeners, (this.excludeSuperclassListeners!= null)));
copy.setExcludeSuperclassListeners(copyExcludeSuperclassListeners);
} else {
if (excludeSuperclassListenersShouldBeCopiedAndSet == Boolean.FALSE) {
copy.excludeSuperclassListeners = null;
}
}
}
{
Boolean entityListenersShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.entityListeners!= null));
if (entityListenersShouldBeCopiedAndSet == Boolean.TRUE) {
EntityListeners sourceEntityListeners;
sourceEntityListeners = this.getEntityListeners();
EntityListeners copyEntityListeners = ((EntityListeners) strategy.copy(LocatorUtils.property(locator, "entityListeners", sourceEntityListeners), sourceEntityListeners, (this.entityListeners!= null)));
copy.setEntityListeners(copyEntityListeners);
} else {
if (entityListenersShouldBeCopiedAndSet == Boolean.FALSE) {
copy.entityListeners = null;
}
}
}
{
Boolean prePersistShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.prePersist!= null));
if (prePersistShouldBeCopiedAndSet == Boolean.TRUE) {
PrePersist sourcePrePersist;
sourcePrePersist = this.getPrePersist();
PrePersist copyPrePersist = ((PrePersist) strategy.copy(LocatorUtils.property(locator, "prePersist", sourcePrePersist), sourcePrePersist, (this.prePersist!= null)));
copy.setPrePersist(copyPrePersist);
} else {
if (prePersistShouldBeCopiedAndSet == Boolean.FALSE) {
copy.prePersist = null;
}
}
}
{
Boolean postPersistShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.postPersist!= null));
if (postPersistShouldBeCopiedAndSet == Boolean.TRUE) {
PostPersist sourcePostPersist;
sourcePostPersist = this.getPostPersist();
PostPersist copyPostPersist = ((PostPersist) strategy.copy(LocatorUtils.property(locator, "postPersist", sourcePostPersist), sourcePostPersist, (this.postPersist!= null)));
copy.setPostPersist(copyPostPersist);
} else {
if (postPersistShouldBeCopiedAndSet == Boolean.FALSE) {
copy.postPersist = null;
}
}
}
{
Boolean preRemoveShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.preRemove!= null));
if (preRemoveShouldBeCopiedAndSet == Boolean.TRUE) {
PreRemove sourcePreRemove;
sourcePreRemove = this.getPreRemove();
PreRemove copyPreRemove = ((PreRemove) strategy.copy(LocatorUtils.property(locator, "preRemove", sourcePreRemove), sourcePreRemove, (this.preRemove!= null)));
copy.setPreRemove(copyPreRemove);
} else {
if (preRemoveShouldBeCopiedAndSet == Boolean.FALSE) {
copy.preRemove = null;
}
}
}
{
Boolean postRemoveShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.postRemove!= null));
if (postRemoveShouldBeCopiedAndSet == Boolean.TRUE) {
PostRemove sourcePostRemove;
sourcePostRemove = this.getPostRemove();
PostRemove copyPostRemove = ((PostRemove) strategy.copy(LocatorUtils.property(locator, "postRemove", sourcePostRemove), sourcePostRemove, (this.postRemove!= null)));
copy.setPostRemove(copyPostRemove);
} else {
if (postRemoveShouldBeCopiedAndSet == Boolean.FALSE) {
copy.postRemove = null;
}
}
}
{
Boolean preUpdateShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.preUpdate!= null));
if (preUpdateShouldBeCopiedAndSet == Boolean.TRUE) {
PreUpdate sourcePreUpdate;
sourcePreUpdate = this.getPreUpdate();
PreUpdate copyPreUpdate = ((PreUpdate) strategy.copy(LocatorUtils.property(locator, "preUpdate", sourcePreUpdate), sourcePreUpdate, (this.preUpdate!= null)));
copy.setPreUpdate(copyPreUpdate);
} else {
if (preUpdateShouldBeCopiedAndSet == Boolean.FALSE) {
copy.preUpdate = null;
}
}
}
{
Boolean postUpdateShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.postUpdate!= null));
if (postUpdateShouldBeCopiedAndSet == Boolean.TRUE) {
PostUpdate sourcePostUpdate;
sourcePostUpdate = this.getPostUpdate();
PostUpdate copyPostUpdate = ((PostUpdate) strategy.copy(LocatorUtils.property(locator, "postUpdate", sourcePostUpdate), sourcePostUpdate, (this.postUpdate!= null)));
copy.setPostUpdate(copyPostUpdate);
} else {
if (postUpdateShouldBeCopiedAndSet == Boolean.FALSE) {
copy.postUpdate = null;
}
}
}
{
Boolean postLoadShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.postLoad!= null));
if (postLoadShouldBeCopiedAndSet == Boolean.TRUE) {
PostLoad sourcePostLoad;
sourcePostLoad = this.getPostLoad();
PostLoad copyPostLoad = ((PostLoad) strategy.copy(LocatorUtils.property(locator, "postLoad", sourcePostLoad), sourcePostLoad, (this.postLoad!= null)));
copy.setPostLoad(copyPostLoad);
} else {
if (postLoadShouldBeCopiedAndSet == Boolean.FALSE) {
copy.postLoad = null;
}
}
}
{
Boolean attributesShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.attributes!= null));
if (attributesShouldBeCopiedAndSet == Boolean.TRUE) {
Attributes sourceAttributes;
sourceAttributes = this.getAttributes();
Attributes copyAttributes = ((Attributes) strategy.copy(LocatorUtils.property(locator, "attributes", sourceAttributes), sourceAttributes, (this.attributes!= null)));
copy.setAttributes(copyAttributes);
} else {
if (attributesShouldBeCopiedAndSet == Boolean.FALSE) {
copy.attributes = null;
}
}
}
{
Boolean clazzShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.clazz!= null));
if (clazzShouldBeCopiedAndSet == Boolean.TRUE) {
String sourceClazz;
sourceClazz = this.getClazz();
String copyClazz = ((String) strategy.copy(LocatorUtils.property(locator, "clazz", sourceClazz), sourceClazz, (this.clazz!= null)));
copy.setClazz(copyClazz);
} else {
if (clazzShouldBeCopiedAndSet == Boolean.FALSE) {
copy.clazz = null;
}
}
}
{
Boolean accessShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.access!= null));
if (accessShouldBeCopiedAndSet == Boolean.TRUE) {
String sourceAccess;
sourceAccess = this.getAccess();
String copyAccess = ((String) strategy.copy(LocatorUtils.property(locator, "access", sourceAccess), sourceAccess, (this.access!= null)));
copy.setAccess(copyAccess);
} else {
if (accessShouldBeCopiedAndSet == Boolean.FALSE) {
copy.access = null;
}
}
}
{
Boolean metadataCompleteShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.metadataComplete!= null));
if (metadataCompleteShouldBeCopiedAndSet == Boolean.TRUE) {
Boolean sourceMetadataComplete;
sourceMetadataComplete = this.isMetadataComplete();
Boolean copyMetadataComplete = ((Boolean) strategy.copy(LocatorUtils.property(locator, "metadataComplete", sourceMetadataComplete), sourceMetadataComplete, (this.metadataComplete!= null)));
copy.setMetadataComplete(copyMetadataComplete);
} else {
if (metadataCompleteShouldBeCopiedAndSet == Boolean.FALSE) {
copy.metadataComplete = null;
}
}
}
}
return draftCopy;
}
@Override
public Object createNewInstance() {
return new MappedSuperclass();
}
@Override
public void mergeFrom(Object left, Object right) {
final MergeStrategy strategy = JAXBMergeStrategy.getInstance();
mergeFrom(null, null, left, right, strategy);
}
@Override
public void mergeFrom(ObjectLocator leftLocator, ObjectLocator rightLocator, Object left, Object right, MergeStrategy strategy) {
if (right instanceof MappedSuperclass) {
final MappedSuperclass target = this;
final MappedSuperclass leftObject = ((MappedSuperclass) left);
final MappedSuperclass rightObject = ((MappedSuperclass) right);
{
Boolean descriptionShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, (leftObject.description!= null), (rightObject.description!= null));
if (descriptionShouldBeMergedAndSet == Boolean.TRUE) {
String lhsDescription;
lhsDescription = leftObject.getDescription();
String rhsDescription;
rhsDescription = rightObject.getDescription();
String mergedDescription = ((String) strategy.merge(LocatorUtils.property(leftLocator, "description", lhsDescription), LocatorUtils.property(rightLocator, "description", rhsDescription), lhsDescription, rhsDescription, (leftObject.description!= null), (rightObject.description!= null)));
target.setDescription(mergedDescription);
} else {
if (descriptionShouldBeMergedAndSet == Boolean.FALSE) {
target.description = null;
}
}
}
{
Boolean idClassShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, (leftObject.idClass!= null), (rightObject.idClass!= null));
if (idClassShouldBeMergedAndSet == Boolean.TRUE) {
IdClass lhsIdClass;
lhsIdClass = leftObject.getIdClass();
IdClass rhsIdClass;
rhsIdClass = rightObject.getIdClass();
IdClass mergedIdClass = ((IdClass) strategy.merge(LocatorUtils.property(leftLocator, "idClass", lhsIdClass), LocatorUtils.property(rightLocator, "idClass", rhsIdClass), lhsIdClass, rhsIdClass, (leftObject.idClass!= null), (rightObject.idClass!= null)));
target.setIdClass(mergedIdClass);
} else {
if (idClassShouldBeMergedAndSet == Boolean.FALSE) {
target.idClass = null;
}
}
}
{
Boolean excludeDefaultListenersShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, (leftObject.excludeDefaultListeners!= null), (rightObject.excludeDefaultListeners!= null));
if (excludeDefaultListenersShouldBeMergedAndSet == Boolean.TRUE) {
EmptyType lhsExcludeDefaultListeners;
lhsExcludeDefaultListeners = leftObject.getExcludeDefaultListeners();
EmptyType rhsExcludeDefaultListeners;
rhsExcludeDefaultListeners = rightObject.getExcludeDefaultListeners();
EmptyType mergedExcludeDefaultListeners = ((EmptyType) strategy.merge(LocatorUtils.property(leftLocator, "excludeDefaultListeners", lhsExcludeDefaultListeners), LocatorUtils.property(rightLocator, "excludeDefaultListeners", rhsExcludeDefaultListeners), lhsExcludeDefaultListeners, rhsExcludeDefaultListeners, (leftObject.excludeDefaultListeners!= null), (rightObject.excludeDefaultListeners!= null)));
target.setExcludeDefaultListeners(mergedExcludeDefaultListeners);
} else {
if (excludeDefaultListenersShouldBeMergedAndSet == Boolean.FALSE) {
target.excludeDefaultListeners = null;
}
}
}
{
Boolean excludeSuperclassListenersShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, (leftObject.excludeSuperclassListeners!= null), (rightObject.excludeSuperclassListeners!= null));
if (excludeSuperclassListenersShouldBeMergedAndSet == Boolean.TRUE) {
EmptyType lhsExcludeSuperclassListeners;
lhsExcludeSuperclassListeners = leftObject.getExcludeSuperclassListeners();
EmptyType rhsExcludeSuperclassListeners;
rhsExcludeSuperclassListeners = rightObject.getExcludeSuperclassListeners();
EmptyType mergedExcludeSuperclassListeners = ((EmptyType) strategy.merge(LocatorUtils.property(leftLocator, "excludeSuperclassListeners", lhsExcludeSuperclassListeners), LocatorUtils.property(rightLocator, "excludeSuperclassListeners", rhsExcludeSuperclassListeners), lhsExcludeSuperclassListeners, rhsExcludeSuperclassListeners, (leftObject.excludeSuperclassListeners!= null), (rightObject.excludeSuperclassListeners!= null)));
target.setExcludeSuperclassListeners(mergedExcludeSuperclassListeners);
} else {
if (excludeSuperclassListenersShouldBeMergedAndSet == Boolean.FALSE) {
target.excludeSuperclassListeners = null;
}
}
}
{
Boolean entityListenersShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, (leftObject.entityListeners!= null), (rightObject.entityListeners!= null));
if (entityListenersShouldBeMergedAndSet == Boolean.TRUE) {
EntityListeners lhsEntityListeners;
lhsEntityListeners = leftObject.getEntityListeners();
EntityListeners rhsEntityListeners;
rhsEntityListeners = rightObject.getEntityListeners();
EntityListeners mergedEntityListeners = ((EntityListeners) strategy.merge(LocatorUtils.property(leftLocator, "entityListeners", lhsEntityListeners), LocatorUtils.property(rightLocator, "entityListeners", rhsEntityListeners), lhsEntityListeners, rhsEntityListeners, (leftObject.entityListeners!= null), (rightObject.entityListeners!= null)));
target.setEntityListeners(mergedEntityListeners);
} else {
if (entityListenersShouldBeMergedAndSet == Boolean.FALSE) {
target.entityListeners = null;
}
}
}
{
Boolean prePersistShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, (leftObject.prePersist!= null), (rightObject.prePersist!= null));
if (prePersistShouldBeMergedAndSet == Boolean.TRUE) {
PrePersist lhsPrePersist;
lhsPrePersist = leftObject.getPrePersist();
PrePersist rhsPrePersist;
rhsPrePersist = rightObject.getPrePersist();
PrePersist mergedPrePersist = ((PrePersist) strategy.merge(LocatorUtils.property(leftLocator, "prePersist", lhsPrePersist), LocatorUtils.property(rightLocator, "prePersist", rhsPrePersist), lhsPrePersist, rhsPrePersist, (leftObject.prePersist!= null), (rightObject.prePersist!= null)));
target.setPrePersist(mergedPrePersist);
} else {
if (prePersistShouldBeMergedAndSet == Boolean.FALSE) {
target.prePersist = null;
}
}
}
{
Boolean postPersistShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, (leftObject.postPersist!= null), (rightObject.postPersist!= null));
if (postPersistShouldBeMergedAndSet == Boolean.TRUE) {
PostPersist lhsPostPersist;
lhsPostPersist = leftObject.getPostPersist();
PostPersist rhsPostPersist;
rhsPostPersist = rightObject.getPostPersist();
PostPersist mergedPostPersist = ((PostPersist) strategy.merge(LocatorUtils.property(leftLocator, "postPersist", lhsPostPersist), LocatorUtils.property(rightLocator, "postPersist", rhsPostPersist), lhsPostPersist, rhsPostPersist, (leftObject.postPersist!= null), (rightObject.postPersist!= null)));
target.setPostPersist(mergedPostPersist);
} else {
if (postPersistShouldBeMergedAndSet == Boolean.FALSE) {
target.postPersist = null;
}
}
}
{
Boolean preRemoveShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, (leftObject.preRemove!= null), (rightObject.preRemove!= null));
if (preRemoveShouldBeMergedAndSet == Boolean.TRUE) {
PreRemove lhsPreRemove;
lhsPreRemove = leftObject.getPreRemove();
PreRemove rhsPreRemove;
rhsPreRemove = rightObject.getPreRemove();
PreRemove mergedPreRemove = ((PreRemove) strategy.merge(LocatorUtils.property(leftLocator, "preRemove", lhsPreRemove), LocatorUtils.property(rightLocator, "preRemove", rhsPreRemove), lhsPreRemove, rhsPreRemove, (leftObject.preRemove!= null), (rightObject.preRemove!= null)));
target.setPreRemove(mergedPreRemove);
} else {
if (preRemoveShouldBeMergedAndSet == Boolean.FALSE) {
target.preRemove = null;
}
}
}
{
Boolean postRemoveShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, (leftObject.postRemove!= null), (rightObject.postRemove!= null));
if (postRemoveShouldBeMergedAndSet == Boolean.TRUE) {
PostRemove lhsPostRemove;
lhsPostRemove = leftObject.getPostRemove();
PostRemove rhsPostRemove;
rhsPostRemove = rightObject.getPostRemove();
PostRemove mergedPostRemove = ((PostRemove) strategy.merge(LocatorUtils.property(leftLocator, "postRemove", lhsPostRemove), LocatorUtils.property(rightLocator, "postRemove", rhsPostRemove), lhsPostRemove, rhsPostRemove, (leftObject.postRemove!= null), (rightObject.postRemove!= null)));
target.setPostRemove(mergedPostRemove);
} else {
if (postRemoveShouldBeMergedAndSet == Boolean.FALSE) {
target.postRemove = null;
}
}
}
{
Boolean preUpdateShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, (leftObject.preUpdate!= null), (rightObject.preUpdate!= null));
if (preUpdateShouldBeMergedAndSet == Boolean.TRUE) {
PreUpdate lhsPreUpdate;
lhsPreUpdate = leftObject.getPreUpdate();
PreUpdate rhsPreUpdate;
rhsPreUpdate = rightObject.getPreUpdate();
PreUpdate mergedPreUpdate = ((PreUpdate) strategy.merge(LocatorUtils.property(leftLocator, "preUpdate", lhsPreUpdate), LocatorUtils.property(rightLocator, "preUpdate", rhsPreUpdate), lhsPreUpdate, rhsPreUpdate, (leftObject.preUpdate!= null), (rightObject.preUpdate!= null)));
target.setPreUpdate(mergedPreUpdate);
} else {
if (preUpdateShouldBeMergedAndSet == Boolean.FALSE) {
target.preUpdate = null;
}
}
}
{
Boolean postUpdateShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, (leftObject.postUpdate!= null), (rightObject.postUpdate!= null));
if (postUpdateShouldBeMergedAndSet == Boolean.TRUE) {
PostUpdate lhsPostUpdate;
lhsPostUpdate = leftObject.getPostUpdate();
PostUpdate rhsPostUpdate;
rhsPostUpdate = rightObject.getPostUpdate();
PostUpdate mergedPostUpdate = ((PostUpdate) strategy.merge(LocatorUtils.property(leftLocator, "postUpdate", lhsPostUpdate), LocatorUtils.property(rightLocator, "postUpdate", rhsPostUpdate), lhsPostUpdate, rhsPostUpdate, (leftObject.postUpdate!= null), (rightObject.postUpdate!= null)));
target.setPostUpdate(mergedPostUpdate);
} else {
if (postUpdateShouldBeMergedAndSet == Boolean.FALSE) {
target.postUpdate = null;
}
}
}
{
Boolean postLoadShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, (leftObject.postLoad!= null), (rightObject.postLoad!= null));
if (postLoadShouldBeMergedAndSet == Boolean.TRUE) {
PostLoad lhsPostLoad;
lhsPostLoad = leftObject.getPostLoad();
PostLoad rhsPostLoad;
rhsPostLoad = rightObject.getPostLoad();
PostLoad mergedPostLoad = ((PostLoad) strategy.merge(LocatorUtils.property(leftLocator, "postLoad", lhsPostLoad), LocatorUtils.property(rightLocator, "postLoad", rhsPostLoad), lhsPostLoad, rhsPostLoad, (leftObject.postLoad!= null), (rightObject.postLoad!= null)));
target.setPostLoad(mergedPostLoad);
} else {
if (postLoadShouldBeMergedAndSet == Boolean.FALSE) {
target.postLoad = null;
}
}
}
{
Boolean attributesShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, (leftObject.attributes!= null), (rightObject.attributes!= null));
if (attributesShouldBeMergedAndSet == Boolean.TRUE) {
Attributes lhsAttributes;
lhsAttributes = leftObject.getAttributes();
Attributes rhsAttributes;
rhsAttributes = rightObject.getAttributes();
Attributes mergedAttributes = ((Attributes) strategy.merge(LocatorUtils.property(leftLocator, "attributes", lhsAttributes), LocatorUtils.property(rightLocator, "attributes", rhsAttributes), lhsAttributes, rhsAttributes, (leftObject.attributes!= null), (rightObject.attributes!= null)));
target.setAttributes(mergedAttributes);
} else {
if (attributesShouldBeMergedAndSet == Boolean.FALSE) {
target.attributes = null;
}
}
}
{
Boolean clazzShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, (leftObject.clazz!= null), (rightObject.clazz!= null));
if (clazzShouldBeMergedAndSet == Boolean.TRUE) {
String lhsClazz;
lhsClazz = leftObject.getClazz();
String rhsClazz;
rhsClazz = rightObject.getClazz();
String mergedClazz = ((String) strategy.merge(LocatorUtils.property(leftLocator, "clazz", lhsClazz), LocatorUtils.property(rightLocator, "clazz", rhsClazz), lhsClazz, rhsClazz, (leftObject.clazz!= null), (rightObject.clazz!= null)));
target.setClazz(mergedClazz);
} else {
if (clazzShouldBeMergedAndSet == Boolean.FALSE) {
target.clazz = null;
}
}
}
{
Boolean accessShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, (leftObject.access!= null), (rightObject.access!= null));
if (accessShouldBeMergedAndSet == Boolean.TRUE) {
String lhsAccess;
lhsAccess = leftObject.getAccess();
String rhsAccess;
rhsAccess = rightObject.getAccess();
String mergedAccess = ((String) strategy.merge(LocatorUtils.property(leftLocator, "access", lhsAccess), LocatorUtils.property(rightLocator, "access", rhsAccess), lhsAccess, rhsAccess, (leftObject.access!= null), (rightObject.access!= null)));
target.setAccess(mergedAccess);
} else {
if (accessShouldBeMergedAndSet == Boolean.FALSE) {
target.access = null;
}
}
}
{
Boolean metadataCompleteShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, (leftObject.metadataComplete!= null), (rightObject.metadataComplete!= null));
if (metadataCompleteShouldBeMergedAndSet == Boolean.TRUE) {
Boolean lhsMetadataComplete;
lhsMetadataComplete = leftObject.isMetadataComplete();
Boolean rhsMetadataComplete;
rhsMetadataComplete = rightObject.isMetadataComplete();
Boolean mergedMetadataComplete = ((Boolean) strategy.merge(LocatorUtils.property(leftLocator, "metadataComplete", lhsMetadataComplete), LocatorUtils.property(rightLocator, "metadataComplete", rhsMetadataComplete), lhsMetadataComplete, rhsMetadataComplete, (leftObject.metadataComplete!= null), (rightObject.metadataComplete!= null)));
target.setMetadataComplete(mergedMetadataComplete);
} else {
if (metadataCompleteShouldBeMergedAndSet == Boolean.FALSE) {
target.metadataComplete = null;
}
}
}
}
}
}