|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.jrefinery.data.TimeAllocation
public class TimeAllocation
| Field Summary | |
|---|---|
java.util.Date |
end
End Time |
java.util.Date |
start
Start Time |
| Constructor Summary | |
|---|---|
TimeAllocation(java.util.Date start,
java.util.Date end)
Contructor : to be used when no properties are associated with the event |
|
TimeAllocation(java.util.Date start,
java.util.Date end,
TaskProperties properties)
Contructor : To be used when a property is associated with the event |
|
TimeAllocation(TimeAllocation clone)
|
|
| Method Summary | |
|---|---|
java.lang.Long |
getDuration()
To get the duration of the event |
java.util.Date |
getEnd()
To get the end time |
long |
getLength()
To get the length of an event |
TaskProperties |
getProperties()
To get the properties to be associated with the event |
boolean |
getSelected()
To get the selected state of the event |
java.util.Date |
getStart()
To get the start time |
void |
setDuration(long time)
To set the duration of a task. |
void |
setEnd(java.util.Date end)
To set the end time. |
void |
setProperties(TaskProperties properties)
To set the property object |
void |
setSelected(boolean value)
To set the selected state of an event |
void |
setStart(java.util.Date start)
To set the start time |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.util.Date start
public java.util.Date end
| Constructor Detail |
|---|
public TimeAllocation(java.util.Date start,
java.util.Date end)
public TimeAllocation(java.util.Date start,
java.util.Date end,
TaskProperties properties)
public TimeAllocation(TimeAllocation clone)
| Method Detail |
|---|
public java.util.Date getStart()
public void setStart(java.util.Date start)
public java.util.Date getEnd()
public void setEnd(java.util.Date end)
public long getLength()
public TaskProperties getProperties()
public void setProperties(TaskProperties properties)
public java.lang.Long getDuration()
public void setDuration(long time)
public void setSelected(boolean value)
public boolean getSelected()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||