Class DeleteCommand
- java.lang.Object
-
- cern.accsoft.steering.jmad.kernel.AbstractJMadExecutable
-
- cern.accsoft.steering.jmad.kernel.cmd.AbstractCommand
-
- cern.accsoft.steering.jmad.kernel.cmd.DeleteCommand
-
- All Implemented Interfaces:
Command
,JMadExecutable
public class DeleteCommand extends AbstractCommand
-
-
Constructor Summary
Constructors Constructor Description DeleteCommand(java.lang.String tableName)
a constructor to simplifz setting the table name
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
has to be implemented in order to return the name of the command (keyword);java.util.List<Parameter>
getParameters()
this may be overridden if the command has parameters.java.lang.String
getSequence()
java.lang.String
getTable()
void
setSequence(java.lang.String sequence)
void
setTable(java.lang.String table)
-
Methods inherited from class cern.accsoft.steering.jmad.kernel.cmd.AbstractCommand
compose, toString
-
Methods inherited from class cern.accsoft.steering.jmad.kernel.AbstractJMadExecutable
getOutputFile, getResultType, setOutputFile
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface cern.accsoft.steering.jmad.kernel.JMadExecutable
getOutputFile, getResultType, setOutputFile
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:Command
has to be implemented in order to return the name of the command (keyword);- Returns:
- the name of the command (MadX keyword)
-
getParameters
public java.util.List<Parameter> getParameters()
Description copied from class:AbstractCommand
this may be overridden if the command has parameters.- Specified by:
getParameters
in interfaceCommand
- Overrides:
getParameters
in classAbstractCommand
- Returns:
- all the parameter for the command
-
setTable
public void setTable(java.lang.String table)
-
getTable
public java.lang.String getTable()
-
setSequence
public void setSequence(java.lang.String sequence)
-
getSequence
public java.lang.String getSequence()
-
-