public class NamedQueryTagBinding extends java.lang.Object implements TagBinding, java.beans.PropertyChangeListener, IQueryResponseListener
SQLQueryTagBinding
, altered for Named QueriesConstructor and Description |
---|
NamedQueryTagBinding(ProjectTag tag,
QueryHolder queryHolder,
PollingRate rate) |
Modifier and Type | Method and 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() |
public NamedQueryTagBinding(ProjectTag tag, QueryHolder queryHolder, PollingRate rate)
public void startBinding(VisionClientContext context)
startBinding
in interface TagBinding
public void stopBinding()
stopBinding
in interface TagBinding
public java.lang.String getTargetFullPath()
getTargetFullPath
in interface IQueryResponseListener
public void handleQueryReturnedValue(java.lang.Object value)
handleQueryReturnedValue
in interface IQueryResponseListener
public void handleQueryReturnedError(java.lang.Exception error)
handleQueryReturnedError
in interface IQueryResponseListener
public void handleQueryReturnedNoRows()
handleQueryReturnedNoRows
in interface IQueryResponseListener
public void notifyQueryRunning(boolean running)
notifyQueryRunning
in interface IQueryResponseListener
public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener