GeoAPI
  1. GeoAPI
  2. GEO-49

Defines a set of property key constants in GeoAPI interfaces

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: referencing
    • Labels:
      None
    • Number of attachments :
      0

      Description

      ObjectFactory expect a Map argument for the definition of object properties (name, alias, etc.). The key for the map must be String like "name", "alias", etc. Those strings should be declared as constants, for type safety.

      On a related note, the Map arguments should be Map<String,Object>.

        Activity

        Hide
        Martin Desruisseaux added a comment -

        Added the String constants.

        Show
        Martin Desruisseaux added a comment - Added the String constants.

          People

          • Assignee:
            Martin Desruisseaux
            Reporter:
            Martin Desruisseaux
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 20 minutes
              20m
              Remaining:
              Remaining Estimate - 20 minutes
              20m
              Logged:
              Time Spent - Not Specified
              Not Specified