[New] Added StrolchRootElement Service Argument and Result classes

This commit is contained in:
Robert von Burg 2016-09-21 09:45:27 +02:00
parent 6339f7df93
commit 7269a5f3b1
2 changed files with 30 additions and 0 deletions

View File

@ -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;
}

View File

@ -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;
}
}