}
return resource;
}
private static Resource createDataMovementProtocol(DataMovementProtocol o) {
DataMovementProtocolResource resource = new DataMovementProtocolResource();
if (o != null) {
resource.setResourceID(o.getResourceID());
resource.setDataMoveID(o.getDataMoveID());
resource.setDataMoveType(o.getDataMoveType());
resource.setComputeHostResource((ComputeResourceResource)createComputeResource(o.getComputeResource()));
}
return resource;
}