com.reprezen.genflow.rapidml.xsd.Helpers Maven / Gradle / Ivy
package com.reprezen.genflow.rapidml.xsd;
import com.reprezen.genflow.api.template.IGenTemplateContext;
import com.reprezen.genflow.api.zenmodel.ZenModelLocator;
import com.reprezen.genflow.common.xtend.ZenModelHelper;
import com.reprezen.genflow.rapidml.xsd.FeatureHelper;
import com.reprezen.genflow.rapidml.xsd.ParamsHelper;
import com.reprezen.genflow.rapidml.xsd.ReferenceLinkHelper;
import com.reprezen.genflow.rapidml.xsd.ResourceHelper;
import com.reprezen.genflow.rapidml.xsd.TraceHelper;
import com.reprezen.genflow.rapidml.xsd.XMLSchemaHelper;
import com.reprezen.rapidml.ZenModel;
@SuppressWarnings("all")
public class Helpers {
private final IGenTemplateContext context;
private ZenModel model;
private TraceHelper traceHelper;
private ParamsHelper paramsHelper;
private FeatureHelper featureHelper;
private ReferenceLinkHelper referenceLinkHelper;
private ResourceHelper resourceHelper;
private XMLSchemaHelper xmlSchemaHelper;
private ZenModelHelper zenModelHelper;
private ZenModelLocator zenModelLocator;
public Helpers(final IGenTemplateContext context, final ZenModel zenModel) {
this.context = context;
this.model = this.model;
}
public IGenTemplateContext getContext() {
return this.context;
}
public ParamsHelper getParamsHelper() {
ParamsHelper _elvis = null;
if (this.paramsHelper != null) {
_elvis = this.paramsHelper;
} else {
ParamsHelper _paramsHelper = new ParamsHelper(this);
_elvis = (this.paramsHelper = _paramsHelper);
}
return _elvis;
}
public TraceHelper getTraceHelper() {
TraceHelper _elvis = null;
if (this.traceHelper != null) {
_elvis = this.traceHelper;
} else {
TraceHelper _traceHelper = new TraceHelper(this);
_elvis = (this.traceHelper = _traceHelper);
}
return _elvis;
}
public FeatureHelper getFeatureHelper() {
FeatureHelper _elvis = null;
if (this.featureHelper != null) {
_elvis = this.featureHelper;
} else {
FeatureHelper _featureHelper = new FeatureHelper(this);
_elvis = (this.featureHelper = _featureHelper);
}
return _elvis;
}
public ReferenceLinkHelper getReferecneLinkHelper() {
ReferenceLinkHelper _elvis = null;
if (this.referenceLinkHelper != null) {
_elvis = this.referenceLinkHelper;
} else {
ReferenceLinkHelper _referenceLinkHelper = new ReferenceLinkHelper(this);
_elvis = (this.referenceLinkHelper = _referenceLinkHelper);
}
return _elvis;
}
public ResourceHelper getResourceHelper() {
ResourceHelper _elvis = null;
if (this.resourceHelper != null) {
_elvis = this.resourceHelper;
} else {
ResourceHelper _resourceHelper = new ResourceHelper(this);
_elvis = (this.resourceHelper = _resourceHelper);
}
return _elvis;
}
public XMLSchemaHelper getXmlSchemaHelper() {
XMLSchemaHelper _elvis = null;
if (this.xmlSchemaHelper != null) {
_elvis = this.xmlSchemaHelper;
} else {
XMLSchemaHelper _xMLSchemaHelper = new XMLSchemaHelper(this);
_elvis = (this.xmlSchemaHelper = _xMLSchemaHelper);
}
return _elvis;
}
public ZenModelHelper getZenModelHelper() {
ZenModelHelper _elvis = null;
if (this.zenModelHelper != null) {
_elvis = this.zenModelHelper;
} else {
ZenModelHelper _zenModelHelper = new ZenModelHelper();
_elvis = (this.zenModelHelper = _zenModelHelper);
}
return _elvis;
}
public ZenModelLocator getZenModelLocator() {
ZenModelLocator _elvis = null;
if (this.zenModelLocator != null) {
_elvis = this.zenModelLocator;
} else {
ZenModelLocator _zenModelLocator = new ZenModelLocator(this.model);
_elvis = (this.zenModelLocator = _zenModelLocator);
}
return _elvis;
}
}