com.tractrac.clientmodule
Class Route
java.lang.Object
com.tractrac.clientmodule.details.Attachments
com.tractrac.clientmodule.details.IdBase
com.tractrac.clientmodule.details.IdBaseNamed
com.tractrac.clientmodule.Route
public class Route
- extends IdBaseNamed
Encapsulates data related to a Route in a TracTrac Event.
An instance of this class has a unique id and a name. Custom data may be attached to each
route instance.
Use Event.addRoute(java.util.UUID, java.lang.String)
to create a new Route.
- Version:
- 2.0
- Author:
- TracTrac
- See Also:
Event
|
Method Summary |
static AttKey |
newAttKey()
Creates a new (static) key to be used to set/get custom data related to routes. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
newAttKey
public static AttKey newAttKey()
- Creates a new (static) key to be used to set/get custom data related to routes.
- Returns:
- a new key.