Duplicated getter for boolean attribute in ValueObject
------------------------------------------------------

         Key: JAVA-40
         URL: http://jira.andromda.org/browse/JAVA-40
     Project: Java Cartridge
        Type: Bug

    Versions: 3.4-SNAPSHOT    
 Environment: All
    Reporter: Jean-Marc Collin
 Assigned to: Matthias Bohlen 


Since a few days, my Vos don't compile because there is duplicated getter for 
boolean attribute in ValueObject. One is marked as @Deprecated. The comment 
says : "Duplicates getBoolean method, for use as Jaxb2 compatible object". But 
this makes the compile failed...


Example :
/**
     * TODO: Model Documentation for attribute active
     * Get the active Attribute
     * @return active boolean
     */
    public boolean isActive()
    {
        return this.active;
    }

    /**
     * 
     * Duplicates getBoolean method, for use as Jaxb2 compatible object
     * Get the active Attribute
     * @return active boolean
     */
    @Deprecated
    public boolean isActive()
    {
        return this.active;
    }

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


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference

Reply via email to