io.ebeaninternal.server.deploy.meta.BeanPropertyElementSetter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ebean Show documentation
Show all versions of ebean Show documentation
composite of common runtime dependencies for all platforms
package io.ebeaninternal.server.deploy.meta;
import io.ebean.bean.EntityBean;
import io.ebeaninternal.server.properties.BeanPropertySetter;
/**
* Setter used for "element beans" with ElementCollection.
*/
class BeanPropertyElementSetter implements BeanPropertySetter {
private final int pos;
BeanPropertyElementSetter(int pos) {
this.pos = pos;
}
@Override
public void set(EntityBean bean, Object value) {
bean._ebean_setField(pos, value);
}
@Override
public void setIntercept(EntityBean bean, Object value) {
set(bean, value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy