The next step is to map the Java classes and variables you just created to the Vocabulary entities in Corticon Studio. You need to import the JAR file that you just created.

  1. Switch perspective by clicking the Corticon Designer button at the top right of the screen:
    media/image7.png
  2. In the Project Explorer, expand Tutorial > Tutorial-Done, and then open Cargo.ecore.
  3. Enable Java Object Mapping by choosing:
  4. On the Java Object Mapping tab added to the Vocabulary root, click METADATA Import:
  5. In the Import Java Class Metadata window, select Cargo.jar:


  6. Click Next.
  7. Select cargoLibrary:
  8. Click Finish.
  9. Save the Vocabulary file.