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.BooleangetErrorsIn()java.lang.BooleangetErrorsOut()java.lang.BooleangetEven()java.lang.BooleangetExact()java.lang.StringgetMagnetName()java.lang.IntegergetMethod()java.lang.IntegergetModel()java.lang.StringgetName()has to be implemented in order to return the name of the command (keyword);java.lang.IntegergetNst()java.lang.DoublegetOffsetDeltaP()java.util.List<Parameter>getParameters()this may be overridden if the command has parameters.java.lang.BooleangetResplit()java.lang.DoublegetThin()java.lang.BooleangetTime()java.lang.DoublegetXbend()voidsetErrorsIn(java.lang.Boolean errorsIn)voidsetErrorsOut(java.lang.Boolean errorsOut)voidsetEven(java.lang.Boolean even)voidsetExact(java.lang.Boolean exact)voidsetMagnetName(java.lang.String magnetName)voidsetMethod(java.lang.Integer method)voidsetModel(java.lang.Integer model)voidsetNst(java.lang.Integer nst)voidsetOffsetDeltaP(java.lang.Double offsetDeltaP)voidsetResplit(java.lang.Boolean resplit)voidsetThin(java.lang.Double thin)voidsetTime(java.lang.Boolean time)voidsetXbend(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:Commandhas 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:AbstractCommandthis may be overridden if the command has parameters.- Specified by:
getParametersin interfaceCommand- Overrides:
getParametersin 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)
-
-