}
poMeta.addAttribute(am);
}
private void createMetaOperation(PObjectMetaInfo poMeta, POperation op, boolean withPermissions) {
OperationMetaInfo om = new OperationMetaInfo();
String description = EcoreUtil.getAnnotation(op, UamPackage.eNS_URI, IPObjectConstant.DESCRIPTION_ATTR);
om.setDescription(description);
om.setId(op.getId());
om.setName(op.getName());
poMeta.addOperation(om);
if (withPermissions) {
for (Object permission : op.getPermission()) {
ElementDescription ed = createElementDescription((Permission) permission);
om.addPermission(ed);
}
}
om.setObject(poMeta);
}