GeoAPI

Move to plurial some getters that returns a collection

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.3-M1
  • Fix Version/s: 2.3-M3
  • Component/s: None
  • Labels:
    None
  • Patch Submitted:
    Yes
  • Number of attachments :
    1

Description

It seems that each getter returning a collection is plurial. For example in Citation, the method getDescriptiveKeywords() or getResourceSpecificUsages(), in MetaData getContacts() ...

Here is a list of getters that I think could be in plurial:

  • Identification
    + getResourceMaintenance()
    + getResourceFormat()
  • DataIdentification
    + getLanguage()
    + getExtent()
  • Constraints
    + getUseLimitation()
  • Element
    + getNamesOfMeasure()
  • Georeferenceable
    + getParameterCitation()
  • Citation
    + getPresentationForm()

Here I join a patch where I depreciate the old methods for the new ones that have a name in plurial.

Activity

Hide
Martin Desruisseaux added a comment -

Commited as of revision 1438.

Show
Martin Desruisseaux added a comment - Commited as of revision 1438.
Hide
Martin Desruisseaux added a comment -

Change the priority from "major" to "minor".

Show
Martin Desruisseaux added a comment - Change the priority from "major" to "minor".

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: