Entity ent = Beans.createAndCopy(Entity.class, ActionForm).execute();
という感じで、BeansのcreateAndCopy()メソッドを使えばいいらしい。
内部的には、エンティティの型を作って、そこにコピーしてくれるとのこと。
参考
http://sastruts.seasar.org/featureReference.html#DataExchange
Entity ent = Beans.createAndCopy(Entity.class, ActionForm).execute();
という感じで、BeansのcreateAndCopy()メソッドを使えばいいらしい。
内部的には、エンティティの型を作って、そこにコピーしてくれるとのこと。
参考
http://sastruts.seasar.org/featureReference.html#DataExchange