Class ExtensibleBinding
java.lang.Object
com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter
com.inductiveautomation.factorypmi.application.binding.AbstractQueryAdapter
com.inductiveautomation.factorypmi.application.binding.ExtensibleBinding
- All Implemented Interfaces:
Adapter
,Adapter.ValueHolder
,SearchablePropertyAdapter
,PropertyAdapter
,IQueryResponseListener
,PropertyChangeListener
,EventListener
public class ExtensibleBinding
extends AbstractQueryAdapter
implements IQueryResponseListener, PropertyChangeListener, SearchablePropertyAdapter
-
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
FieldsFields inherited from class com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter
appContext, isTargetPropertyDynamic, log, overlayOptOut, target, targetPropertyName, value, valueClass
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves an array of the interactions that this adapter depends on.void
void
void
handleQueryReturnedValue
(Object value) void
notifyQueryRunning
(boolean loading) void
protected Object
registerQuery
(int updateRate, boolean runOnce) void
setBindingKey
(String bindingKey) void
setParameters
(Map<String, QueryHolder> newParams) void
shutdown()
Notifies the adapter that it is becoming inactive, and should cease any polling/threaded activities.void
startup()
Notifies the adapter that it is becoming active, and should start any polling/threaded activities.Methods inherited from class com.inductiveautomation.factorypmi.application.binding.AbstractQueryAdapter
getPollingConfig, getPollingMode, getUpdateRate, isSerializableDataset, restartQuery, setPollingMode, setQValue, setSerializableDataset, setUpdateRate, shutdownQuery, startupQuery
Methods inherited from class com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter
connect, disconnect, getQValue, getTarget, getTargetDesc, getTargetFullPath, getTargetPropertyName, getValueClass, handleError, handleNullToPrimitive, initLogger, isDataUsed, isDataUsed, isOverlayOptOut, isTargetPropertyDynamic, isValid, isValueClassPrimitive, setOverlayOptOut, setSetterMethodName, setTarget, setTargetPropertyDynamic, setTargetPropertyName, setValue, setValueClass, 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
connect, disconnect, getTarget, isValid, setTarget
Methods inherited from interface com.inductiveautomation.factorypmi.application.gateway.IQueryResponseListener
getTargetFullPath
Methods inherited from interface com.inductiveautomation.factorypmi.application.binding.PropertyAdapter
getTargetPropertyName, setTargetPropertyName
-
Field Details
-
bindingKey
-
parameters
-
-
Constructor Details
-
ExtensibleBinding
public ExtensibleBinding()
-
-
Method Details
-
getBindingConfiguration
- Specified by:
getBindingConfiguration
in interfaceSearchablePropertyAdapter
-
propertyChange
- Specified by:
propertyChange
in interfacePropertyChangeListener
-
registerQuery
- Specified by:
registerQuery
in classAbstractQueryAdapter
-
getReferenceType
- Specified by:
getReferenceType
in interfacePropertyAdapter
-
getInteractions
Description copied from interface:Adapter
Retrieves an array of the interactions that this adapter depends on. An interaction descriptor describes an inter-component interaction.- Specified by:
getInteractions
in interfaceAdapter
-
startup
public void startup()Description copied from interface:Adapter
Notifies the adapter that it is becoming active, and should start any polling/threaded activities.- Specified by:
startup
in interfaceAdapter
- Overrides:
startup
in classAbstractPropertyAdapter
-
shutdown
public void shutdown()Description copied from interface:Adapter
Notifies the adapter that it is becoming inactive, and should cease any polling/threaded activities.- Specified by:
shutdown
in interfaceAdapter
- Overrides:
shutdown
in classAbstractPropertyAdapter
-
getBindingKey
-
setBindingKey
-
getParameters
-
setParameters
-
handleQueryReturnedError
- Specified by:
handleQueryReturnedError
in interfaceIQueryResponseListener
-
handleQueryReturnedNoRows
public void handleQueryReturnedNoRows()- Specified by:
handleQueryReturnedNoRows
in interfaceIQueryResponseListener
-
handleQueryReturnedValue
- Specified by:
handleQueryReturnedValue
in interfaceIQueryResponseListener
-
notifyQueryRunning
public void notifyQueryRunning(boolean loading) - Specified by:
notifyQueryRunning
in interfaceIQueryResponseListener
-