}
return resource;
}
private static Resource createModuleLoadCmd(ModuleLoadCmd o) {
ModuleLoadCmdResource moduleLoadCmdResource = new ModuleLoadCmdResource();
if (o != null){
moduleLoadCmdResource.setCmd(o.getCmd());
moduleLoadCmdResource.setAppDeploymentId(o.getAppDeploymentId());
moduleLoadCmdResource.setAppDeploymentResource((AppDeploymentResource)createApplicationDeployment(o.getApplicationDeployment()));
}
return moduleLoadCmdResource;
}