示例#1
0
 /**
  * Creates a new object from the data contained. This new object is supposed to be a copy for the
  * original object used as source for data extraction.
  */
 @Override
 public Object createObject() throws PersistenceException, ResourceInstantiationException {
   Object res = super.createObject();
   // now add the runtime parameters
   if (runtimeParams != null) {
     runtimeParams =
         PersistenceManager.getTransientRepresentation(
             runtimeParams, containingControllerName, initParamOverrides);
     ((Resource) res).setParameterValues((FeatureMap) runtimeParams);
   }
   return res;
 }