public static String getNativeComponentNameForComponent(org.eclipse.uml2.uml.Class c) { org.eclipse.papyrus.RobotML.System sys = org.eclipse.uml2.uml.util.UMLUtil.getStereotypeApplication( c, org.eclipse.papyrus.RobotML.System.class); if (sys == null) { return null; } return sys.getLibraryComponentName(); }
public static Boolean hasNativeImplementation(org.eclipse.uml2.uml.Class c) { org.eclipse.papyrus.RobotML.System sys = org.eclipse.uml2.uml.util.UMLUtil.getStereotypeApplication( c, org.eclipse.papyrus.RobotML.System.class); if (sys == null) { return false; } return sys.isNative(); }