Package gda.px.sampleChanger
Class SampleChangerAction
java.lang.Object
gda.px.sampleChanger.SampleChangerAction
- All Implemented Interfaces:
Serializable
A message object for Sample Changers to use to describe completed actions to their IObservers. To provide more
information than simply state.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe action which a SampleChangerAction representsstatic enumDescribe the possible outcomes of the action -
Constructor Summary
ConstructorsConstructorDescriptionSampleChangerAction(int container, int sample, SampleChangerAction.Action action, SampleChangerAction.Status status) -
Method Summary
Modifier and TypeMethodDescriptionintintvoidsetAction(SampleChangerAction.Action action) voidsetContainer(int container) voidsetSample(int sample) voidsetStatus(SampleChangerAction.Status status)
-
Constructor Details
-
SampleChangerAction
public SampleChangerAction() -
SampleChangerAction
public SampleChangerAction(int container, int sample, SampleChangerAction.Action action, SampleChangerAction.Status status) - Parameters:
container-sample-action-status-
-
-
Method Details
-
getContainer
public int getContainer()- Returns:
- Returns the container.
-
setContainer
public void setContainer(int container) - Parameters:
container- The container to set.
-
getSample
public int getSample()- Returns:
- Returns the sample.
-
setSample
public void setSample(int sample) - Parameters:
sample- The sample to set.
-
getAction
- Returns:
- Returns the action.
-
setAction
- Parameters:
action- The action to set.
-
getStatus
- Returns:
- Returns the status.
-
setStatus
- Parameters:
status- The status to set.
-