Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-152

Add support for Map<String, String> in Frames to store in vertex'es properties.

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Beta2
    • 2.0.0.Alpha1
    • MTA CLI
    • None

      This should support an annotation like this:

      @InProperties public void setMap(Map<String, String> map);
      @InProperties public Map<String, String> getMap();

      setMap would replace all current values in the map with the new values.
      getMap would return a read-only representation of the map.

      Jess:
      @InProperties("map1") ...
      @InProperties("map2") ... could even handle multiple maps per model (through adjacent MapModel vertex'es label).

      The difference between AdjacentMap and InVertexMap is that AdjacentMap is stored in adjacent vertex. InVertex is stored in the same vertex.

      Use case: InVertex can access "this" vertex'es properties through a Map. AdjacentMap can access other vertexes

      Related Frames ticket: https://github.com/tinkerpop/frames/issues/100

            ozizka_jira Ondrej Zizka (Inactive)
            ozizka_jira Ondrej Zizka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: