Class IdentifierMapper

java.lang.Object
org.ehrbase.aql.containment.IdentifierMapper

public class IdentifierMapper extends Object
Map identifiers in an AQL expression with their container and query strategy.

The query strategy specifies whether an identifier is associated to an ARCHETYPED structure or is bound to "static" data (such as a composition composer)

Created by christian on 4/12/2016.
  • Field Details

  • Constructor Details

    • IdentifierMapper

      public IdentifierMapper()
  • Method Details

    • add

      public void add(Object definition)
    • getContainer

      public Object getContainer(String symbol)
    • getRootContainment

      public Containment getRootContainment()
    • getEhrContainer

      public FromEhrDefinition.EhrPredicate getEhrContainer()
    • hasPathExpression

      public boolean hasPathExpression()
    • hasEhrContainer

      public boolean hasEhrContainer()
    • getQueryStrategy

      public Class getQueryStrategy(String symbol)
    • getPath

      public Set<String> getPath(String template, String symbol)
    • setPath

      public void setPath(String template, String symbol, Set<String> path)
    • setQueryStrategy

      public void setQueryStrategy(String symbol, Class queryImplementation)
    • getArchetypeId

      public String getArchetypeId(String symbol)
    • getClassName

      public String getClassName(String symbol)
    • identifiers

      public Set<String> identifiers()
    • dump

      public String dump()
    • requiresTemplateWhereClause

      public boolean requiresTemplateWhereClause()