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.EdtUpdateValueNested classes/interfaces inherited from interface com.inductiveautomation.factorypmi.application.binding.Adapter
Adapter.ValueHolderNested 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.voidvoidvoidhandleQueryReturnedValue(Object value) voidnotifyQueryRunning(boolean loading) voidprotected ObjectregisterQuery(int updateRate, boolean runOnce) voidsetBindingKey(String bindingKey) voidsetParameters(Map<String, QueryHolder> newParams) voidshutdown()Notifies the adapter that it is becoming inactive, and should cease any polling/threaded activities.voidstartup()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, startupQueryMethods 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, useQualityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.inductiveautomation.factorypmi.application.binding.Adapter
connect, disconnect, getTarget, isValid, setTargetMethods inherited from interface com.inductiveautomation.factorypmi.application.gateway.IQueryResponseListener
getTargetFullPathMethods 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:
getBindingConfigurationin interfaceSearchablePropertyAdapter
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener
-
registerQuery
- Specified by:
registerQueryin classAbstractQueryAdapter
-
getReferenceType
- Specified by:
getReferenceTypein interfacePropertyAdapter
-
getInteractions
Description copied from interface:AdapterRetrieves an array of the interactions that this adapter depends on. An interaction descriptor describes an inter-component interaction.- Specified by:
getInteractionsin interfaceAdapter
-
startup
public void startup()Description copied from interface:AdapterNotifies the adapter that it is becoming active, and should start any polling/threaded activities.- Specified by:
startupin interfaceAdapter- Overrides:
startupin classAbstractPropertyAdapter
-
shutdown
public void shutdown()Description copied from interface:AdapterNotifies the adapter that it is becoming inactive, and should cease any polling/threaded activities.- Specified by:
shutdownin interfaceAdapter- Overrides:
shutdownin classAbstractPropertyAdapter
-
getBindingKey
-
setBindingKey
-
getParameters
-
setParameters
-
handleQueryReturnedError
- Specified by:
handleQueryReturnedErrorin interfaceIQueryResponseListener
-
handleQueryReturnedNoRows
public void handleQueryReturnedNoRows()- Specified by:
handleQueryReturnedNoRowsin interfaceIQueryResponseListener
-
handleQueryReturnedValue
- Specified by:
handleQueryReturnedValuein interfaceIQueryResponseListener
-
notifyQueryRunning
public void notifyQueryRunning(boolean loading) - Specified by:
notifyQueryRunningin interfaceIQueryResponseListener
-