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

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

There is a newer version: 4.0.0
Show newest version
package org.nakedobjects.applib.events;

import org.nakedobjects.applib.Identifier;


/**
 * Represents an access (reading) of a property.
 * 
 * 

* Analogous to {@link PropertyModifyEvent}, however the {@link #getReason()} will always be null. * (If access is not allowed then a {@link PropertyVisibilityEvent} would have been fired). */ public class PropertyAccessEvent extends AccessEvent { private static final long serialVersionUID = 1L; public PropertyAccessEvent(final Object source, final Identifier propertyIdentifier, final Object value) { super(source, propertyIdentifier); this.value = value; } private final Object value; public Object getValue() { return value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy