org.exparity.beans.BeanFunctions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of exparity-bean Show documentation
Show all versions of exparity-bean Show documentation
A Java library of bean utilities for manipulating and inspecting Java classes implementing the Java Beans standard
package org.exparity.beans;
/**
* @author Stewart Bissett
*/
public abstract class BeanFunctions {
public static BeanPropertyFunction setValue(final Object value) {
return new BeanPropertyFunction() {
public void apply(final BeanProperty property) {
property.setValue(value);
}
};
}
}