io.ebeaninternal.server.deploy.BeanPropertyIdClass 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;
import io.ebean.bean.EntityBean;
import io.ebeaninternal.server.deploy.meta.DeployBeanPropertyAssocOne;
/**
* Bean property for an IdClass embeddedId.
*/
public class BeanPropertyIdClass extends BeanPropertyAssocOne {
@SuppressWarnings("unchecked")
public BeanPropertyIdClass(BeanDescriptorMap owner, BeanDescriptor descriptor, DeployBeanPropertyAssocOne deploy) {
super(owner, descriptor, deploy);
}
@Override
public void setValue(EntityBean bean, Object value) {
bean._ebean_getIntercept().setOwnerId(value);
}
@Override
public void setValueIntercept(EntityBean bean, Object value) {
bean._ebean_getIntercept().setOwnerId(value);
}
@Override
public Object getValue(EntityBean bean) {
return bean._ebean_getIntercept().getOwnerId();
}
@Override
public Object getValueIntercept(EntityBean bean) {
return bean._ebean_getIntercept().getOwnerId();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy