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_bucMagnetchannelSuite, 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_strPIdDIPOLE, 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, isPermanentaddBucket, getDesignField, getDfltField, getEffLength, getMagBucket, getNormField, getPolarity, getTangField, isCorrector, isHorizontal, isMagnet, isSkew, isVertical, setDfltField, setMagBucketchannelSuite, 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, writepublic 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 AcceleratorNodepublic void update(DataAdaptor adaptor)
update in interface DataListenerupdate in class AcceleratorNodeadaptor - The data provider.public boolean isPole(java.lang.String compPole)
MagnetisPole in interface MagnetTypeisPole in class MagnetcompPole - Comparison pole which should be one of MagnetType.polespublic int getOrientation()
getOrientation in interface MagnetTypegetOrientation in class Magnetpublic boolean isKindOf(java.lang.String compType)
isKindOf in interface ElementTypeisKindOf in class AcceleratorNodecompType - The type to compare against.