You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (Updated) (JIRA)" <ji...@apache.org> on 2011/12/15 00:41:30 UTC
[jira] [Updated] (ISIS-156) Renaming getName() and other methods in
metamodel
[ https://issues.apache.org/jira/browse/ISIS-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Haywood updated ISIS-156:
-----------------------------
Priority: Trivial (was: Major)
> Renaming getName() and other methods in metamodel
> -------------------------------------------------
>
> Key: ISIS-156
> URL: https://issues.apache.org/jira/browse/ISIS-156
> Project: Isis
> Issue Type: Improvement
> Components: Core: MetaModel
> Affects Versions: 0.1.2-incubating
> Reporter: Dan Haywood
> Priority: Trivial
>
> from email exchange on mailing list:
> >
> > Just completing change for spec names. To confirm that name == singular
> > name, what we have at the moment is:
> >
> > getFullName - fully qualified class name
> > getShortName - class name only
> > getName - singular name with spacing
> > getPluralName - the pluralised version with spacing
> >
> > It seems we have redundancy all along.
> >
> Yup, that's what we have. Did mean to rename 'getName' to
> 'getSingularName', but I guess I forgot. I'll go ahead and do that.
> > They are two types of name though which isn't obvious from the method
> > names. The first two are actually identifiers and won't change, whereas the
> > other two are dynamic and will change, especially on a localised client.
> > We might want to reflect this with getFullIdentifier and
> > getShortIdentifier.
> >;
> That's a good idea. I'll make that change too.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira