Fork me on GitHub

Nasdanika Bank

Nasdanika bank is a simple enough ECore bank domain model to use for demonstration purposes in different Nasdanika products.


P2 Repository

  • Archived

How to use

Eclipse editor

Install Nasdanika Bank feature.

New model

  • Select to New > Other > Nasdanika > Nasdanika Bank Model.
  • Select Bank as the root object. model

  • Download the model into an Eclipse project.
  • Double-click on the model to open the editor.

Load programmatically


import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.ResourceSet;
import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl;


ResourceSet resourceSet = new ResourceSetImpl();
resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put(Resource.Factory.Registry.DEFAULT_EXTENSION, new XMIResourceFactoryImpl());
resourceSet.getPackageRegistry().put(BankPackage.eNS_URI, BankPackage.eINSTANCE);
URI uri = URI.createPlatformPluginURI("", false);
Resource resource = resourceSet.getResource(uri, true);
Bank bank = (Bank) resource.getContents().iterator().next();

How to contribute

As an open source project we use the Fork and Pull Model. You can find more information about collaborative development at GitHub in this article - Collaborating with issues and pull requests.

When you contribute code, please make sure that the changes are clearly identifiable. In particular, avoid making non-functional changes in the code which you do not touch, e.g. auto-formatting of an entire compilation unit.