1 9 10 package org.netbeans.modules.tasklist.bugs.scarab; 11 12 import java.util.HashMap ; 13 import java.util.Map ; 14 import org.netbeans.modules.tasklist.bugs.BugQuery; 15 16 21 public final class ScarabBugQuery extends BugQuery 22 { 23 private final Map attributes = new HashMap (); 24 private final BugQuery bugQuery; 25 26 27 public ScarabBugQuery(final BugQuery query) 28 { 29 bugQuery = query; 30 } 31 32 public String getAttributeName(final String attribute) 33 { 34 return (String )attributes.get(attribute); 35 } 36 37 public void setAttributeName(final String tasklistAttribute, 38 final String scarabAttribute) 39 { 40 attributes.put(tasklistAttribute, scarabAttribute); 41 } 42 43 public String getSummary() { 44 return bugQuery.getSummary(); 45 } 46 47 public Integer getBugId() { 48 return bugQuery.getBugId(); 49 } 50 51 55 public java.lang.String getBugEngine() { 56 return bugQuery.getBugEngine(); 57 } 58 59 63 public void setBugEngine(java.lang.String mBugEngine) { 64 bugQuery.setBugEngine(mBugEngine); 65 } 66 67 71 public java.lang.String getQueryString() { 72 return bugQuery.getQueryString(); 73 } 74 75 79 public void setQueryString(java.lang.String mQueryString) { 80 bugQuery.setQueryString(mQueryString); 81 } 82 83 87 public java.lang.String getBaseUrl() { 88 return bugQuery.getBaseUrl(); 89 } 90 91 95 public void setBaseUrl(java.lang.String mBaseUrl) { 96 bugQuery.setBaseUrl(mBaseUrl); 97 } 98 } 99 | Popular Tags |