From dbaa32f307ac6aef073e21113bf912ed0286c79f Mon Sep 17 00:00:00 2001 From: kelvingoodson Date: Fri, 29 Jan 2010 16:59:48 +0000 Subject: 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 --- sandbox/kgoodson/jagg/src/main/java/services/PlanViewImpl.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sandbox/kgoodson/jagg/src/main/java') 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> 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()); } } -- cgit v1.2.3