You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by "Martin Desruisseaux (JIRA)" <ji...@apache.org> on 2013/03/21 15:29:15 UTC

[jira] [Created] (SIS-83) Add metadata constructor with convenience parameters for mandatory properties

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