[New] Added StrolchRootElement Service Argument and Result classes
This commit is contained in:
parent
6339f7df93
commit
7269a5f3b1
|
@ -0,0 +1,9 @@
|
|||
package li.strolch.service;
|
||||
|
||||
import li.strolch.model.StrolchRootElement;
|
||||
import li.strolch.service.api.ServiceArgument;
|
||||
|
||||
public class StrolchRootElementArgument extends ServiceArgument {
|
||||
private static final long serialVersionUID = 1L;
|
||||
public StrolchRootElement rootElement;
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
package li.strolch.service;
|
||||
|
||||
import li.strolch.model.StrolchRootElement;
|
||||
import li.strolch.service.api.ServiceResult;
|
||||
import li.strolch.service.api.ServiceResultState;
|
||||
|
||||
public class StrolchRootElementResult extends ServiceResult {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private StrolchRootElement rootElement;
|
||||
|
||||
public StrolchRootElementResult(StrolchRootElement rootElement) {
|
||||
super(ServiceResultState.SUCCESS);
|
||||
this.rootElement = rootElement;
|
||||
}
|
||||
|
||||
public StrolchRootElement getRootElement() {
|
||||
return this.rootElement;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue