Class NamedQueryTagBinding
- java.lang.Object
-
- com.inductiveautomation.factorypmi.application.sqltags.project.NamedQueryTagBinding
-
- All Implemented Interfaces:
IQueryResponseListener
,TagBinding
,java.beans.PropertyChangeListener
,java.util.EventListener
public class NamedQueryTagBinding extends java.lang.Object implements TagBinding, java.beans.PropertyChangeListener, IQueryResponseListener
Basically aSQLQueryTagBinding
, altered for Named Queries
-
-
Constructor Summary
Constructors Constructor Description NamedQueryTagBinding(ProjectTag tag, QueryHolder queryHolder, PollingRate rate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getTargetFullPath()
void
handleQueryReturnedError(java.lang.Exception error)
void
handleQueryReturnedNoRows()
void
handleQueryReturnedValue(java.lang.Object value)
void
notifyQueryRunning(boolean running)
void
propertyChange(java.beans.PropertyChangeEvent evt)
void
startBinding(VisionClientContext context)
void
stopBinding()
-
-
-
Constructor Detail
-
NamedQueryTagBinding
public NamedQueryTagBinding(ProjectTag tag, QueryHolder queryHolder, PollingRate rate)
-
-
Method Detail
-
startBinding
public void startBinding(VisionClientContext context)
- Specified by:
startBinding
in interfaceTagBinding
-
stopBinding
public void stopBinding()
- Specified by:
stopBinding
in interfaceTagBinding
-
getTargetFullPath
public java.lang.String getTargetFullPath()
- Specified by:
getTargetFullPath
in interfaceIQueryResponseListener
-
handleQueryReturnedValue
public void handleQueryReturnedValue(java.lang.Object value)
- Specified by:
handleQueryReturnedValue
in interfaceIQueryResponseListener
-
handleQueryReturnedError
public void handleQueryReturnedError(java.lang.Exception error)
- Specified by:
handleQueryReturnedError
in interfaceIQueryResponseListener
-
handleQueryReturnedNoRows
public void handleQueryReturnedNoRows()
- Specified by:
handleQueryReturnedNoRows
in interfaceIQueryResponseListener
-
notifyQueryRunning
public void notifyQueryRunning(boolean running)
- Specified by:
notifyQueryRunning
in interfaceIQueryResponseListener
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChange
in interfacejava.beans.PropertyChangeListener
-
-