gov.sns.xal.model.probe.resp.traj
Class ParticlePerturbProbeState

java.lang.Object
  |
  +--gov.sns.xal.model.probe.traj.ProbeState
        |
        +--gov.sns.xal.model.probe.resp.traj.ParticlePerturbProbeState
All Implemented Interfaces:
IArchive

public class ParticlePerturbProbeState
extends ProbeState


Field Summary
 
Fields inherited from class gov.sns.xal.model.probe.traj.ProbeState
STATE_LABEL
 
Constructor Summary
ParticlePerturbProbeState()
           
ParticlePerturbProbeState(ParticlePerturb probe)
          Create a ProbeState for the supplied probe.
 
Method Summary
protected  void addPropertiesTo(DataAdaptor container)
          Save the state information to a DataAdaptor interface.
 PhaseMatrix getResponse()
           
protected  void readPropertiesFrom(DataAdaptor container)
          Recover the state information from a DataAdaptor interface.
 java.lang.String toString()
          Return a textual representation of the ProbeState internal state.
 
Methods inherited from class gov.sns.xal.model.probe.traj.ProbeState
getElementId, getKineticEnergy, getPosition, getSpeciesCharge, getSpeciesRestEnergy, getTime, load, readFrom, save, setElementId, setKineticEnergy, setPosition, setSpeciesCharge, setSpeciesRestEnergy, setTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParticlePerturbProbeState

public ParticlePerturbProbeState()

ParticlePerturbProbeState

public ParticlePerturbProbeState(ParticlePerturb probe)
Create a ProbeState for the supplied probe.

Parameters:
probe - Probe whose state to capture in a ProbeState
Method Detail

getResponse

public PhaseMatrix getResponse()

toString

public java.lang.String toString()
Description copied from class: ProbeState
Return a textual representation of the ProbeState internal state.

Overrides:
toString in class ProbeState
Returns:
string containing current ProbeState state

addPropertiesTo

protected void addPropertiesTo(DataAdaptor container)
Description copied from class: ProbeState
Save the state information to a DataAdaptor interface.

Overrides:
addPropertiesTo in class ProbeState
Parameters:
container - data sink with DataAdaptor interface

readPropertiesFrom

protected void readPropertiesFrom(DataAdaptor container)
                           throws ParsingException
Description copied from class: ProbeState
Recover the state information from a DataAdaptor interface.

Overrides:
readPropertiesFrom in class ProbeState
Parameters:
container - data source with DataAdaptor interface
Throws:
ParsingException - data source is malformatted