You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ActionInfo.java 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /* $Id$
  2. * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
  3. * For details on use and redistribution please refer to the
  4. * LICENSE file included with these sources.
  5. */
  6. package org.apache.fop.plan;
  7. import java.util.Date;
  8. public class ActionInfo {
  9. Date startDate;
  10. Date endDate;
  11. String owner;
  12. String label;
  13. int type = TASK;
  14. public static final int TASK = 1;
  15. public static final int MILESTONE = 2;
  16. public static final int GROUPING = 3;
  17. String dependant = "";
  18. public void setType(int t) {
  19. type = t;
  20. }
  21. public int getType() {
  22. return type;
  23. }
  24. public void setLabel(String str) {
  25. label = str;
  26. }
  27. public void setOwner(String str) {
  28. owner = str;
  29. }
  30. public void setStartDate(Date sd) {
  31. startDate = sd;
  32. if (endDate == null) {
  33. endDate = startDate;
  34. }
  35. }
  36. public void setEndDate(Date ed) {
  37. endDate = ed;
  38. }
  39. public String getLabel() {
  40. return label;
  41. }
  42. public String getOwner() {
  43. return owner;
  44. }
  45. public Date getStartDate() {
  46. return startDate;
  47. }
  48. public Date getEndDate() {
  49. return endDate;
  50. }
  51. }