Class PtcCreateLayoutCommand
- java.lang.Object
-
- cern.accsoft.steering.jmad.kernel.AbstractJMadExecutable
-
- cern.accsoft.steering.jmad.kernel.cmd.AbstractCommand
-
- cern.accsoft.steering.jmad.kernel.cmd.ptc.PtcCreateLayoutCommand
-
- All Implemented Interfaces:
Command
,JMadExecutable
public class PtcCreateLayoutCommand extends AbstractCommand
This class represents the madx-command to transfer the madx data to ptc: PTC_CREATE_LAYOUT
-
-
Constructor Summary
Constructors Constructor Description PtcCreateLayoutCommand()
the default constructor, which sets no valuesPtcCreateLayoutCommand(java.lang.Boolean time)
the constructor, which just sets the time-option
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
getErrorsIn()
java.lang.Boolean
getErrorsOut()
java.lang.Boolean
getEven()
java.lang.Boolean
getExact()
java.lang.String
getMagnetName()
java.lang.Integer
getMethod()
java.lang.Integer
getModel()
java.lang.String
getName()
has to be implemented in order to return the name of the command (keyword);java.lang.Integer
getNst()
java.lang.Double
getOffsetDeltaP()
java.util.List<Parameter>
getParameters()
this may be overridden if the command has parameters.java.lang.Boolean
getResplit()
java.lang.Double
getThin()
java.lang.Boolean
getTime()
java.lang.Double
getXbend()
void
setErrorsIn(java.lang.Boolean errorsIn)
void
setErrorsOut(java.lang.Boolean errorsOut)
void
setEven(java.lang.Boolean even)
void
setExact(java.lang.Boolean exact)
void
setMagnetName(java.lang.String magnetName)
void
setMethod(java.lang.Integer method)
void
setModel(java.lang.Integer model)
void
setNst(java.lang.Integer nst)
void
setOffsetDeltaP(java.lang.Double offsetDeltaP)
void
setResplit(java.lang.Boolean resplit)
void
setThin(java.lang.Double thin)
void
setTime(java.lang.Boolean time)
void
setXbend(java.lang.Double xbend)
-
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
-
-
-
-
Constructor Detail
-
PtcCreateLayoutCommand
public PtcCreateLayoutCommand()
the default constructor, which sets no values
-
PtcCreateLayoutCommand
public PtcCreateLayoutCommand(java.lang.Boolean time)
the constructor, which just sets the time-option- Parameters:
time
- determines how the time coordinate is treated by ptc. (see PTC_CREATE_LAYOUT)
-
-
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
-
getTime
public java.lang.Boolean getTime()
-
setTime
public void setTime(java.lang.Boolean time)
-
getModel
public java.lang.Integer getModel()
-
setModel
public void setModel(java.lang.Integer model)
-
getMethod
public java.lang.Integer getMethod()
-
setMethod
public void setMethod(java.lang.Integer method)
-
getNst
public java.lang.Integer getNst()
-
setNst
public void setNst(java.lang.Integer nst)
-
getExact
public java.lang.Boolean getExact()
-
setExact
public void setExact(java.lang.Boolean exact)
-
getOffsetDeltaP
public java.lang.Double getOffsetDeltaP()
-
setOffsetDeltaP
public void setOffsetDeltaP(java.lang.Double offsetDeltaP)
-
getErrorsOut
public java.lang.Boolean getErrorsOut()
-
setErrorsOut
public void setErrorsOut(java.lang.Boolean errorsOut)
-
getErrorsIn
public java.lang.Boolean getErrorsIn()
-
setErrorsIn
public void setErrorsIn(java.lang.Boolean errorsIn)
-
getMagnetName
public java.lang.String getMagnetName()
-
setMagnetName
public void setMagnetName(java.lang.String magnetName)
-
getResplit
public java.lang.Boolean getResplit()
-
setResplit
public void setResplit(java.lang.Boolean resplit)
-
getThin
public java.lang.Double getThin()
-
setThin
public void setThin(java.lang.Double thin)
-
getXbend
public java.lang.Double getXbend()
-
setXbend
public void setXbend(java.lang.Double xbend)
-
getEven
public java.lang.Boolean getEven()
-
setEven
public void setEven(java.lang.Boolean even)
-
-