Skip to content
Snippets Groups Projects
Commit 70936166 authored by Nicole Merkle's avatar Nicole Merkle
Browse files

No commit message

No commit message
parent 5907e547
No related branches found
No related tags found
No related merge requests found
...@@ -319,6 +319,7 @@ public class FrontendImpl implements IFrontend { ...@@ -319,6 +319,7 @@ public class FrontendImpl implements IFrontend {
// Getting UAPPReqAtom for validation // Getting UAPPReqAtom for validation
UAPPReqAtom atom = null; UAPPReqAtom atom = null;
List<String>atomValues = new ArrayList<String>();
PartRequirements pr = p.getPartRequirements(); PartRequirements pr = p.getPartRequirements();
for (ReqType rt : pr.getRequirement()) { for (ReqType rt : pr.getRequirement()) {
atom = new UAPPReqAtom(); atom = new UAPPReqAtom();
...@@ -330,7 +331,8 @@ public class FrontendImpl implements IFrontend { ...@@ -330,7 +331,8 @@ public class FrontendImpl implements IFrontend {
+ rt.getReqAtom().getReqAtomValue()); + rt.getReqAtom().getReqAtomValue());
// List<String> ll = new ArrayList<String>(); // List<String> ll = new ArrayList<String>();
// ll.add(rt.getReqAtom().getReqAtomValue()); // ll.add(rt.getReqAtom().getReqAtomValue());
atom.setValue(rt.getReqAtom().getReqAtomValue()); atomValues.add(rt.getReqAtom().getReqAtomValue());
// atom.setValue(rt.getReqAtom().getReqAtomValue());
if (rt.getReqAtom().getReqCriteria() != null) { if (rt.getReqAtom().getReqCriteria() != null) {
System.err.println("ReqAtom Criteria: " System.err.println("ReqAtom Criteria: "
+ rt.getReqAtom().getReqCriteria().value()); + rt.getReqAtom().getReqCriteria().value());
...@@ -352,6 +354,7 @@ public class FrontendImpl implements IFrontend { ...@@ -352,6 +354,7 @@ public class FrontendImpl implements IFrontend {
} }
ua.addReqAtoms(atom); ua.addReqAtoms(atom);
} }
atom.setValue(atomValues);
ua.setAppId(uapp.getApp().getAppId()); ua.setAppId(uapp.getApp().getAppId());
ua.setDescription(uapp.getApp().getDescription()); ua.setDescription(uapp.getApp().getDescription());
......
...@@ -107,11 +107,6 @@ ...@@ -107,11 +107,6 @@
<!-- <artifactId>slf4j-api</artifactId> --> <!-- <artifactId>slf4j-api</artifactId> -->
<!-- <version>1.7.3</version> --> <!-- <version>1.7.3</version> -->
<!-- </dependency> --> <!-- </dependency> -->
<dependency>
<groupId>org.universAAL.middleware</groupId>
<artifactId>mw.schemas</artifactId>
<version>2.0.0</version>
</dependency>
<!-- <dependency> --> <!-- <dependency> -->
<!-- <groupId>org.slf4j</groupId> --> <!-- <groupId>org.slf4j</groupId> -->
<!-- <artifactId>slf4j-simple</artifactId> --> <!-- <artifactId>slf4j-simple</artifactId> -->
...@@ -163,6 +158,12 @@ ...@@ -163,6 +158,12 @@
<version>2.0.1-SNAPSHOT</version> <version>2.0.1-SNAPSHOT</version>
</dependency> </dependency>
<dependency>
<groupId>org.universAAL.middleware</groupId>
<artifactId>mw.schemas</artifactId>
<version>2.0.1-SNAPSHOT</version>
<type>bundle</type>
</dependency>
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment