userID.setName("userId"); //$NON-NLS-1$
userID.setEType(EcorePackage.eINSTANCE.getEString());
order.getEStructuralFeatures().add(userID);
// Now we create basic operations and add them to order
POperation createOp = UamFactory.eINSTANCE.createPOperation();
createOp.setId("create_operation"); //$NON-NLS-1$
createOp.setName("create"); //$NON-NLS-1$
POperation viewOp = UamFactory.eINSTANCE.createPOperation();
viewOp.setId("view_operation"); //$NON-NLS-1$
viewOp.setName("view"); //$NON-NLS-1$
POperation deleteOp = UamFactory.eINSTANCE.createPOperation();
deleteOp.setId("delete_operation"); //$NON-NLS-1$
deleteOp.setName("delete"); //$NON-NLS-1$
POperation updateOp = UamFactory.eINSTANCE.createPOperation();
updateOp.setId("update_operation"); //$NON-NLS-1$
updateOp.setName("update"); //$NON-NLS-1$
order.getEOperations().add(createOp);
order.getEOperations().add(viewOp);
order.getEOperations().add(deleteOp);
order.getEOperations().add(updateOp);