blob: 84a9717e3dc152b3be9158965c5c80043758dca2 [file] [log] [blame]
/*****************************************************************************
*
* Copyright (c) 2016 CEA LIST.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* CEA LIST Initial API and implementation
*
*****************************************************************************/
package org.eclipse.papyrus.moka.fmi.profile.custom;
import org.eclipse.papyrus.moka.fmi.fmiprofile.CS_FMU;
import org.eclipse.papyrus.moka.fmi.fmiprofile.CalculatedParameter;
import org.eclipse.papyrus.moka.fmi.fmiprofile.FMIPort;
import org.eclipse.papyrus.moka.fmi.fmiprofile.Independent;
import org.eclipse.papyrus.moka.fmi.fmiprofile.Local;
import org.eclipse.papyrus.moka.fmi.fmiprofile.ME_FMU;
import org.eclipse.papyrus.moka.fmi.fmiprofile.Parameter;
import org.eclipse.papyrus.moka.fmi.fmiprofile.Port;
import org.eclipse.papyrus.moka.fmi.fmiprofile.impl.FMIProfileFactoryImpl;
public class CustomFMIProfileFactory extends FMIProfileFactoryImpl {
@Override
public CS_FMU createCS_FMU() {
return new CustomCS_FMU();
}
public ME_FMU createME_FMU(){
return new CustomME_FMU();
}
@Override
public Local createLocal() {
return new CustomLocal();
}
@Override
public CalculatedParameter createCalculatedParameter() {
return new CustomCalculatedParameter();
}
@Override
public Parameter createParameter() {
return new CustomParameter();
}
@Override
public FMIPort createFMIPort() {
return new CustomFMIPort();
}
@Override
public Port createPort() {
return new CustomPort();
}
@Override
public Independent createIndependent() {
return new CustomIndependant();
}
}