summaryrefslogtreecommitdiffstats
path: root/sandbox/kgoodson/jagg/src/main/java
diff options
context:
space:
mode:
authorkelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68>2010-01-29 16:59:48 +0000
committerkelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68>2010-01-29 16:59:48 +0000
commitdbaa32f307ac6aef073e21113bf912ed0286c79f (patch)
treeff21f90fcffc0578fba29bf0119296f1bcc2c4d4 /sandbox/kgoodson/jagg/src/main/java
parentf975c1096be5e21538ed0db775ac76e176fc48e5 (diff)
first version to show live jira data mixed in -- needs a bit of tidying
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@904556 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/kgoodson/jagg/src/main/java')
-rw-r--r--sandbox/kgoodson/jagg/src/main/java/services/PlanViewImpl.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/sandbox/kgoodson/jagg/src/main/java/services/PlanViewImpl.java b/sandbox/kgoodson/jagg/src/main/java/services/PlanViewImpl.java
index cca29fe7ae..1b71c9e66b 100644
--- a/sandbox/kgoodson/jagg/src/main/java/services/PlanViewImpl.java
+++ b/sandbox/kgoodson/jagg/src/main/java/services/PlanViewImpl.java
@@ -118,10 +118,13 @@ public class PlanViewImpl implements PlanView {
System.out.println(i.toString());
List<JAXBElement<?>> c = i.getContent();
for (JAXBElement<?> element : c) {
- if("status".equals(element.getName().getLocalPart())){
+ if("title".equals(element.getName().getLocalPart())) {
+ jd.setTitle((String)element.getValue());
+ }
+ else if("status".equals(element.getName().getLocalPart())){
jd.setStatus((String)element.getValue());
}
- if("responsible".equals(element.getName().getLocalPart())) {
+ else if("assignee".equals(element.getName().getLocalPart())) {
jd.setAssignedTo((String)element.getValue());
}
}