public abstract class PersistTrackTransformer<E,TR extends Track> extends TrackTransformer<E,TR>
curDateTime, trustEntityTimestamp
Constructor and Description |
---|
PersistTrackTransformer() |
PersistTrackTransformer(org.apache.commons.collections.Transformer persistTransformer) |
Modifier and Type | Method and Description |
---|---|
protected Consumer<TR> |
actionOnTrack()
Define a Custom action on track object
|
org.apache.commons.collections.Transformer |
getPersistTransformer() |
protected void |
persist(TR track)
Due to overriding concerns the persist mechanism is separated out
|
void |
setPersistTransformer(org.apache.commons.collections.Transformer persistTransformer) |
isTrustEntityTimestamp, setTrustEntityTimestamp, track, transform
public PersistTrackTransformer()
public PersistTrackTransformer(org.apache.commons.collections.Transformer persistTransformer)
protected Consumer<TR> actionOnTrack()
TrackTransformer
actionOnTrack
in class TrackTransformer<E,TR extends Track>
Consumer
of Track type protected void persist(TR track)
track
- as final Track
object to be persistedpublic org.apache.commons.collections.Transformer getPersistTransformer()
JPAPersistTransformer
public void setPersistTransformer(org.apache.commons.collections.Transformer persistTransformer)
JPAPersistTransformer
Copyright © 2018. All rights reserved.