01: package com.technoetic.xplanner.importer;
02:
03: import java.util.Date;
04:
05: /*
06: * $Header$
07: * $Revision: 540 $
08: * $Date: 2005-06-07 07:03:50 -0500 (Tue, 07 Jun 2005) $
09: *
10: * Copyright (c) 1999-2002 Jacques Morel. All rights reserved.
11: * Released under the Apache Software License, Version 1.1
12: */
13:
14: public class SpreadsheetStoryFactory {
15: public SpreadsheetStory newInstance(String title, String status,
16: double estimate) {
17: return new SpreadsheetStory(title, status, estimate);
18: }
19:
20: public SpreadsheetStory newInstance(Date storyEndDate,
21: String title, String status, double estimate, int priority) {
22: return new SpreadsheetStory(storyEndDate, title, status,
23: estimate, priority);
24: }
25:
26: public SpreadsheetStory newInstance() {
27: return new SpreadsheetStory("", "", 0);
28: }
29:
30: }
|