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

net.ibizsys.model.util.merger.PSModelMergerBase Maven / Gradle / Ivy

There is a newer version: 8.1.0.559
Show newest version
package net.ibizsys.model.util.merger;

import com.fasterxml.jackson.databind.node.ObjectNode;

public abstract class PSModelMergerBase implements IPSModelMerger {

	@Override
	public void merge(IPSModelMergeContext iPSModelMergeContext, ObjectNode objectNode, ObjectNode mergeObjectNode) throws Exception {
		if(!iPSModelMergeContext.logMerge(objectNode, null)) {
			return ;
		}
		this.onMerge(iPSModelMergeContext, objectNode, mergeObjectNode);
	}
	
	protected  void onMerge(IPSModelMergeContext iPSModelMergeContext, ObjectNode objectNode, ObjectNode mergeObjectNode) throws Exception{
		
	}
	

	protected boolean isEnableMergeChild(IPSModelMergeContext iPSModelMergeContext, String strFieldName) {
		return true;
	}
	
//	public Class getPSModelType() {
//		return null;
//	}
}
	





© 2015 - 2024 Weber Informatics LLC | Privacy Policy