| /******************************************************************************* |
| * Copyright (c) 2018, 2020 Robert Bosch GmbH. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Robert Bosch GmbH - initial API and implementation |
| *******************************************************************************/ |
| |
| package templates |
| |
| import org.eclipse.app4mc.transformation.extensions.base.templates.AbstractTransformer |
| import org.osgi.service.component.annotations.Component |
| import org.osgi.service.component.annotations.ServiceScope |
| import org.eclipse.app4mc.transformation.extensions.base.templates.ISubTransformer |
| |
| @Component(scope=ServiceScope.PROTOTYPE, service=SWTransformer) |
| public class SWTransformer extends AbstractTransformer implements ISubTransformer{ |
| |
| String name |
| |
| public def String getName() { |
| return name; |
| } |
| |
| public def void setName(String name) { |
| this.name = name; |
| } |
| |
| } |