}
return resource;
}
private static Resource createAppEnvironmentResource(AppEnvironment o) {
AppEnvironmentResource resource = new AppEnvironmentResource();
if (o != null){
resource.setDeploymentId(o.getDeploymentID());
resource.setName(o.getName());
resource.setValue(o.getValue());
resource.setAppDeploymentResource((AppDeploymentResource)createApplicationDeployment(o.getApplicationDeployment()));
}
return resource;
}