public class TimeSlot
extends java.lang.Object
Constructor and Description |
---|
TimeSlot(CalendarEntry entry) |
TimeSlot(long from,
long to) |
TimeSlot(long from,
long to,
java.lang.String status) |
TimeSlot(long from,
long to,
java.lang.String status,
int percentAvailable) |
Modifier and Type | Method and Description |
---|---|
void |
fromXML(java.lang.String xml) |
int |
getAvailability() |
long |
getEnd() |
long |
getStart() |
java.lang.String |
getStatus() |
void |
setAvailability(int available) |
void |
setEnd(long end) |
void |
setStart(long start) |
void |
setStatus(java.lang.String status) |
java.lang.String |
toXML() |
XNode |
toXNode() |
public TimeSlot(long from, long to)
public TimeSlot(long from, long to, java.lang.String status)
public TimeSlot(long from, long to, java.lang.String status, int percentAvailable)
public TimeSlot(CalendarEntry entry)
public long getStart()
public void setStart(long start)
public long getEnd()
public void setEnd(long end)
public java.lang.String getStatus()
public void setStatus(java.lang.String status)
public int getAvailability()
public void setAvailability(int available)
public java.lang.String toXML()
public XNode toXNode()
public void fromXML(java.lang.String xml) throws java.lang.NumberFormatException
java.lang.NumberFormatException
Copyright © 2004-2014 The YAWL Foundation.