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] [Updated] (SIS-83) Add metadata constructor with convenience parameters for mandatory properties
Date Tue, 03 Feb 2015 20:42:34 GMT

     [ https://issues.apache.org/jira/browse/SIS-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Desruisseaux updated SIS-83:
-----------------------------------
    Fix Version/s:     (was: 0.5)

> 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
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message