Class DefaultSymbolTable.DefaultParameter
- java.lang.Object
-
- jmri.jmrit.logixng.implementation.DefaultSymbolTable.DefaultParameter
-
- All Implemented Interfaces:
Module.Parameter
- Enclosing class:
- DefaultSymbolTable
public static class DefaultSymbolTable.DefaultParameter extends java.lang.Object implements Module.Parameter
-
-
Constructor Summary
Constructors Constructor Description DefaultParameter(java.lang.String name, boolean isInput, boolean isOutput)DefaultParameter(Module.Parameter parameter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()The name of the parameterbooleanisInput()Answer whenether or not the parameter is input to the module.booleanisOutput()Answer whenether or not the parameter is output to the module.voidsetIsInput(boolean value)voidsetIsOutput(boolean value)voidsetName(java.lang.String name)
-
-
-
Constructor Detail
-
DefaultParameter
public DefaultParameter(java.lang.String name, boolean isInput, boolean isOutput)
-
DefaultParameter
public DefaultParameter(Module.Parameter parameter)
-
-
Method Detail
-
getName
public java.lang.String getName()
The name of the parameter- Specified by:
getNamein interfaceModule.Parameter- Returns:
- the name
-
setName
public void setName(java.lang.String name)
-
isInput
public boolean isInput()
Answer whenether or not the parameter is input to the module.- Specified by:
isInputin interfaceModule.Parameter- Returns:
- true if the parameter is input, false otherwise
-
setIsInput
public void setIsInput(boolean value)
-
isOutput
public boolean isOutput()
Answer whenether or not the parameter is output to the module.- Specified by:
isOutputin interfaceModule.Parameter- Returns:
- true if the parameter is output, false otherwise
-
setIsOutput
public void setIsOutput(boolean value)
-
-