public class SoMChangedEvent extends EventObject
| Modifier and Type | Field and Description |
|---|---|
private String |
newSoM |
private String |
oldSoM |
private static long |
serialVersionUID |
source| Constructor and Description |
|---|
SoMChangedEvent(Object source,
String oldSoM,
String newSoM)
Constructs a new
SoMChangedEvent. |
| Modifier and Type | Method and Description |
|---|---|
String |
getNewSoM()
Returns the new system of measurement.
|
String |
getOldSoM()
Returns the old system of measurement.
|
getSource, toStringprivate static final long serialVersionUID
public SoMChangedEvent(Object source, String oldSoM, String newSoM)
SoMChangedEvent.source - object on which the Event initially occurredoldSoM - old system of measurementnewSoM - new system of measurement