jmri.jmrit.dispatcher
Class TrainInfo

Show UML class diagram
java.lang.Object
  extended by jmri.jmrit.dispatcher.TrainInfo

public class TrainInfo
extends Object

TrainInfo is a temporary object specifying New Train information just read from disk, or to be written to disk

Used in conjunction with TrainInfoFile.java to save and retrieve New Train information

When adding a new item of New Train information, modifications need to be made to TrainInfoFile.java and dispatcher-traininfo.DTD as well as this module.


Field Summary
(package private)  boolean autoRun
           
(package private)  String dccAddress
           
(package private)  int delayedRestart
           
(package private)  String delayedRestartTime
           
(package private)  int delayedStart
           
(package private)  String delaySensor
           
(package private)  String departureTimeHr
           
(package private)  String departureTimeMin
           
(package private)  String destinationBlockName
           
(package private) static org.slf4j.Logger log
           
(package private)  String maxSpeed
           
(package private)  String maxTrainLength
           
(package private)  String priority
           
(package private)  String rampRate
           
(package private) static ResourceBundle rb
           
(package private)  boolean resetWhenDone
           
(package private)  boolean resistanceWheels
           
(package private)  String restartDelaySensor
           
(package private)  boolean reverseAtEnd
           
(package private)  boolean runInReverse
           
(package private)  boolean soundDecoder
           
(package private)  String speedFactor
           
(package private)  String startBlockName
           
(package private)  boolean terminateWhenDone
           
(package private)  boolean trainFromRoster
           
(package private)  boolean trainFromTrains
           
(package private)  boolean trainFromUser
           
(package private)  boolean trainInTransit
           
(package private)  String trainName
           
(package private)  String trainType
           
(package private)  String transitName
           
 
Constructor Summary
TrainInfo()
           
 
Method Summary
protected  String getDCCAddress()
           
protected  int getDelayedRestart()
           
protected  int getDelayedStart()
           
protected  String getDelaySensor()
           
protected  String getDepartureTimeHr()
           
protected  String getDepartureTimeMin()
           
protected  String getDestinationBlockName()
           
protected  String getMaxSpeed()
           
protected  String getMaxTrainLength()
           
protected  String getPriority()
           
protected  String getRampRate()
           
protected  boolean getResetWhenDone()
           
protected  boolean getResistanceWheels()
           
protected  String getRestartDelaySensor()
           
protected  String getRestartDelayTime()
           
protected  boolean getReverseAtEnd()
           
protected  boolean getRunAuto()
           
protected  boolean getRunInReverse()
           
protected  boolean getSoundDecoder()
           
protected  String getSpeedFactor()
           
protected  String getStartBlockName()
           
protected  boolean getTerminateWhenDone()
           
protected  boolean getTrainFromRoster()
           
protected  boolean getTrainFromTrains()
           
protected  boolean getTrainFromUser()
           
protected  boolean getTrainInTransit()
           
protected  String getTrainName()
           
protected  String getTrainType()
           
protected  String getTransitName()
           
protected  void setDCCAddress(String s)
           
protected  void setDelayedRestart(int ds)
           
protected  void setDelayedStart(int ds)
           
protected  void setDelaySensor(String sen)
           
protected  void setDepartureTimeHr(String s)
           
protected  void setDepartureTimeMin(String s)
           
protected  void setDestinationBlockName(String s)
           
protected  void setMaxSpeed(String s)
           
protected  void setMaxTrainLength(String s)
           
protected  void setPriority(String s)
           
protected  void setRampRate(String s)
           
protected  void setResetWhenDone(boolean b)
           
protected  void setResistanceWheels(boolean b)
           
protected  void setRestartDelaySensor(String sen)
           
protected  void setRestartDelayTime(String s)
           
protected  void setReverseAtEnd(boolean b)
           
protected  void setRunAuto(boolean b)
           
protected  void setRunInReverse(boolean b)
           
protected  void setSoundDecoder(boolean b)
           
protected  void setSpeedFactor(String s)
          Access methods for automatic operation instance variables
protected  void setStartBlockName(String s)
           
protected  void setTerminateWhenDone(boolean b)
           
protected  void setTrainFromRoster(boolean b)
           
protected  void setTrainFromTrains(boolean b)
           
protected  void setTrainFromUser(boolean b)
           
protected  void setTrainInTransit(boolean b)
           
protected  void setTrainName(String s)
           
protected  void setTrainType(String s)
           
protected  void setTransitName(String s)
          Access methods for manual and automatic instance variables
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rb

static final ResourceBundle rb

transitName

String transitName

trainName

String trainName

dccAddress

String dccAddress

trainInTransit

boolean trainInTransit

startBlockName

