use of org.kie.workbench.common.dmn.webapp.kogito.marshaller.mapper.JSIName in project kie-wb-common by kiegroup.
the class WrapperUtils method getWrappedJSITLiteralExpression.
public static JSITLiteralExpression getWrappedJSITLiteralExpression(final JSITLiteralExpression toWrap, final String prefix, final String localPart) {
final JSITLiteralExpression toReturn = Js.uncheckedCast(JsUtils.getWrappedElement(toWrap));
final JSIName jsiName = JSITLiteralExpression.getJSIName();
updateJSIName(jsiName, prefix, localPart);
JsUtils.setNameOnWrapped(toReturn, jsiName);
return toReturn;
}
use of org.kie.workbench.common.dmn.webapp.kogito.marshaller.mapper.JSIName in project kie-wb-common by kiegroup.
the class WrapperUtils method getWrappedJSITAttachment.
public static JSITAttachment getWrappedJSITAttachment(final JSITAttachment attachment) {
final JSITAttachment toReturn = Js.uncheckedCast(JsUtils.getWrappedElement(attachment));
final JSIName jsiName = JSITAttachment.getJSIName();
updateJSIName(jsiName, "kie", "attachment");
JsUtils.setNameOnWrapped(toReturn, jsiName);
return toReturn;
}
use of org.kie.workbench.common.dmn.webapp.kogito.marshaller.mapper.JSIName in project kie-wb-common by kiegroup.
the class WrapperUtils method getWrappedJSITDRGElement.
public static JSITDRGElement getWrappedJSITDRGElement(final JSITDRGElement toWrap, final String prefix, final String localPart) {
final JSITDRGElement toReturn = Js.uncheckedCast(JsUtils.getWrappedElement(toWrap));
final JSIName jsiName = JSITDRGElement.getJSIName();
updateJSIName(jsiName, prefix, localPart);
JsUtils.setNameOnWrapped(toReturn, jsiName);
return toReturn;
}
use of org.kie.workbench.common.dmn.webapp.kogito.marshaller.mapper.JSIName in project kie-wb-common by kiegroup.
the class WrapperUtils method getWrappedJSITInvocation.
public static JSITInvocation getWrappedJSITInvocation(final JSITInvocation toWrap, final String prefix, final String localPart) {
final JSITInvocation toReturn = Js.uncheckedCast(JsUtils.getWrappedElement(toWrap));
final JSIName jsiName = JSITInvocation.getJSIName();
updateJSIName(jsiName, prefix, localPart);
JsUtils.setNameOnWrapped(toReturn, jsiName);
return toReturn;
}
use of org.kie.workbench.common.dmn.webapp.kogito.marshaller.mapper.JSIName in project kie-wb-common by kiegroup.
the class WrapperUtils method getWrappedJSITComponentsWidthsExtension.
public static JSITComponentsWidthsExtension getWrappedJSITComponentsWidthsExtension(final JSITComponentsWidthsExtension componentsWidthsExtension) {
final JSITComponentsWidthsExtension toReturn = Js.uncheckedCast(JsUtils.getWrappedElement(componentsWidthsExtension));
final JSIName jsiName = JSITComponentsWidthsExtension.getJSIName();
updateJSIName(jsiName, "kie", "ComponentsWidthsExtension");
JsUtils.setNameOnWrapped(toReturn, jsiName);
return toReturn;
}
Aggregations