Canoo WebTest Community Site
[ start | index | login ]
start > PropertyTable > Documentation

Documentation

PropertyTable Documentation

For the jump start go directly to the description of the PropertyTableTask.

For current implementations see

For looking behind the curtain, read the concepts.

Concepts

  • A PropertyTable is a List of Properties objects.
  • Tables are contained inside a container.
  • Tables can be requested by their name, that is unique per container.
  • The container may contain one special table named "JOIN".
  • When providing a table (source table), the JOIN table of the current container is respected like this:
    • For each line in the JOIN table that concerns the current source table the join is executed like definded in that line, i.e.:
    • For each value in the source table the corresponding column of the foreign table is searched for lines that comply with the filter.
    • For every hit source line and foreign line are merged.
    • If there was no hit, the source line remains as is.
  • Processing is recursively. A foreign table may as well appear as source table in JOIN. There is no protection against endless loops, yet!
JOIN Table Format
Every line of the JOIN Table provides information on how to join the "source table" with the "foreign" table.
columnmeaningdefaultrequired
tablename of the source table in the current containernoyes
namename of the source property to joinnoyes
tableClassclass of the foreign table's FormattableClass of the source tableno
containercontainer name of the foreign tablecurrent containerno
foreignTablename of the foreign table in the container.If foreignName is like <mytable.col> than <mytable> is assumed.no
foreignNamethe name of the property in the foreign table used for joiningnameno
filterClassthe Filter to apply on the foreign table after the lookupFirstEqualsno
prefixNewly joined property names are prefixed with this label and a dot.emptyno

one comment (by Mahaley) | post comment
labels
attachments
Created by Mittie. Last edited by Mittie, 8 years and 249 days ago. Viewed 3,582 times. #6
[diff] [history] [edit] [rdf]

Icon-Comment Mahaley, one year and 359 days ago. Icon-Permalink

Kudos! What a neat way of thiknnig about it.
Name
Email:

Registration
Want to contribute? You can register here.

Help
For hints about formatting text see snipsnap-help.

Entry Points:

Editor's Pick:
Logged in Users: (0)
… and 3 Guests.

Recently Changed
more Recent Changes...

RSS News Feed:
RSS Feed

Powered by SnipSnap 1.0b1-uttoxeter

snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt