|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.jmrit.operations.locations.ScheduleItem
public class ScheduleItem
Represents one schedule item of a schedule
| Field Summary | |
|---|---|
protected String |
_comment
|
protected int |
_count
|
protected Location |
_destination
|
protected String |
_id
|
protected String |
_load
|
protected String |
_road
|
protected int |
_sequenceId
|
protected String |
_ship
|
protected Track |
_trackDestination
|
protected String |
_trainScheduleId
|
protected String |
_type
|
protected int |
_wait
|
static String |
COUNT_CHANGED_PROPERTY
|
static String |
DESTINATION_CHANGED_PROPERTY
|
static String |
DESTINATION_TRACK_CHANGED_PROPERTY
|
static String |
DISPOSE
|
static String |
LOAD_CHANGED_PROPERTY
|
static String |
ROAD_CHANGED_PROPERTY
|
static String |
TRAIN_SCHEDULE_CHANGED_PROPERTY
|
static String |
TYPE_CHANGED_PROPERTY
|
static String |
WAIT_CHANGED_PROPERTY
|
| Constructor Summary | |
|---|---|
ScheduleItem(Element e)
Construct this Entry from XML. |
|
ScheduleItem(String id,
String type)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String _id
protected int _sequenceId
protected String _trainScheduleId
protected String _type
protected String _road
protected String _load
protected String _ship
protected Location _destination
protected Track _trackDestination
protected int _count
protected int _wait
protected String _comment
public static final String TRAIN_SCHEDULE_CHANGED_PROPERTY
public static final String COUNT_CHANGED_PROPERTY
public static final String TYPE_CHANGED_PROPERTY
public static final String ROAD_CHANGED_PROPERTY
public static final String LOAD_CHANGED_PROPERTY
public static final String DESTINATION_CHANGED_PROPERTY
public static final String DESTINATION_TRACK_CHANGED_PROPERTY
public static final String WAIT_CHANGED_PROPERTY
public static final String DISPOSE
| Constructor Detail |
|---|
public ScheduleItem(String id,
String type)
id - type - car type to schedulepublic ScheduleItem(Element e)
e - Consist XML element| Method Detail |
|---|
public String getId()
public String getType()
public void setType(String type)
type - The car type requested.public String getTrainScheduleId()
public void setTrainScheduleId(String id)
public String getRoad()
public void setRoad(String road)
road - The car road requested.public void setLoad(String load)
load - The load name requested.public String getLoad()
public void setShip(String load)
load - The car load shipped.public String getShip()
public int getSequenceId()
public void setSequenceId(int sequence)
public int getCount()
public void setCount(int count)
public int getWait()
public void setWait(int wait)
public Location getDestination()
public void setDestination(Location destination)
public String getDestinationName()
public String getDestinationId()
public Track getDestinationTrack()
public void setDestinationTrack(Track track)
public String getDestinationTrackName()
public String getDestinationTrackId()
public void setComment(String comment)
public String getComment()
public void dispose()
public Element store()
public void propertyChange(PropertyChangeEvent e)
propertyChange in interface PropertyChangeListenerpublic void addPropertyChangeListener(PropertyChangeListener l)
public void removePropertyChangeListener(PropertyChangeListener l)
protected void firePropertyChange(String p,
Object old,
Object n)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||