java.lang.Object
io.ebeaninternal.server.deploy.meta.DeployBeanProperty
io.ebeaninternal.server.deploy.meta.DeployBeanPropertyAssoc<T>
- Direct Known Subclasses:
DeployBeanPropertyAssocMany,DeployBeanPropertyAssocOne
Abstract base for properties mapped to an associated bean, list, set or map.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the BeanTable for this association.Get the persist info.Return a literal expression that is added to the query that lazy loads the collection.intReturn the mappedBy deployment attribute.return the join to use for the bean.Return the target DeployBeanDescriptor for this associated bean property.Return the type of the target.booleanvoidsetBeanTable(BeanTable beanTable) Set the bean table.voidsetExtraWhere(String extraWhere) Set a literal expression to add to the query that lazy loads the collection.voidsetFetchPreference(int fetchPreference) voidsetForeignKey(PropertyForeignKey foreignKey) voidsetMappedBy(String mappedBy) Set mappedBy deployment attribute.voidvoidsetTargetType(Class<?> targetType) Methods inherited from class io.ebeaninternal.server.deploy.meta.DeployBeanProperty
addDbMigrationInfo, bindMaxLength, checkPrimitiveBoolean, getDbBind, getDbColumn, getDbColumnDefaultSqlLiteral, getDbColumnDefn, getDbComment, getDbEncryptedType, getDbEncryptFunction, getDbLength, getDbMigrationInfos, getDbScale, getDbType, getDesc, getElPlaceHolder, getElPrefix, getField, getGeneratedProperty, getGenericType, getGetter, getMetaAnnotation, getMetaAnnotationFormula, getMetaAnnotations, getMetaAnnotationWhere, getMutationDetection, getName, getOwningType, getPropertyIndex, getPropertyType, getRawAggregation, getScalarType, getSecondaryTable, getSecondaryTableJoin, getSecondaryTableJoinPrefix, getSetter, getSortOverride, getSqlFormulaJoin, getSqlFormulaSelect, initMetaAnnotations, isAggregation, isDbEncrypted, isDbInsertable, isDbRead, isDbUpdateable, isDiscriminator, isEmbedded, isExcludedFromHistory, isFetchEager, isId, isIdClass, isImportedPrimaryKey, isJsonDeserialize, isJsonSerialize, isLob, isLocal, isLocalEncrypted, isNaturalKey, isNullable, isSecondaryTable, isSoftDelete, isTenantId, isTransient, isUndirectionalShadow, isUnique, isUnmappedJson, isVersionColumn, parseAggregation, setAggregation, setAggregationPrefix, setDbColumn, setDbColumnDefault, setDbColumnDefn, setDbComment, setDbEncryptFunction, setDbInsertable, setDbLength, setDbRead, setDbScale, setDbType, setDbUpdateable, setElementProperty, setEmbedded, setExcludedFromHistory, setFetchType, setField, setGeneratedProperty, setGetter, setId, setImportedPrimaryKey, setImportedPrimaryKeyColumn, setJsonDeserialize, setJsonSerialize, setLocalEncrypted, setMutationDetection, setName, setNullable, setOwningType, setPropertyIndex, setScalarType, setSecondaryTable, setSecondaryTableJoin, setSetter, setSoftDelete, setSortOrder, setSqlFormula, setTenantId, setTransient, setUndirectionalShadow, setUnique, setUnmappedJson, setVersionColumn, toString
-
Method Details
-
getTargetDeploy
Return the target DeployBeanDescriptor for this associated bean property. -
getTargetType
Return the type of the target.This is the class of the associated bean, or beans contained in a list, set or map.
-
getExtraWhere
Return a literal expression that is added to the query that lazy loads the collection. -
setExtraWhere
Set a literal expression to add to the query that lazy loads the collection. -
getTableJoin
return the join to use for the bean. -
getBeanTable
Return the BeanTable for this association.This has the table name which is used to determine the relationship for this association.
-
setBeanTable
Set the bean table. -
getCascadeInfo
Get the persist info. -
setForeignKey
-
getForeignKey
-
getMappedBy
Return the mappedBy deployment attribute.This is the name of the property in the 'detail' bean that maps back to this 'master' bean.
-
setMappedBy
Set mappedBy deployment attribute. -
setOrphanRemoval
public void setOrphanRemoval() -
isOrphanRemoval
public boolean isOrphanRemoval() -
getFetchPreference
public int getFetchPreference() -
setFetchPreference
public void setFetchPreference(int fetchPreference) -
setTargetType
-