Issue Details (XML | Word | Printable)

Key: GEO-167
Type: Sub-task Sub-task
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Martin Desruisseaux
Reporter: Cédric Briançon
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
GeoAPI
GEO-164

Move to plurial some getters that returns a collection

Created: 20/May/09 03:40 AM   Updated: 05/Sep/09 02:21 PM   Resolved: 05/Sep/09 02:21 PM
Component/s: None
Affects Version/s: 2.3-M1
Fix Version/s: 2.3-M3

Time Tracking:
Not Specified

File Attachments: 1. Text File getters_in_plurial.patch (9 kB)


Patch Submitted: Yes


 Description  « Hide

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.



Martin Desruisseaux added a comment - 01/Jul/09 09:51 PM

Commited as of revision 1438.


Martin Desruisseaux added a comment - 04/Jul/09 11:50 AM

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