E
- type of GANTT taskpublic class GanttTask<E extends GanttTask<E>>
extends java.lang.Object
Constructor and Description |
---|
GanttTask(java.util.Date starttime,
java.util.Date endtime)
Create a task with start-time and end-time
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttribute(java.lang.String attributename)
get the attribute value for the specified attribute name
|
java.util.Date |
getEndtime() |
GanttPlanning<E> |
getParent() |
int |
getSequence() |
int |
getSequenceInPlanning() |
java.util.Date |
getStarttime() |
void |
setAttribute(java.lang.String attributename,
java.lang.String attributevalue)
sets an attribute for the task
|
public GanttTask(java.util.Date starttime, java.util.Date endtime)
starttime
- start of the taskendtime
- end of the taskpublic int getSequence()
public void setAttribute(java.lang.String attributename, java.lang.String attributevalue)
attributename
- name of the attributeattributevalue
- value of the attributepublic GanttPlanning<E> getParent()
public int getSequenceInPlanning()
public java.util.Date getStarttime()
public java.util.Date getEndtime()
public java.lang.String getAttribute(java.lang.String attributename)
attributename
- name of the attribute name