public abstract class DeployBeanPropertyAssoc<T> extends DeployBeanProperty
EXCLUDE_FROM_DELETE_WHERE, EXCLUDE_FROM_INSERT, EXCLUDE_FROM_UPDATE, EXCLUDE_FROM_UPDATE_WHERE| Constructor and Description |
|---|
DeployBeanPropertyAssoc(DeployBeanDescriptor<?> desc,
Class<T> targetType)
Construct the property.
|
| Modifier and Type | Method and Description |
|---|---|
BeanTable |
getBeanTable()
Return the BeanTable for this association.
|
BeanCascadeInfo |
getCascadeInfo()
Get the persist info.
|
String |
getExtraWhere()
Return a literal expression that is added to the query that lazy loads
the collection.
|
String |
getMappedBy()
Return the mappedBy deployment attribute.
|
DeployTableJoin |
getTableJoin()
return the join to use for the bean.
|
Class<T> |
getTargetType()
Return the type of the target.
|
boolean |
isOuterJoin()
Return if this association should use an Outer join.
|
boolean |
isScalar()
Return false.
|
void |
setBeanTable(BeanTable beanTable)
Set the bean table.
|
void |
setExtraWhere(String extraWhere)
Set a literal expression to add to the query that lazy loads the
collection.
|
void |
setMappedBy(String mappedBy)
Set mappedBy deployment attribute.
|
void |
setOuterJoin(boolean isOuterJoin)
Specify that this bean should use an outer join.
|
getDbBind, getDbColumn, getDbColumnDefn, getDbConstraintExpression, getDbEncryptedType, getDbEncryptFunction, getDbLength, getDbScale, getDbType, getDefaultValue, getElPlaceHolder, getExtraAttribute, getExtraAttributeMap, getField, getFullBeanName, getGeneratedProperty, getGetter, getName, getOwningType, getPropertyType, getReadMethod, getScalarType, getSecondaryTable, getSecondaryTableJoin, getSecondaryTableJoinPrefix, getSetter, getSortOrder, getSortOverride, getSqlFormulaJoin, getSqlFormulaSelect, getWriteMethod, isDbEncrypted, isDbInsertable, isDbRead, isDbUpdateable, isEmbedded, isExposeDeserialize, isExposeSerialize, isFetchEager, isGenerated, isId, isLob, isLocal, isLocalEncrypted, isNaturalKey, isNullable, isNullablePrimitive, isSecondaryTable, isTransient, isUndirectionalShadow, isUnique, isVersionColumn, setDbBind, setDbColumn, setDbColumnDefn, setDbEncryptedType, setDbEncryptFunction, setDbInsertable, setDbLength, setDbRead, setDbScale, setDbType, setDbUpdateable, setDefaultValue, setEmbedded, setExposeDeserialize, setExposeSerialize, setExtraAttribute, setFetchType, setField, setGeneratedProperty, setGetter, setId, setLocalEncrypted, setName, setNaturalKey, setNullable, setOwningType, setReadMethod, setScalarType, setSecondaryTable, setSecondaryTableJoin, setSetter, setSortOrder, setSqlFormula, setTransient, setUndirectionalShadow, setUnique, setVersionColumn, setWriteMethod, toStringpublic DeployBeanPropertyAssoc(DeployBeanDescriptor<?> desc, Class<T> targetType)
public boolean isScalar()
isScalar in class DeployBeanPropertypublic Class<T> getTargetType()
This is the class of the associated bean, or beans contained in a list, set or map.
public boolean isOuterJoin()
public void setOuterJoin(boolean isOuterJoin)
public String getExtraWhere()
public void setExtraWhere(String extraWhere)
public DeployTableJoin getTableJoin()
public BeanTable getBeanTable()
This has the table name which is used to determine the relationship for this association.
public void setBeanTable(BeanTable beanTable)
public BeanCascadeInfo getCascadeInfo()
public String getMappedBy()
This is the name of the property in the 'detail' bean that maps back to this 'master' bean.
public void setMappedBy(String mappedBy)
Copyright © 2014. All Rights Reserved.