[Uml-user] umbrello and generics <P extends Comparable<P>, E>

msp430 microcontrollerfreak at gmx.at
Tue Apr 21 07:42:25 UTC 2009


hello umbrello users,
        
        i tried to do a java interface with Umbrello:
        
        public interface PriorityQueue<P extends Comparable<P>,E> {...
        body
        }
        
        i worked with:
        interface -> properties
        Templates -> New Template...
        
        then i got:
        Type:
        Name:
        Steretype name:
        
        i played around a bit, but i couldn't get the thing i wanted;
        the only thing i got after CodeGeneration was:
        
        public interface PriorityQueue<P extends Comparable, E>
        as you see the <P> after Comparable is missing.
        isn't it possible to get:
        public interface PriorityQueue<P extends Comparable<P>, E> with
        umbrello?
        anybody knows how to solve this little problem?
        would be very nice!
        
        greetings
        scrapper





More information about the umbrello mailing list