jmri.jmrit.dispatcher
Class TrainInfo

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

public class TrainInfo
extends java.lang.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)  java.lang.String dccAddress
           
(package private)  int delayedRestart
           
(package private)  java.lang.String delayedRestartTime
           
(package private)  int delayedStart
           
(package private)  java.lang.String delaySensor
           
(package private)  java.lang.String departureTimeHr
           
(package private)  java.lang.String departureTimeMin
           
(package private)  java.lang.String destinationBlockName
           
(package private) static org.slf4j.Logger log
           
(package private)  java.lang.String maxSpeed
           
(package private)  java.lang.String maxTrainLength
           
(package private)  java.lang.String priority
           
(package private)  java.lang.String rampRate
           
(package private) static java.util.ResourceBundle rb
           
(package private)  boolean resetWhenDone
           
(package private)  boolean resistanceWheels
           
(package private)  java.lang.String restartDelaySensor
           
(package private)  boolean reverseAtEnd
           
(package private)  boolean runInReverse
           
(package private)  boolean soundDecoder
           
(package private)  java.lang.String speedFactor
           
(package private)  java.lang.String startBlockName
           
(package private)  boolean terminateWhenDone
           
(package private)  boolean trainFromRoster
           
(package private)  boolean trainFromTrains
           
(package private)  boolean trainFromUser
           
(package private)  boolean trainInTransit
           
(package private)  java.lang.String trainName
           
(package private)  java.lang.String trainType
           
(package private)  java.lang.String transitName
           
 
Constructor Summary
TrainInfo()
           
 
Method Summary
protected  java.lang.String getDCCAddress()
           
protected  int getDelayedRestart()
           
protected  int getDelayedStart()
           
protected  java.lang.String getDelaySensor()
           
protected  java.lang.String getDepartureTimeHr()
           
protected  java.lang.String getDepartureTimeMin()
           
protected  java.lang.String getDestinationBlockName()
           
protected  java.lang.String getMaxSpeed()
           
protected  java.lang.String getMaxTrainLength()
           
protected  java.lang.String getPriority()
           
protected  java.lang.String getRampRate()
           
protected  boolean getResetWhenDone()
           
protected  boolean getResistanceWheels()
           
protected  java.lang.String getRestartDelaySensor()
           
protected  java.lang.String getRestartDelayTime()
           
protected  boolean getReverseAtEnd()
           
protected  boolean getRunAuto()
           
protected  boolean getRunInReverse()
           
protected  boolean getSoundDecoder()
           
protected  java.lang.String getSpeedFactor()
           
protected  java.lang.String getStartBlockName()
           
protected  boolean getTerminateWhenDone()
           
protected  boolean getTrainFromRoster()
           
protected  boolean getTrainFromTrains()
           
protected  boolean getTrainFromUser()
           
protected  boolean getTrainInTransit()
           
protected  java.lang.String getTrainName()
           
protected  java.lang.String getTrainType()
           
protected  java.lang.String getTransitName()
           
protected  void setDCCAddress(java.lang.String s)
           
protected  void setDelayedRestart(int ds)
           
protected  void setDelayedStart(int ds)
           
protected  void setDelaySensor(java.lang.String sen)
           
protected  void setDepartureTimeHr(java.lang.String s)
           
protected  void setDepartureTimeMin(java.lang.String s)
           
protected  void setDestinationBlockName(java.lang.String s)
           
protected  void setMaxSpeed(java.lang.String s)
           
protected  void setMaxTrainLength(java.lang.String s)
           
protected  void setPriority(java.lang.String s)
           
protected  void setRampRate(java.lang.String s)
           
protected  void setResetWhenDone(boolean b)
           
protected  void setResistanceWheels(boolean b)
           
protected  void setRestartDelaySensor(java.lang.String sen)
           
protected  void setRestartDelayTime(java.lang.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(java.lang.String s)
          Access methods for automatic operation instance variables
protected  void setStartBlockName(java.lang.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(java.lang.String s)
           
protected  void setTrainType(java.lang.String s)
           
protected  void setTransitName(java.lang.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 java.util.ResourceBundle rb

transitName

java.lang.String transitName

trainName

java.lang.String trainName

dccAddress

java.lang.String dccAddress

trainInTransit

boolean trainInTransit

startBlockName

java.lang.String startBlockName

destinationBlockName

java.lang.String destinationBlockName

trainFromRoster

boolean trainFromRoster

trainFromTrains

boolean trainFromTrains

trainFromUser

boolean trainFromUser

priority

java.lang.String priority

autoRun

boolean autoRun

resetWhenDone

boolean resetWhenDone

reverseAtEnd

boolean reverseAtEnd

delayedStart

int delayedStart

departureTimeHr

java.lang.String departureTimeHr

departureTimeMin

java.lang.String departureTimeMin

delaySensor

java.lang.String delaySensor

delayedRestart

int delayedRestart

restartDelaySensor

java.lang.String restartDelaySensor

delayedRestartTime

java.lang.String delayedRestartTime

trainType

java.lang.String trainType

terminateWhenDone

boolean terminateWhenDone

speedFactor

java.lang.String speedFactor

maxSpeed

java.lang.String maxSpeed

rampRate

java.lang.String rampRate

resistanceWheels

boolean resistanceWheels

runInReverse

boolean runInReverse

soundDecoder

boolean soundDecoder

maxTrainLength

java.lang.String maxTrainLength

log

static org.slf4j.Logger log
Constructor Detail

TrainInfo

public TrainInfo()
Method Detail

setTransitName

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


getTransitName

protected java.lang.String getTransitName()

setTrainName

protected void setTrainName(java.lang.String s)

getTrainName

protected java.lang.String getTrainName()

setDCCAddress

protected void setDCCAddress(java.lang.String s)

getDCCAddress

protected java.lang.String getDCCAddress()

setTrainInTransit

protected void setTrainInTransit(boolean b)

getTrainInTransit

protected boolean getTrainInTransit()

setStartBlockName

protected void setStartBlockName(java.lang.String s)

getStartBlockName

protected java.lang.String getStartBlockName()

setDestinationBlockName

protected void setDestinationBlockName(java.lang.String s)

getDestinationBlockName

protected java.lang.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(java.lang.String s)

getPriority

protected java.lang.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(java.lang.String s)

getDepartureTimeHr

protected java.lang.String getDepartureTimeHr()

setDepartureTimeMin

protected void setDepartureTimeMin(java.lang.String s)

getDepartureTimeMin

protected java.lang.String getDepartureTimeMin()

setDelaySensor

protected void setDelaySensor(java.lang.String sen)

getDelaySensor

protected java.lang.String getDelaySensor()

setTrainType

protected void setTrainType(java.lang.String s)

getTrainType

protected java.lang.String getTrainType()

setDelayedRestart

protected void setDelayedRestart(int ds)

getDelayedRestart

protected int getDelayedRestart()

setRestartDelaySensor

protected void setRestartDelaySensor(java.lang.String sen)

getRestartDelaySensor

protected java.lang.String getRestartDelaySensor()

setRestartDelayTime

protected void setRestartDelayTime(java.lang.String s)

getRestartDelayTime

protected java.lang.String getRestartDelayTime()

setSpeedFactor

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


getSpeedFactor

protected java.lang.String getSpeedFactor()

setMaxSpeed

protected void setMaxSpeed(java.lang.String s)

getMaxSpeed

protected java.lang.String getMaxSpeed()

setRampRate

protected void setRampRate(java.lang.String s)

getRampRate

protected java.lang.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(java.lang.String s)

getMaxTrainLength

protected java.lang.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