public class PermQuadrupole extends PermanentMagnet
PermanentMagnet.Property
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
HORIZONTAL_TYPE |
static java.lang.String |
s_strType |
protected java.lang.String |
type |
static java.lang.String |
VERTICAL_TYPE |
leff, m_bucMagnet
channelSuite, m_bolIsSoft, m_bolStatus, m_bolValid, m_bucAlign, m_bucAper, m_bucTwiss, m_dblLen, m_dblPos, m_dblS, m_mapAttrs, m_objAccel, m_seqParent, m_strEId, m_strId, m_strPId
DIPOLE, HORIZONTAL, NO_ORIENTATION, OCT, OCTUPOLE, poles, QUAD, QUADRUPOLE, SEXT, SEXTUPOLE, SOL, SOLENOID, VERTICAL
Constructor and Description |
---|
PermQuadrupole(java.lang.String strId)
PermQuadrupole constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getOrientation()
Get the orientation of the magnet as defined by MagnetType.
|
java.lang.String |
getType()
Override to provide the correct type signature per instance.
|
boolean |
isKindOf(java.lang.String compType)
Determine if this node is of the specified type.
|
boolean |
isPole(java.lang.String compPole)
Test if the magnet is of the specified pole type.
|
void |
update(DataAdaptor adaptor)
Update the instance with data from the data adaptor.
|
getDesignPropertyValue, getField, getFieldInt, getLivePropertyChannels, getLivePropertyValue, isPermanent
addBucket, getDesignField, getDfltField, getEffLength, getMagBucket, getNormField, getPolarity, getTangField, isCorrector, isHorizontal, isMagnet, isSkew, isVertical, setDfltField, setMagBucket
channelSuite, clear, dataLabel, findChannel, getAccelerator, getAlign, getAndConnectChannel, getAper, getBucket, getBuckets, getChannel, getEId, getHandles, getId, getLength, getParent, getPId, getPitchAngle, getPosition, getPrimaryAncestor, getRollAngle, getSDisplay, getSoftType, getStatus, getTwiss, getValid, getXOffset, getYawAngle, getYOffset, getZOffset, hasBucket, hasParent, lazilyGetAndConnect, removeFromParent, setAccelerator, setAlign, setAper, setLength, setParent, setPitchAngle, setPosition, setRollAngle, setSDisplay, setStatus, setTwiss, setValid, setXOffset, setYawAngle, setYOffset, setZOffset, toString, write
public static final java.lang.String s_strType
public static final java.lang.String HORIZONTAL_TYPE
public static final java.lang.String VERTICAL_TYPE
protected java.lang.String type
public PermQuadrupole(java.lang.String strId)
public java.lang.String getType()
getType
in class AcceleratorNode
public void update(DataAdaptor adaptor)
update
in interface DataListener
update
in class AcceleratorNode
adaptor
- The data provider.public boolean isPole(java.lang.String compPole)
Magnet
isPole
in interface MagnetType
isPole
in class Magnet
compPole
- Comparison pole which should be one of MagnetType.polespublic int getOrientation()
getOrientation
in interface MagnetType
getOrientation
in class Magnet
public boolean isKindOf(java.lang.String compType)
isKindOf
in interface ElementType
isKindOf
in class AcceleratorNode
compType
- The type to compare against.