}
return resource;
}
private static Resource createGlobusEndpoint(GlobusGKEndpoint o) {
GlobusGKEndpointResource resource = new GlobusGKEndpointResource();
if (o != null){
resource.setSubmissionID(o.getSubmissionID());
resource.setEndpoint(o.getEndpoint());
resource.setGlobusJobSubmissionResource((GlobusJobSubmissionResource)createGlobusJobSubmission(o.getGlobusSubmission()));
}
return resource;
}