Code:
BeanModel bean=BeanModelLookup.get().getFactory(User.class).createModel(user);
store.add(bean);