#56 Valueobjects -exceptions and methods

open
nobody
ejbdoclet (28)
5
2002-06-04
2002-06-04
Anonymous
No

When I use the value object tag in CMP2.0 xDoclets
generates set/get methods. This is nice but I wish that it
also will transfere the exception I specified

public abstract void setLimit(String s) throws
TestException;

The reason why I would like it is that I want to override
these methods because I will include some controll
statements in the setLimit method. I will be very happy if
it was possible to spesify methods in both the primary
key class and the value object class. If this is imposible
I would like the two classes to be abstract so that they
can be a part in a class hierarchi so that I can force an
implementation of a method in a subclass

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks