public abstract class AbstractTransform extends Proxied.Abstract implements Transform
Proxied.Abstract
Constructor and Description |
---|
AbstractTransform() |
Modifier and Type | Method and Description |
---|---|
protected void |
addUpdate(PointValue pointValue,
Batch batch)
Adds an update to the point's store.
|
Optional<? extends Transform> |
getInstance(Point point)
Gets an appropriate instance of this transform for the point.
|
boolean |
isNullRemoves(Point point)
Asks if a null result should cause a removal in the store.
|
boolean |
setUp(Metadata metadata,
ProxyEntity proxyEntity)
Sets up the instance for action.
|
boolean |
setUp(Point point)
Sets up this instance.
|
boolean |
usesFetchedResult()
Asks if this transform needs the fetched result value.
|
getMetadata, getName, getParams, getProxyEntity, getThisLogger, tearDown
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, getParams, getProxyEntity, tearDown
public Optional<? extends Transform> getInstance(Point point)
getInstance
in interface Transform
point
- The point.public final boolean isNullRemoves(Point point)
isNullRemoves
in interface Transform
point
- The point.public boolean setUp(Point point)
This is called after the set up of the points relationships.
public boolean setUp(Metadata metadata, ProxyEntity proxyEntity)
setUp
in interface Proxied
setUp
in class Proxied.Abstract
metadata
- The metadata available to the current process.proxyEntity
- The proxy entity refering to the proxied.public boolean usesFetchedResult()
usesFetchedResult
in interface Transform
protected final void addUpdate(PointValue pointValue, Batch batch)
pointValue
- The point value.batch
- The current batch context.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.