File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes VetoableChangeSupport for several properties Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "VetoableChangeSupport for several properties" Watch "VetoableChangeSupport for several properties" New topic

VetoableChangeSupport for several properties

Per Engstrom

Joined: Feb 11, 2010
Posts: 9

The bean framework's VetoableChangeSupport has recently been brought to my attention.
However it may not be what I'm looking for. Perhaps someone can point me in the right direction?

I'm looking for a way to verify the combined change of several properties.
My current approach does not work.

Consider a simple game, where an entity can only move to an unocupied position.
Trying to validate the new position in two steps may result in both false-positive and true-negative results.

I agree. Here's the link:
subject: VetoableChangeSupport for several properties
It's not a secret anymore!