sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SIS-83) Add metadata constructor with convenience parameters for mandatory properties
Date Thu, 21 Mar 2013 14:29:15 GMT
Martin Desruisseaux created SIS-83:
--------------------------------------

             Summary: Add metadata constructor with convenience parameters for mandatory properties
                 Key: SIS-83
                 URL: https://issues.apache.org/jira/browse/SIS-83
             Project: Spatial Information Systems
          Issue Type: Improvement
          Components: Metadata
            Reporter: Martin Desruisseaux
            Assignee: Martin Desruisseaux
             Fix For: 0.3


Each metadata object has mandatory and optional properties. We should provide convenience
constructor receiving parameter values for each mandatory properties.

To make the convenience constructors more convenient, we can relax some of the type requirements
of setter methods:

* Constructors could receive {{CharSequence}} instead than {{InternationalString}}, to be
automatically wrapped into {{InternationalString}}.
* Constructors could receive singleton property value instead than collections. Users can
still invoke the {{Collection.add(…)}} method after construction.

Those relaxation are possible because those constructors are not constrained by JavaBeans
or JAXB requirements.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message