1 package org.tigris.scarab.util.xmlissues; 2 3 48 49 import java.util.List ; 50 import java.util.ArrayList ; 51 52 import org.apache.commons.logging.Log; 53 import org.apache.commons.logging.LogFactory; 54 55 public class XmlIssue implements java.io.Serializable 56 { 57 private static final Log LOG = LogFactory.getLog(XmlIssue.class); 58 59 private Integer id = null; 60 private String artifactType = null; 61 private List activitySets = null; 62 63 public XmlIssue() 64 { 65 } 66 67 public Integer getId() 68 { 69 return id; 70 } 71 72 public void setId(Integer id) 73 { 74 LOG.debug("Issue.setId(): " + id); 75 this.id = id; 76 } 77 78 public String getArtifactType() 79 { 80 return artifactType; 81 } 82 83 public void setArtifactType(String name) 84 { 85 this.artifactType = name; 86 } 87 88 public List getActivitySets() 89 { 90 if (activitySets == null) 91 { 92 activitySets = new ArrayList (); 93 } 94 return activitySets; 95 } 96 97 public void addActivitySet(XmlActivitySet name) 98 { 99 if (activitySets == null) 100 { 101 activitySets = new ArrayList (); 102 } 103 activitySets.add(name); 104 } 105 } 106 | Popular Tags |