Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-259

Simplify value vs multi-value management in high-level API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.1.0-incubating
    • 0.2.0-incubating
    • None
    • None

    Description

      This part of the high-level API is hard to use:
         <T> T getPropertyValue(String id);
         <T> List<T> getPropertyMultivalue(String id);
      Because the caller has two call two different methods depending on the type when in the end he just wants an object.

      Same problem for setters:
      <T> void setProperty(String id, T value);
      <T> void setPropertyMultivalue(String id, List<T> value);

      Attachments

        Activity

          People

            fguillaume Florent Guillaume
            fguillaume Florent Guillaume
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: