git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/branches/data-access/spd-model-library/3.2@142782 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
b9d46bfe93
commit
677676e42b
2
pom.xml
2
pom.xml
|
@ -8,7 +8,7 @@
|
||||||
</parent>
|
</parent>
|
||||||
<groupId>org.gcube.data.spd</groupId>
|
<groupId>org.gcube.data.spd</groupId>
|
||||||
<artifactId>spd-model</artifactId>
|
<artifactId>spd-model</artifactId>
|
||||||
<version>3.2.0-SNAPSHOT</version>
|
<version>3.2.1-SNAPSHOT</version>
|
||||||
<name>spd model</name>
|
<name>spd model</name>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
|
@ -0,0 +1,42 @@
|
||||||
|
package org.gcube.data.spd.model.service.types;
|
||||||
|
|
||||||
|
import javax.xml.bind.annotation.XmlAccessType;
|
||||||
|
import javax.xml.bind.annotation.XmlAccessorType;
|
||||||
|
import javax.xml.bind.annotation.XmlRootElement;
|
||||||
|
|
||||||
|
@XmlRootElement
|
||||||
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
|
public class MultiLocatorResponse {
|
||||||
|
|
||||||
|
private String inputLocator;
|
||||||
|
private String outputLocator;
|
||||||
|
private String endpointId;
|
||||||
|
|
||||||
|
protected MultiLocatorResponse(){}
|
||||||
|
|
||||||
|
public MultiLocatorResponse(String inputLocator, String outputLocator, String endpointId) {
|
||||||
|
super();
|
||||||
|
this.inputLocator = inputLocator;
|
||||||
|
this.outputLocator = outputLocator;
|
||||||
|
this.endpointId = endpointId;
|
||||||
|
}
|
||||||
|
public String getInputLocator() {
|
||||||
|
return inputLocator;
|
||||||
|
}
|
||||||
|
public String getOutputLocator() {
|
||||||
|
return outputLocator;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getEndpointId() {
|
||||||
|
return endpointId;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "MultiLocatorResponse [inputLocator=" + inputLocator
|
||||||
|
+ ", outputLocator=" + outputLocator + ", endpointId="
|
||||||
|
+ endpointId + "]";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,34 @@
|
||||||
|
package org.gcube.data.spd.model.service.types;
|
||||||
|
|
||||||
|
import javax.xml.bind.annotation.XmlAccessType;
|
||||||
|
import javax.xml.bind.annotation.XmlAccessorType;
|
||||||
|
import javax.xml.bind.annotation.XmlRootElement;
|
||||||
|
|
||||||
|
@XmlRootElement
|
||||||
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
|
public class SubmitJobResponse {
|
||||||
|
|
||||||
|
private String inputLocator;
|
||||||
|
private String jobId;
|
||||||
|
private String endpointId;
|
||||||
|
|
||||||
|
protected SubmitJobResponse(){}
|
||||||
|
|
||||||
|
public SubmitJobResponse(String inputLocator, String jobId, String endpointId) {
|
||||||
|
super();
|
||||||
|
this.inputLocator = inputLocator;
|
||||||
|
this.jobId = jobId;
|
||||||
|
this.endpointId = endpointId;
|
||||||
|
}
|
||||||
|
public String getInputLocator() {
|
||||||
|
return inputLocator;
|
||||||
|
}
|
||||||
|
public String getJobId() {
|
||||||
|
return jobId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getEndpointId() {
|
||||||
|
return endpointId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue