java.lang.Object
com.inductiveautomation.factorypmi.application.binding.QueryHolder
All Implemented Interfaces:
InteractionListener

public class QueryHolder extends Object implements InteractionListener
  • Field Details

  • Constructor Details

    • QueryHolder

      public QueryHolder()
  • Method Details

    • getBindingRepresentation

      public String getBindingRepresentation()
    • getNamedQueryParams

      public Map<String,Object> getNamedQueryParams()
      Processes all dynamic Named Query parameters, gets updated values, and merges the results with the static Named Query parameters, if any. Call this before executing your Named Query to ensure you have the most up-to-date parameter values
      Returns:
      Map containing Named Query parameter name/value pairs
    • getInteractions

      public InteractionDescriptor[] getInteractions()
    • startup

      public void startup(CommonContext context)
      Tells tag listeners to subscribe
    • shutdown

      public void shutdown()
      Tells tag listeners to unsubscribe
    • getListener

      public PropertyChangeListener getListener()
    • setListener

      public void setListener(PropertyChangeListener listener)
    • childInteractionUpdated

      public void childInteractionUpdated()
      Specified by:
      childInteractionUpdated in interface InteractionListener
    • getNodes

      public QueryHolder.QueryNode[] getNodes()
    • getQuery

      public String getQuery()
    • setNodes

      public void setNodes(QueryHolder.QueryNode[] nodes)
    • setDynamicNamedQueryParams

      public void setDynamicNamedQueryParams(QueryHolder.NamedQueryNode[] dynamicNamedQueryParams)
    • setStaticNamedQueryParams

      public void setStaticNamedQueryParams(Map<String,Object> staticNamedQueryParams)