Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
net.ibizsys.model.util.transpiler.bi.PSSysBICubeTranspiler Maven / Gradle / Ivy
package net.ibizsys.model.util.transpiler.bi;
import com.fasterxml.jackson.databind.node.ObjectNode;
import net.ibizsys.model.IPSModelObject;
import net.ibizsys.model.util.transpiler.IPSModelListTranspiler;
import net.ibizsys.model.util.transpiler.IPSModelTranspileContext;
import net.ibizsys.psmodel.core.util.IPSModel;
import static net.ibizsys.model.bi.PSSysBICubeImpl.*;
public class PSSysBICubeTranspiler extends net.ibizsys.model.util.transpiler.bi.PSSysBISchemeObjectTranspiler{
@Override
protected void onDecompile(IPSModelTranspileContext iPSModelTranspileContext, IPSModelObject iPSModelObject, IPSModel domain, boolean bFullMode) throws Exception {
if(!(iPSModelObject instanceof net.ibizsys.model.bi.PSSysBICubeImpl)){
super.onDecompile(iPSModelTranspileContext, iPSModelObject, domain, bFullMode);
return;
}
net.ibizsys.model.bi.PSSysBICubeImpl realPSModelObject = (net.ibizsys.model.bi.PSSysBICubeImpl)iPSModelObject;
this.setDomainValue(iPSModelTranspileContext, domain, "codename", realPSModelObject.getCodeName(), realPSModelObject, "getCodeName");
this.setDomainValue(iPSModelTranspileContext, domain, "bicubetag", realPSModelObject.getCubeTag(), realPSModelObject, "getCubeTag");
this.setDomainValue(iPSModelTranspileContext, domain, "bicubetag2", realPSModelObject.getCubeTag2(), realPSModelObject, "getCubeTag2");
this.setDomainValue(iPSModelTranspileContext, domain, "psdedatasetid", realPSModelObject.getPSDEDataSet(), realPSModelObject, "getPSDEDataSet");
this.setDomainValue(iPSModelTranspileContext, domain, "psdeid", realPSModelObject.getPSDataEntity(), realPSModelObject, "getPSDataEntity");
this.setDomainValue(iPSModelTranspileContext, domain, "pssysuniresid", realPSModelObject.getPSSysUniRes(), realPSModelObject, "getPSSysUniRes");
super.onDecompile(iPSModelTranspileContext, iPSModelObject, domain, bFullMode);
}
@Override
protected void onCompile(IPSModelTranspileContext iPSModelTranspileContext, IPSModel domain, ObjectNode objectNode) throws Exception {
this.setModelValue(iPSModelTranspileContext, objectNode, ATTR_GETCODENAME, domain, "codename", java.lang.String.class);
this.setModelValue(iPSModelTranspileContext, objectNode, ATTR_GETCUBETAG, domain, "bicubetag", java.lang.String.class);
this.setModelValue(iPSModelTranspileContext, objectNode, ATTR_GETCUBETAG2, domain, "bicubetag2", java.lang.String.class);
this.setModelValue(iPSModelTranspileContext, objectNode, ATTR_GETPSDEDATASET, domain, "psdedatasetid", net.ibizsys.model.dataentity.ds.IPSDEDataSet.class, false);
this.setModelValue(iPSModelTranspileContext, objectNode, ATTR_GETPSDATAENTITY, domain, "psdeid", net.ibizsys.model.dataentity.IPSDataEntity.class, false);
this.setModelValue(iPSModelTranspileContext, objectNode, ATTR_GETPSSYSUNIRES, domain, "pssysuniresid", net.ibizsys.model.security.IPSSysUniRes.class, false);
super.onCompile(iPSModelTranspileContext, domain, objectNode);
}
}