[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jibx-devs
Subject:    [jibx-devs] [jira] Created: (JIBX-467) The letter 'S' is dropped
From:       "gregory bonk (JIRA)" <jira () codehaus ! org>
Date:       2011-11-29 18:15:39
Message-ID: 1927010026.5266.1322590539859.JavaMail.j2ee-jira () codehaus01-new ! managed ! contegix ! com
[Download RAW message or body]

The letter 'S' is dropped from class names when generating source from xsd schema
---------------------------------------------------------------------------------

                 Key: JIBX-467
                 URL: https://jira.codehaus.org/browse/JIBX-467
             Project: JiBX
          Issue Type: Bug
          Components: CodeGen
    Affects Versions: JiBX 1.2.3
         Environment: Maven 3, latest version of jibx and plugin
            Reporter: gregory bonk


The getters and setters for a bean that is not plural "Bonus" is being generated w/o \
the ending 'S'.  Shouldn't it match the name of the bean, regardless ?

    private List<Bonus> bonuList = new ArrayList<Bonus>();

     * Get the list of 'bonus' element items.
     * 
     * @return list
     */
    public List<Bonus> getBonuList() {
        return bonuList;
    }

    /** 
     * Set the list of 'bonus' element items.
     * 
     * @param list
     */
    public void setBonuList(List<Bonus> list) {
        bonuList = list;
    }

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic