Class AbstractQueryAdapter
- java.lang.Object
-
- com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter
-
- com.inductiveautomation.factorypmi.application.binding.AbstractQueryAdapter
-
- All Implemented Interfaces:
Adapter
,Adapter.ValueHolder
,PropertyAdapter
- Direct Known Subclasses:
ExtensibleBinding
,NamedQueryAdapter
,SQLPropertyAdapter
,TagHistoryAdapter
public abstract class AbstractQueryAdapter extends AbstractPropertyAdapter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter
AbstractPropertyAdapter.EdtUpdateValue
-
Nested classes/interfaces inherited from interface com.inductiveautomation.factorypmi.application.binding.Adapter
Adapter.ValueHolder
-
Nested classes/interfaces inherited from interface com.inductiveautomation.factorypmi.application.binding.PropertyAdapter
PropertyAdapter.PAType
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter
appContext, isTargetPropertyDynamic, log, overlayOptOut, target, targetPropertyName, value, valueClass
-
-
Constructor Summary
Constructors Constructor Description AbstractQueryAdapter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected PollingConfig
getPollingConfig()
int
getPollingMode()
int
getUpdateRate()
boolean
isSerializableDataset()
protected abstract java.lang.Object
registerQuery(int updateRate, boolean runOnce)
protected void
restartQuery()
void
setPollingMode(int i)
void
setQValue(QualifiedValue value)
Sets this adapter's value.void
setSerializableDataset(boolean serializableDataset)
void
setUpdateRate(int i)
protected void
shutdownQuery()
protected void
startupQuery()
-
Methods inherited from class com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter
canUpdate, connect, disconnect, getQValue, getTarget, getTargetDesc, getTargetFullPath, getTargetPropertyName, getValueClass, handleError, handleNullToPrimitive, initLogger, isDataUsed, isDataUsed, isOverlayOptOut, isTargetPropertyDynamic, isValid, isValueClassPrimitive, setOverlayOptOut, setSetterMethodName, setTarget, setTargetPropertyDynamic, setTargetPropertyName, setValue, setValueClass, shutdown, startup, toString, updateQuality, updateTarget, updateValue, useQuality
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.inductiveautomation.factorypmi.application.binding.Adapter
getInteractions
-
Methods inherited from interface com.inductiveautomation.factorypmi.application.binding.PropertyAdapter
getReferenceType
-
-
-
-
Method Detail
-
startupQuery
protected void startupQuery()
-
registerQuery
protected abstract java.lang.Object registerQuery(int updateRate, boolean runOnce)
-
shutdownQuery
protected void shutdownQuery()
-
restartQuery
protected void restartQuery()
-
setQValue
public void setQValue(QualifiedValue value)
Description copied from class:AbstractPropertyAdapter
Sets this adapter's value. Doesn't push the value to the target or update the quality if the target is a quality monitor. For that, use updateValue()- Specified by:
setQValue
in interfaceAdapter.ValueHolder
- Overrides:
setQValue
in classAbstractPropertyAdapter
-
getPollingMode
public int getPollingMode()
-
setPollingMode
public void setPollingMode(int i)
-
getUpdateRate
public int getUpdateRate()
-
setUpdateRate
public void setUpdateRate(int i)
-
isSerializableDataset
public boolean isSerializableDataset()
-
setSerializableDataset
public void setSerializableDataset(boolean serializableDataset)
-
getPollingConfig
protected PollingConfig getPollingConfig()
-
-