Uploaded image for project: 'Tupelo'
  1. Tupelo
  2. TUP-149

Allow bean session to handle multiple rdf types for a given bean class mapping

XMLWordPrintableJSON

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.4
    • 2.4
    • Beans
    • None

      The issue is to have multiple rdf types that associate with one java class. There is a fixme in the code that corresponds to this. Currently this is restricted to one type per single java class.

      What to do: Make mappings handle multiple rdf types, so the set/getRdfType will be multi-valued. This will be factored so as to not break existing code.

      Caveats: The documentation needs to make clear to clients that many types to one class will work, but many to many will in general give an insoluble case, since there is no way short of telepathy to know what the user intends. A policy of using the first (alphabetically) rdf type that has been mapped will be followed so that the behavior is deterministic.

              jgaynor Jeffrey Gaynor
              jgaynor Jeffrey Gaynor
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: