Class UDTTagAdapter
java.lang.Object
com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter
com.inductiveautomation.factorypmi.application.binding.AbstractTagAdapter
com.inductiveautomation.factorypmi.application.binding.UDTTagAdapter
- All Implemented Interfaces:
Adapter
,Adapter.ValueHolder
,SearchablePropertyAdapter
,PropertyAdapter
- Direct Known Subclasses:
IndirectUDTTagAdapter
-
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.AbstractTagAdapter
bidirectional, fallbackDelay, tagPath, tagPathString
Fields inherited from class com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter
appContext, isTargetPropertyDynamic, overlayOptOut, target, targetPropertyName, value, valueClass
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
connect
(VisionClientContext appContext) Calls connect() on all interaction descriptorsprotected TagPath
This method returns the tag path to the UDT instance to subscribe to.protected void
initializeDefinition
(boolean forceUpdate) Grab the type definition for the target tag instance from the complex type manager.void
shutdown()
Notifies the adapter that it is becoming inactive, and should cease any polling/threaded activities.protected void
void
startup()
Notifies the adapter that it is becoming active, and should start any polling/threaded activities.protected void
Methods inherited from class com.inductiveautomation.factorypmi.application.binding.AbstractTagAdapter
_getTagPath, _setTagPath, getFallbackDelay, getInteractions, getReferenceType, getTagPathString, isBidirectional, setBidirectional, setFallbackDelay, setTagPathString
Methods inherited from class com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter
disconnect, getQValue, getTarget, getTargetDesc, getTargetFullPath, getTargetPropertyName, getValueClass, handleError, handleNullToPrimitive, initLogger, isDataUsed, isDataUsed, isOverlayOptOut, isTargetPropertyDynamic, isValid, isValueClassPrimitive, setOverlayOptOut, setQValue, 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
disconnect, getInteractions, getTarget, isValid, setTarget
Methods inherited from interface com.inductiveautomation.factorypmi.application.binding.PropertyAdapter
getReferenceType, getTargetPropertyName, setTargetPropertyName
-
Field Details
-
subAdapters
-
-
Constructor Details
-
UDTTagAdapter
public UDTTagAdapter()
-
-
Method Details
-
getBindingConfiguration
- Specified by:
getBindingConfiguration
in interfaceSearchablePropertyAdapter
-
connect
Description copied from class:AbstractPropertyAdapter
Calls connect() on all interaction descriptors- Specified by:
connect
in interfaceAdapter
- Overrides:
connect
in classAbstractPropertyAdapter
-
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
-
shutdownSubAdapters
protected void shutdownSubAdapters() -
startupSubAdapters
protected void startupSubAdapters() -
initializeDefinition
protected void initializeDefinition(boolean forceUpdate) Grab the type definition for the target tag instance from the complex type manager. -
getCurrentTagPath
This method returns the tag path to the UDT instance to subscribe to. The indirect sub-class of this class uses this as a hook to return it's calculated tag path.
-