org.yawlfoundation.yawl.resourcing.calendar
Class CalendarEntry

java.lang.Object
  extended by org.yawlfoundation.yawl.resourcing.calendar.CalendarEntry
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
CalendarRow

public class CalendarEntry
extends Object
implements Cloneable

Author: Michael Adams Creation Date: 12/03/2010


Constructor Summary
CalendarEntry()
           
CalendarEntry(String resID, long start, long end, ResourceCalendar.Status st, int wload, String agt, String cmt)
           
CalendarEntry(String resID, long start, long end, String st, int wload, String agt, String cmt)
           
 
Method Summary
 CalendarEntry clone()
           
 String getAgent()
           
 long getChainID()
           
 String getComment()
           
 long getEndTime()
           
 long getEntryID()
           
 String getResourceID()
           
 long getStartTime()
           
 String getStatus()
           
 int getWorkload()
           
 boolean hasPeriod(long start, long end)
           
 void setAgent(String agt)
           
 void setChainID(long id)
           
 void setComment(String cmt)
           
 void setEndTime(long time)
           
 void setEntryID(long id)
           
 void setResourceID(String resID)
           
 void setStartTime(long time)
           
 void setStatus(String st)
           
 void setWorkload(int load)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarEntry

public CalendarEntry()

CalendarEntry

public CalendarEntry(String resID,
                     long start,
                     long end,
                     ResourceCalendar.Status st,
                     int wload,
                     String agt,
                     String cmt)

CalendarEntry

public CalendarEntry(String resID,
                     long start,
                     long end,
                     String st,
                     int wload,
                     String agt,
                     String cmt)
Method Detail

getEntryID

public long getEntryID()

setEntryID

public void setEntryID(long id)

getResourceID

public String getResourceID()

setResourceID

public void setResourceID(String resID)

getStartTime

public long getStartTime()

setStartTime

public void setStartTime(long time)

getEndTime

public long getEndTime()

setEndTime

public void setEndTime(long time)

hasPeriod

public boolean hasPeriod(long start,
                         long end)

getStatus

public String getStatus()

setStatus

public void setStatus(String st)

getWorkload

public int getWorkload()

setWorkload

public void setWorkload(int load)

getAgent

public String getAgent()

setAgent

public void setAgent(String agt)

getComment

public String getComment()

setComment

public void setComment(String cmt)

getChainID

public long getChainID()

setChainID

public void setChainID(long id)

clone

public CalendarEntry clone()
                    throws CloneNotSupportedException
Overrides:
clone in class Object
Throws:
CloneNotSupportedException


Copyright © 2004-2012 The YAWL Foundation.