MotechEventTransformer¶
-
public class
MotechEventTransformer¶ Transforms
MotechEventby settings its UUID.
Methods¶
transform¶
-
public MotechEvent
transform(MotechEvent motechEvent)¶ Updates the motechEvent’s
UUIDwith a random value if it is null, otherwise it does not change it.Parameters: - motechEvent – the motechEvent to be updated
Returns: the motechEvent after being updated
See also:
java.util.UUID.randomUUID()