|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.jmrit.logix.BlockOrder
public class BlockOrder
An BlockOrder is a row in the warrant. It contains the directives the Engineer must do when in a block
| Constructor Summary | |
|---|---|
protected |
BlockOrder(BlockOrder bo)
|
|
BlockOrder(OBlock block)
|
|
BlockOrder(OBlock block,
String path,
String entry,
String exit)
Create BlockOrder. |
| Method Summary | |
|---|---|
OBlock |
getBlock()
|
protected long |
getEntranceSpeedChangeWait()
|
String |
getEntryName()
|
protected Portal |
getEntryPortal()
|
String |
getExitName()
|
protected Portal |
getExitPortal()
|
protected OPath |
getPath()
|
String |
getPathName()
|
protected String |
getPermissibleEntranceSpeed()
Check signals for entrance into next block. |
protected NamedBean |
getSignal()
|
protected String |
hash()
|
protected void |
setBlock(OBlock block)
|
protected void |
setEntryName(String name)
|
protected void |
setExitName(String name)
|
protected String |
setPath(Warrant warrant)
|
protected void |
setPathName(String path)
Set Path. |
String |
toString()
|
protected boolean |
validateOrder()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BlockOrder(OBlock block)
public BlockOrder(OBlock block,
String path,
String entry,
String exit)
block - path - MUST be a path in the blocKentry - MUST be a name of a Portal to the pathexit - MUST be a name of a Portal to the pathprotected BlockOrder(BlockOrder bo)
| Method Detail |
|---|
protected void setEntryName(String name)
public String getEntryName()
protected void setExitName(String name)
public String getExitName()
protected boolean validateOrder()
protected void setPathName(String path)
public String getPathName()
protected OPath getPath()
protected String setPath(Warrant warrant)
protected void setBlock(OBlock block)
public OBlock getBlock()
protected Portal getEntryPortal()
protected Portal getExitPortal()
protected String getPermissibleEntranceSpeed()
protected long getEntranceSpeedChangeWait()
protected NamedBean getSignal()
protected String hash()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||