'common' accessor prefixes
--------------------------

         Key: MYFACES-674
         URL: http://issues.apache.org/jira/browse/MYFACES-674
     Project: MyFaces
        Type: Wish
  Components: General  
    Reporter: Thomas Timbul
    Priority: Minor


Currently (correct me if wrong) the list of 'common' getter and setter prefixes 
is
get (getProperty)
is (isBig)
set (setProperty)

One particular prefix I find more common every day is 'has' for boolean getters 
(hasArms rather than isArmed or isWithArms or isHasArms).

So maybe there should be a referendum on what is commonly perceived as 'common' 
prefixes and those added as possibilities. Of course, if the method gets too 
long we need to be careful with how EL can handle it, since there could be a 
great difference between 'isMobile' and 'hasMobile' and EL cannot distinguish 
the 2... (can it?)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to