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
public class IndirectUDTTagAdapter extends UDTTagAdapter implements 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 Constructor Description IndirectUDTTagAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
childInteractionUpdated()
Called when one of my referenced PLDs is updatedBindingConfiguration
getBindingConfiguration()
protected TagPath
getCurrentTagPath()
This method returns the tag path to the UDT instance to subscribe to.InteractionDescriptor[]
getInteractions()
Retrieves an array of the interactions that this adapter depends on.IndirectTagBindingAdapter.IndirectTagPathNode[]
getPathParts()
java.util.Map<java.lang.Integer,PropertyListenerDescriptor>
getReferences()
java.lang.String
getTagPathString()
void
setPathParts(IndirectTagBindingAdapter.IndirectTagPathNode[] pathParts)
void
setReferences(java.util.Map<java.lang.Integer,PropertyListenerDescriptor> references)
void
setTagPathString(java.lang.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
-
-
-
-
Method Detail
-
getBindingConfiguration
public BindingConfiguration 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
protected TagPath 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
public IndirectTagBindingAdapter.IndirectTagPathNode[] getPathParts()
-
setPathParts
public void setPathParts(IndirectTagBindingAdapter.IndirectTagPathNode[] pathParts)
-
getReferences
public java.util.Map<java.lang.Integer,PropertyListenerDescriptor> getReferences()
-
setReferences
public void setReferences(java.util.Map<java.lang.Integer,PropertyListenerDescriptor> references)
-
getInteractions
public InteractionDescriptor[] 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
public java.lang.String getTagPathString()
- Overrides:
getTagPathString
in classAbstractTagAdapter
-
setTagPathString
public void setTagPathString(java.lang.String tagPathString)
- Overrides:
setTagPathString
in classAbstractTagAdapter
-
-