}
return gridftpEndpointResource;
}
private static Resource createJobSubmissionProtocol(JobSubmissionProtocol o) {
JobSubmissionProtocolResource resource = new JobSubmissionProtocolResource();
if (o != null){
resource.setResourceID(o.getResourceID());
resource.setSubmissionID(o.getSubmissionID());
resource.setJobType(o.getJobType());
resource.setComputeHostResource((ComputeResourceResource)createComputeResource(o.getComputeResource()));
}
return resource;
}