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


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

        

Reply via email to