de.intarsys.tools.reflect.RelationHandlerAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of isrt Show documentation
Show all versions of isrt Show documentation
The basic runtime tools and interfaces for intarsys components.
package de.intarsys.tools.reflect;
/**
* Simple adapter for {@link IRelationHandler}
*
*/
public class RelationHandlerAdapter implements IRelationHandler {
public Object[] get(Object owner) {
return new Object[0];
}
public Object insert(Object owner, Object value) {
return value;
}
public Object remove(Object owner, Object value) {
return value;
}
public Object update(Object owner, Object value, Object newValue) {
return newValue;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy