Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3780

Enrich the ResourceProxy model to hold more information about the property metadata

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • Sling Eclipse IDE 2.0.0
    • IDE
    • None

    Description

      At the moment the ResourceProxy holds a plain Map<String,Object> for its properties. As a start, it has worked pretty well. However, it leads to code that is a bit convoluted and not correct.

      For instance, we have instanceof checks to determine the property type and multiplicity. And we probably fails to distinguish between a REFERENCE and a WEAKREFERENCE property, or a STRING and NAME property.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rombert Robert Munteanu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: