1 29 package net.sourceforge.groboutils.pmti.v1.itf.impl; 30 31 import net.sourceforge.groboutils.pmti.v1.itf.ITestIssueRecord; 32 import net.sourceforge.groboutils.pmti.v1.itf.IIssueRecord; 33 import net.sourceforge.groboutils.pmti.v1.itf.ITestRecord; 34 35 36 37 38 45 public class DefaultTestIssueRecord implements ITestIssueRecord 46 { 47 48 private IIssueRecord ir; 49 private ITestRecord tr; 50 private String desc; 51 52 53 public DefaultTestIssueRecord( IIssueRecord ir, ITestRecord tr, String d ) 54 { 55 if (ir == null || tr == null) 56 { 57 throw new IllegalArgumentException ("no null arguments"); 58 } 59 60 this.ir = ir; 61 this.tr = tr; 62 this.desc = d; 63 } 64 65 68 public IIssueRecord getIssueRecord() 69 { 70 return this.ir; 71 } 72 73 74 77 public ITestRecord getTestRecord() 78 { 79 return this.tr; 80 } 81 82 83 87 public String getDescription() 88 { 89 return this.desc; 90 } 91 } 92 93 | Popular Tags |