public class DeployBeanPropertyAssocMany<T> extends DeployBeanPropertyAssoc<T>
EXCLUDE_FROM_DELETE_WHERE, EXCLUDE_FROM_INSERT, EXCLUDE_FROM_UPDATE, EXCLUDE_FROM_UPDATE_WHERE| Constructor and Description |
|---|
DeployBeanPropertyAssocMany(DeployBeanDescriptor<?> desc,
Class<T> targetType,
ManyType manyType)
Create this property.
|
| Modifier and Type | Method and Description |
|---|---|
TableJoin |
createIntersectionTableJoin()
Create the immutable version of the intersection join.
|
TableJoin |
createInverseTableJoin()
Create the immutable version of the inverse join.
|
String |
getFetchOrderBy()
Return the order by clause used to order the fetching of the data for
this list, set or map.
|
DeployTableJoin |
getIntersectionJoin()
ManyToMany only, join from local table to intersection table.
|
DeployTableJoin |
getInverseJoin() |
ManyType |
getManyType()
Return the many type.
|
String |
getMapKey()
Return the default mapKey when returning a Map.
|
BeanCollection.ModifyListenMode |
getModifyListenMode()
Return the mode for listening to changes to the List Set or Map.
|
boolean |
isManyToMany()
Return true if this is many to many.
|
boolean |
isUnidirectional()
Return true if this is a unidirectional relationship.
|
void |
setFetchOrderBy(String orderBy)
Set the order by clause used to order the fetching or the data for this
list, set or map.
|
void |
setIntersectionJoin(DeployTableJoin intersectionJoin)
ManyToMany only, join from local table to intersection table.
|
void |
setInverseJoin(DeployTableJoin inverseJoin)
ManyToMany only, join from foreign table to intersection table.
|
void |
setManyToMany(boolean isManyToMany)
Set to true if this is a many to many.
|
void |
setMapKey(String mapKey)
Set the default mapKey to use when returning a Map.
|
void |
setModifyListenMode(BeanCollection.ModifyListenMode modifyListenMode)
Set the mode for listening to changes to the List Set or Map.
|
void |
setTargetType(Class<?> cls)
When generics is not used for manyType you can specify via annotations.
|
void |
setUnidirectional(boolean unidirectional)
Set to true if this is a unidirectional relationship.
|
getBeanTable, getCascadeInfo, getExtraWhere, getMappedBy, getTableJoin, getTargetType, isOuterJoin, isScalar, setBeanTable, setExtraWhere, setMappedBy, setOuterJoingetDbBind, 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 DeployBeanPropertyAssocMany(DeployBeanDescriptor<?> desc, Class<T> targetType, ManyType manyType)
public void setTargetType(Class<?> cls)
Really only expect this for Scala due to a Scala compiler bug at the moment. Otherwise I'd probably not bother support this.
public ManyType getManyType()
public boolean isManyToMany()
public void setManyToMany(boolean isManyToMany)
public BeanCollection.ModifyListenMode getModifyListenMode()
public void setModifyListenMode(BeanCollection.ModifyListenMode modifyListenMode)
public boolean isUnidirectional()
public void setUnidirectional(boolean unidirectional)
public TableJoin createIntersectionTableJoin()
public TableJoin createInverseTableJoin()
public DeployTableJoin getIntersectionJoin()
public DeployTableJoin getInverseJoin()
public void setIntersectionJoin(DeployTableJoin intersectionJoin)
public void setInverseJoin(DeployTableJoin inverseJoin)
public String getFetchOrderBy()
public String getMapKey()
public void setMapKey(String mapKey)
public void setFetchOrderBy(String orderBy)
Copyright © 2014. All Rights Reserved.