String startBlockName

destinationBlockName

String destinationBlockName

trainFromRoster

boolean trainFromRoster

trainFromTrains

boolean trainFromTrains

trainFromUser

boolean trainFromUser

priority

String priority

autoRun

boolean autoRun

resetWhenDone

boolean resetWhenDone

reverseAtEnd

boolean reverseAtEnd

delayedStart

int delayedStart

departureTimeHr

String departureTimeHr

departureTimeMin

String departureTimeMin

delaySensor

String delaySensor

delayedRestart

int delayedRestart

restartDelaySensor

String restartDelaySensor

delayedRestartTime

String delayedRestartTime

trainType

String trainType

terminateWhenDone

boolean terminateWhenDone

speedFactor

String speedFactor

maxSpeed

String maxSpeed

rampRate

String rampRate

resistanceWheels

boolean resistanceWheels

runInReverse

boolean runInReverse

soundDecoder

boolean soundDecoder

maxTrainLength

String maxTrainLength

log

static org.slf4j.Logger log
Constructor Detail

TrainInfo

public TrainInfo()
Method Detail

setTransitName

protected void setTransitName(String s)
Access methods for manual and automatic instance variables


getTransitName

protected String getTransitName()

setTrainName

protected void setTrainName(String s)

getTrainName

protected String getTrainName()

setDCCAddress

protected void setDCCAddress(String s)

getDCCAddress

protected String getDCCAddress()

setTrainInTransit

protected void setTrainInTransit(boolean b)

getTrainInTransit

protected boolean getTrainInTransit()

setStartBlockName

protected void setStartBlockName(String s)

getStartBlockName

protected String getStartBlockName()

setDestinationBlockName

protected void setDestinationBlockName(String s)

getDestinationBlockName

protected String getDestinationBlockName()

setTrainFromRoster

protected void setTrainFromRoster(boolean b)

getTrainFromRoster

protected boolean getTrainFromRoster()

setTrainFromTrains

protected void setTrainFromTrains(boolean b)

getTrainFromTrains

protected boolean getTrainFromTrains()

setTrainFromUser

protected void setTrainFromUser(boolean b)

getTrainFromUser

protected boolean getTrainFromUser()

setTerminateWhenDone

protected void setTerminateWhenDone(boolean b)

getTerminateWhenDone

protected boolean getTerminateWhenDone()

setPriority

protected void setPriority(String s)

getPriority

protected String getPriority()

setRunAuto

protected void setRunAuto(boolean b)

getRunAuto

protected boolean getRunAuto()

setResetWhenDone

protected void setResetWhenDone(boolean b)

getResetWhenDone

protected boolean getResetWhenDone()

setReverseAtEnd

protected void setReverseAtEnd(boolean b)

getReverseAtEnd

protected boolean getReverseAtEnd()

setDelayedStart

protected void setDelayedStart(int ds)

getDelayedStart

protected int getDelayedStart()

setDepartureTimeHr

protected void setDepartureTimeHr(String s)

getDepartureTimeHr

protected String getDepartureTimeHr()

setDepartureTimeMin

protected void setDepartureTimeMin(String s)

getDepartureTimeMin

protected String getDepartureTimeMin()

setDelaySensor

protected void setDelaySensor(String sen)

getDelaySensor

protected String getDelaySensor()

setTrainType

protected void setTrainType(String s)

getTrainType

protected String getTrainType()

setDelayedRestart

protected void setDelayedRestart(int ds)

getDelayedRestart

protected int getDelayedRestart()

setRestartDelaySensor

protected void setRestartDelaySensor(String sen)

getRestartDelaySensor

protected String getRestartDelaySensor()

setRestartDelayTime

protected void setRestartDelayTime(String s)

getRestartDelayTime

protected String getRestartDelayTime()

setSpeedFactor

protected void setSpeedFactor(String s)
Access methods for automatic operation instance variables


getSpeedFactor

protected String getSpeedFactor()

setMaxSpeed

protected void setMaxSpeed(String s)

getMaxSpeed

protected String getMaxSpeed()

setRampRate

protected void setRampRate(String s)

getRampRate

protected String getRampRate()

setResistanceWheels

protected void setResistanceWheels(boolean b)

getResistanceWheels

protected boolean getResistanceWheels()

setRunInReverse

protected void setRunInReverse(boolean b)

getRunInReverse

protected boolean getRunInReverse()

setSoundDecoder

protected void setSoundDecoder(boolean b)

getSoundDecoder

protected boolean getSoundDecoder()

setMaxTrainLength

protected void setMaxTrainLength(String s)

getMaxTrainLength

protected String getMaxTrainLength()


Copyright © 1997-2014 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads