Class IndirectUDTTagAdapter
java.lang.Object
com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter
com.inductiveautomation.factorypmi.application.binding.AbstractTagAdapter
com.inductiveautomation.factorypmi.application.binding.UDTTagAdapter
com.inductiveautomation.factorypmi.application.binding.IndirectUDTTagAdapter
- All Implemented Interfaces:
Adapter
,Adapter.ValueHolder
,SearchablePropertyAdapter
,PropertyAdapter
,InteractionListener
-
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.UDTTagAdapter
subAdapters
Fields inherited from class com.inductiveautomation.factorypmi.application.binding.AbstractTagAdapter
bidirectional, fallbackDelay, 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
Called when one of my referenced PLDs is updatedprotected TagPath
This method returns the tag path to the UDT instance to subscribe to.Retrieves an array of the interactions that this adapter depends on.void
void
setReferences
(Map<Integer, PropertyListenerDescriptor> references) void
setTagPathString
(String tagPathString) 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.UDTTagAdapter
connect, initializeDefinition, shutdownSubAdapters, startupSubAdapters
Methods inherited from class com.inductiveautomation.factorypmi.application.binding.AbstractTagAdapter
_getTagPath, _setTagPath, getFallbackDelay, getReferenceType, isBidirectional, setBidirectional, setFallbackDelay
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, getTarget, isValid, setTarget
Methods inherited from interface com.inductiveautomation.factorypmi.application.binding.PropertyAdapter
getReferenceType, getTargetPropertyName, setTargetPropertyName
-
Constructor Details
-
IndirectUDTTagAdapter
public IndirectUDTTagAdapter()
-
-
Method Details
-
getBindingConfiguration
- Specified by:
getBindingConfiguration
in interfaceSearchablePropertyAdapter
- Overrides:
getBindingConfiguration
in classUDTTagAdapter
-
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 classUDTTagAdapter
-
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 classUDTTagAdapter
-
childInteractionUpdated
public void childInteractionUpdated()Called when one of my referenced PLDs is updated- Specified by:
childInteractionUpdated
in interfaceInteractionListener
-
getCurrentTagPath
Description copied from class:UDTTagAdapter
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.- Overrides:
getCurrentTagPath
in classUDTTagAdapter
-
getPathParts
-
setPathParts
-
getReferences
-
setReferences
-
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
- Overrides:
getInteractions
in classAbstractTagAdapter
-
getTagPathString
- Overrides:
getTagPathString
in classAbstractTagAdapter
-
setTagPathString
- Overrides:
setTagPathString
in classAbstractTagAdapter
-