io.ebeaninternal.server.deploy.BeanDescriptorElement 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.DeployBeanDescriptor;
import io.ebeaninternal.server.type.ScalarType;
import java.util.Arrays;
/**
* Bean descriptor used with ElementCollection (where we don't have a mapped type/class).
*
* This is somewhat a BeanDescriptor created 'on the fly' for a specific element collection property
* with a unidirectional property and mapping etc specific to the property (and not the type if embedded).
*/
abstract class BeanDescriptorElement extends BeanDescriptor {
final ElementHelp elementHelp;
BeanDescriptorElement(BeanDescriptorMap owner, DeployBeanDescriptor deploy, ElementHelp elementHelp) {
super(owner, deploy);
this.elementHelp = elementHelp;
}
@Override
public boolean isJsonReadCollection() {
return true;
}
/**
* Find and return the first base scalar type (and we expect only 1).
*/
ScalarType
© 2015 - 2025 Weber Informatics LLC | Privacy Policy