public class Activity extends StatusMessage
Modifier and Type | Class and Description |
---|---|
static class |
Activity.Phase |
Constructor and Description |
---|
Activity() |
Activity(java.lang.String name,
java.lang.String startTaskID,
java.lang.String endTaskID,
java.lang.String from,
java.lang.String to,
java.lang.String duration) |
Activity(XNode node) |
Modifier and Type | Method and Description |
---|---|
boolean |
addReservation(Reservation r) |
void |
fromXNode(XNode node) |
java.lang.String |
getDuration() |
long |
getDurationMSecs() |
java.lang.String |
getEndTaskID() |
java.lang.String |
getFrom() |
long |
getFromAsLong() |
java.lang.String |
getName() |
java.lang.String |
getPhase() |
java.util.List<XNode> |
getRelationList() |
java.util.List<Reservation> |
getReservationList() |
java.lang.String |
getStartTaskID() |
java.lang.String |
getTo() |
long |
getToAsLong() |
java.util.List<XNode> |
getTransferList() |
java.lang.String |
getType() |
boolean |
hasErrors() |
boolean |
hasReservation() |
boolean |
hasValidPhase() |
boolean |
isEOU() |
boolean |
isSOU() |
boolean |
removeReservation(Reservation r) |
boolean |
reservationsHaveErrors() |
void |
setDuration(java.lang.String duration) |
void |
setEndTaskID(java.lang.String id) |
void |
setFrom(java.lang.String from) |
void |
setName(java.lang.String name) |
void |
setPhase(java.lang.String phase) |
void |
setRelationList(java.util.List<XNode> list) |
void |
setReservationList(java.util.List<Reservation> list) |
void |
setStartTaskID(java.lang.String id) |
void |
setTo(java.lang.String to) |
void |
setTransferList(java.util.List<XNode> list) |
void |
setType(java.lang.String type) |
java.lang.String |
toXML() |
XNode |
toXNode() |
addAttributes, getError, getWarning, hasError, hasMessage, hasWarning, setError, setWarning, toXNode
public Activity()
public Activity(java.lang.String name, java.lang.String startTaskID, java.lang.String endTaskID, java.lang.String from, java.lang.String to, java.lang.String duration)
public Activity(XNode node)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getType()
public void setType(java.lang.String type)
public java.lang.String getStartTaskID()
public void setStartTaskID(java.lang.String id)
public java.lang.String getEndTaskID()
public void setEndTaskID(java.lang.String id)
public java.lang.String getPhase()
public void setPhase(java.lang.String phase)
public boolean hasValidPhase()
public boolean isSOU()
public boolean isEOU()
public java.lang.String getFrom()
public void setFrom(java.lang.String from)
public long getFromAsLong()
public java.lang.String getTo()
public void setTo(java.lang.String to)
public long getToAsLong()
public java.lang.String getDuration()
public void setDuration(java.lang.String duration)
public long getDurationMSecs()
public java.util.List<Reservation> getReservationList()
public void setReservationList(java.util.List<Reservation> list)
public boolean addReservation(Reservation r)
public boolean removeReservation(Reservation r)
public boolean hasReservation()
public java.util.List<XNode> getRelationList()
public void setRelationList(java.util.List<XNode> list)
public java.util.List<XNode> getTransferList()
public void setTransferList(java.util.List<XNode> list)
public boolean hasErrors()
public boolean reservationsHaveErrors()
public java.lang.String toXML()
public XNode toXNode()
public void fromXNode(XNode node)
fromXNode
in class StatusMessage
Copyright © 2004-2014 The YAWL Foundation.