Class AbstractTagAdapter
- java.lang.Object
-
- com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter
-
- com.inductiveautomation.factorypmi.application.binding.AbstractTagAdapter
-
- All Implemented Interfaces:
Adapter
,Adapter.ValueHolder
,PropertyAdapter
- Direct Known Subclasses:
SimpleBoundTagAdapter
,UDTTagAdapter
public abstract class AbstractTagAdapter extends AbstractPropertyAdapter
-
-
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 Modifier and Type Field Description protected boolean
bidirectional
A bidirectional binding listens to the target property for property change events, pushing them into the tag.protected int
fallbackDelay
The amount of time to stay WRITE_PENDING after a write successfully completes waiting for the value to changeprotected TagPath
tagPath
This tag path is a real TagPath that is transient, calculated from the regular tag path.protected java.lang.String
tagPathString
This tag path is the string based tag path that gets serialized-
Fields inherited from class com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter
appContext, isTargetPropertyDynamic, log, overlayOptOut, target, targetPropertyName, value, valueClass
-
-
Constructor Summary
Constructors Constructor Description AbstractTagAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TagPath
_getTagPath()
void
_setTagPath(TagPath tp)
int
getFallbackDelay()
InteractionDescriptor[]
getInteractions()
Retrieves an array of the interactions that this adapter depends on.PropertyAdapter.PAType
getReferenceType()
java.lang.String
getTagPathString()
boolean
isBidirectional()
void
setBidirectional(boolean bidirectional)
void
setFallbackDelay(int readAfterWriteDelay)
void
setTagPathString(java.lang.String tagPathString)
-
Methods inherited from class com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter
canUpdate, connect, disconnect, getQValue, getTarget, getTargetDesc, getTargetFullPath, getTargetPropertyName, getValueClass, handleError, handleNullToPrimitive, initLogger, isDataUsed, isDataUsed, isOverlayOptOut, isTargetPropertyDynamic, isValid, isValueClassPrimitive, setOverlayOptOut, setQValue, setSetterMethodName, setTarget, setTargetPropertyDynamic, setTargetPropertyName, setValue, setValueClass, shutdown, startup, toString, updateQuality, updateTarget, updateValue, useQuality
-
-
-
-
Field Detail
-
tagPathString
protected java.lang.String tagPathString
This tag path is the string based tag path that gets serialized
-
tagPath
protected TagPath tagPath
This tag path is a real TagPath that is transient, calculated from the regular tag path.
-
bidirectional
protected boolean bidirectional
A bidirectional binding listens to the target property for property change events, pushing them into the tag. Used for controlling tags.
-
fallbackDelay
protected int fallbackDelay
The amount of time to stay WRITE_PENDING after a write successfully completes waiting for the value to change
-
-
Method Detail
-
getFallbackDelay
public int getFallbackDelay()
-
setFallbackDelay
public void setFallbackDelay(int readAfterWriteDelay)
-
_getTagPath
public TagPath _getTagPath()
-
_setTagPath
public void _setTagPath(TagPath tp)
-
getTagPathString
public java.lang.String getTagPathString()
-
setTagPathString
public void setTagPathString(java.lang.String tagPathString)
-
isBidirectional
public boolean isBidirectional()
-
setBidirectional
public void setBidirectional(boolean bidirectional)
-
getReferenceType
public PropertyAdapter.PAType getReferenceType()
-
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.
-
-