All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nakedobjects.applib.events.PropertyModifyEvent Maven / Gradle / Ivy

The newest version!
package org.nakedobjects.applib.events;

import org.nakedobjects.applib.Identifier;


/**
 * Represents a check as to whether a particular value for a property is valid or not.
 * 
 * 

* If {@link #getReason()} is not null then provides the reason why the value is invalid; otherwise * the value is valid. */ public class PropertyModifyEvent extends ValidityEvent implements ProposedHolderEvent { private static final long serialVersionUID = 1L; private final Object proposed; public PropertyModifyEvent(final Object source, final Identifier propertyIdentifier, final Object proposed) { super(source, propertyIdentifier); this.proposed = proposed; } /** * If null, then the property was cleared. * * @return */ public Object getProposed() { return proposed; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy