| java.lang.Object com.flexive.shared.workflow.Route
All known Subclasses: com.flexive.shared.workflow.RouteEdit,
Route | public class Route implements Serializable(Code) | | The route class represents a route connecing two steps within a workflow.
author: Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) |
Constructor Summary | |
public | Route(long id, long groupId, long fromStepId, long toStepId) Creates a new route between two steps of a workflow. | public | Route(Route route) | protected | Route() |
Method Summary | |
public boolean | equals(Object o) Checks if this route is equal to another. | public long | getFromStepId() Returns the source step of the route. | public long | getGroupId() Returns the group that the route belongs to. | public long | getId() Returns the unique id of the route. | public long | getToStepId() Returns the destination step of the route. | public int | hashCode() |
fromStepId | protected long fromStepId(Code) | | |
groupId | protected long groupId(Code) | | |
toStepId | protected long toStepId(Code) | | |
Route | public Route(long id, long groupId, long fromStepId, long toStepId)(Code) | | Creates a new route between two steps of a workflow.
Parameters: id - route ID Parameters: groupId - group ID Parameters: fromStepId - source step ID Parameters: toStepId - destination step ID |
Route | public Route(Route route)(Code) | | Copy constructor
Parameters: route - source route object |
Route | protected Route()(Code) | | Protected default constructor
|
equals | public boolean equals(Object o)(Code) | | Checks if this route is equal to another. The route ID is ignored,
since equality checks are supposed to occur inside the same workflow.
Parameters: o - the route this object should be compared to true if the route is equal to o |
getFromStepId | public long getFromStepId()(Code) | | Returns the source step of the route.
the source step of the route |
getGroupId | public long getGroupId()(Code) | | Returns the group that the route belongs to.
the group that the route belongs to. |
getId | public long getId()(Code) | | Returns the unique id of the route.
the id of the route |
getToStepId | public long getToStepId()(Code) | | Returns the destination step of the route.
the destination step of the route |
hashCode | public int hashCode()(Code) | |
|
|
|