EAttribute attr = it.next();
createMetaAttribute(pm, attr);
}
for (Iterator<POperation> it = permission.getPOperation().iterator(); it.hasNext();) {
POperation pop = it.next();
ElementDescription ed = createElementDescription(pop);
pm.addOperation(ed);
}
for (Iterator<Role> it = EMFUtil.getRoles(permission).iterator(); it.hasNext();) {
Role role = it.next();
ElementDescription ed = createElementDescription(role);
pm.addRole(ed);
}
PObject po = permission.getPObject();
if (permission.getPOperation().isEmpty() && po != null) {
ElementDescription ed = createElementDescription(po);
pm.setPObjectDescription(ed);
}
return pm;
}