On 5/10/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote:

I would like to:
- move everything from Definition to TileDefinition (with its new name
:-) ) with the exception of the copy constructor and the "isVisited"
property
- rename the "isVisited" property to "visited".


I assume you mean getVisited() and setVisited() instead of isVisited() and
setVisited()? As per the JavaBeans spec I think either is acceptable, so I'm
fine with it either way. I prefer the isVisited form for boolean properties
because that's the way NetBeans generates it for me.

In fact the Definition is needed to resolve inheritances, and the
"isVisited" flag is necessary for this purpose, but the rest seems to
belong to TileDefinition.


I like the idea of consolidating these two classes.

Greg

Reply via email to