com.tractrac.clientmodule
Class Route

java.lang.Object
  extended by com.tractrac.clientmodule.details.Attachments
      extended by com.tractrac.clientmodule.details.IdBase
          extended by com.tractrac.clientmodule.details.IdBaseNamed
              extended by 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 com.tractrac.clientmodule.details.IdBaseNamed
getName, toString
 
Methods inherited from class com.tractrac.clientmodule.details.IdBase
equals, getId, hashCode
 
Methods inherited from class com.tractrac.clientmodule.details.Attachments
getAttachment, setAttachment
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

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.