|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.upb.swtpra05.group03.shuttle.shared.RoutingData
Contains a simplified path in form of a string array with the names of stations on the route
| Field Summary | |
static int |
PICKABACKIDENTIFIER
Identifier needed for generating the PickabackString and to recognize this class in a PickabackString |
private java.lang.String[] |
stationNames
No comment provided by developer, please add a comment to improve documentation. |
| Fields inherited from interface de.upb.swtpra05.group03.shuttle.shared.PickabackInterface |
MEMBERVARSEPARATOR, OBJECTSEPARATOR |
| Constructor Summary | |
RoutingData(int size)
Constructor for the RoutingData object |
|
RoutingData(java.lang.String[] tstationNames)
Constructor for the RoutingData object |
|
| Method Summary | |
static RoutingData |
createRoutingDataFromPickaback(java.lang.String s)
Decodes a previosly encoded RoutingData-Pickabackstring and returns the RoutingData |
int |
getNumberOfStationNames()
Gets the numberOfStationNames attribute of the RoutingData object |
java.lang.String |
getStationName(int n)
Gets the stationName attribute of the RoutingData object |
java.lang.String[] |
getStationNames()
Gets the stationNames attribute of the RoutingData object |
void |
setStationName(int n,
java.lang.String tStationName)
Sets the stationName attribute of the RoutingData object |
java.lang.String |
toPickabackString()
Description of the Method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int PICKABACKIDENTIFIER
private java.lang.String[] stationNames
| Constructor Detail |
public RoutingData(java.lang.String[] tstationNames)
tstationNames - Description of the Parameterpublic RoutingData(int size)
size - Description of the Parameter| Method Detail |
public java.lang.String getStationName(int n)
n - Description of the Parameter
public void setStationName(int n,
java.lang.String tStationName)
n - The new stationName valuetStationName - The new stationName valuepublic java.lang.String[] getStationNames()
public int getNumberOfStationNames()
public java.lang.String toPickabackString()
public static RoutingData createRoutingDataFromPickaback(java.lang.String s)
s - a string-encoded RoutingData
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||