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.String
getName()
The name of the parameterboolean
isInput()
Answer whenether or not the parameter is input to the module.boolean
isOutput()
Answer whenether or not the parameter is output to the module.void
setIsInput(boolean value)
void
setIsOutput(boolean value)
void
setName(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:
getName
in 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:
isInput
in 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:
isOutput
in interfaceModule.Parameter
- Returns:
- true if the parameter is output, false otherwise
-
setIsOutput
public void setIsOutput(boolean value)
-
-