java.lang.Object
io.ebeaninternal.server.deploy.BeanFkeyProperty
- All Implemented Interfaces:
ExpressionPath,ElPropertyDeploy,ElPropertyValue
Used to evaluate imported foreign keys so as to avoid unnecessary joins.
-
Field Summary
Fields inherited from interface io.ebeaninternal.server.el.ElPropertyDeploy
ROOT_ELPREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassocIdExpression(String prefix, String operator) Returns null as not an AssocOne.assocIdInExpr(String prefix) Returns null as not an AssocOne.assocIdInValueExpr(boolean not, int size) Returns null as not an AssocOne.Object[]assocIdValues(EntityBean value) Returns null as not an AssocOne.assocIsEmpty(SpiExpressionRequest request, String path) Return the logical where clause to support "Is empty".Return the underlying bean property.booleanReturn true if the property is a formula with a join clause.booleanReturns false.booleancontainsManySince(String sinceProperty) Return true if there is a property is on the path after sinceProperty that is a 'many' property.dbColumn()Return the deployment db column for this property.elName()The ElPrefix plus name.elPlaceholder(boolean encrypted) Return the place holder in the form of ${elPrefix}dbColumn.elPrefix()Return the prefix path of the property.intReturn the fetch preference.booleanReturn true if this is an aggregation property.booleanReturns false as not an AssocOne.booleanReturn true if the property is a OneToMany or ManyToMany associated bean property.booleanReturn true if any path of this path contains a Associated One or Many.booleanReturns false for keys.booleanReturns false for keys.intjdbcType()localEncrypt(Object value) Encrypt the input value return the encrypted value.name()Return the name of the property.pathGetNested(Object bean) Return the value ensuring objects prior to the top scalar property are automatically populated.voidproperty()toString()
-
Constructor Details
-
BeanFkeyProperty
-
-
Method Details
-
toString
-
isAggregation
public boolean isAggregation()Description copied from interface:ElPropertyDeployReturn true if this is an aggregation property.- Specified by:
isAggregationin interfaceElPropertyDeploy
-
fetchPreference
public int fetchPreference()Description copied from interface:ElPropertyDeployReturn the fetch preference. This can be used to control which ToMany relationship is left as a 'join' and which get converted to query join.- Specified by:
fetchPreferencein interfaceElPropertyDeploy
-
create
-
isDbEncrypted
public boolean isDbEncrypted()Returns false for keys.- Specified by:
isDbEncryptedin interfaceElPropertyValue
-
isLocalEncrypted
public boolean isLocalEncrypted()Returns false for keys.- Specified by:
isLocalEncryptedin interfaceElPropertyValue
-
localEncrypt
Description copied from interface:ElPropertyValueEncrypt the input value return the encrypted value.- Specified by:
localEncryptin interfaceElPropertyValue
-
containsFormulaWithJoin
public boolean containsFormulaWithJoin()Description copied from interface:ElPropertyDeployReturn true if the property is a formula with a join clause.- Specified by:
containsFormulaWithJoinin interfaceElPropertyDeploy
-
containsMany
public boolean containsMany()Returns false.- Specified by:
containsManyin interfaceElPropertyDeploy- Specified by:
containsManyin interfaceExpressionPath
-
containsManySince
Description copied from interface:ElPropertyDeployReturn true if there is a property is on the path after sinceProperty that is a 'many' property.- Specified by:
containsManySincein interfaceElPropertyDeploy
-
dbColumn
Description copied from interface:ElPropertyDeployReturn the deployment db column for this property.- Specified by:
dbColumnin interfaceElPropertyDeploy
-
name
Description copied from interface:ElPropertyDeployReturn the name of the property.- Specified by:
namein interfaceElPropertyDeploy
-
elName
Description copied from interface:ElPropertyDeployThe ElPrefix plus name.- Specified by:
elNamein interfaceElPropertyDeploy- Specified by:
elNamein interfaceExpressionPath
-
assocIdValues
Returns null as not an AssocOne.- Specified by:
assocIdValuesin interfaceExpressionPath
-
assocIdExpression
Returns null as not an AssocOne.- Specified by:
assocIdExpressionin interfaceExpressionPath
-
assocIdInExpr
Returns null as not an AssocOne.- Specified by:
assocIdInExprin interfaceElPropertyValue
-
assocIdInValueExpr
Returns null as not an AssocOne.- Specified by:
assocIdInValueExprin interfaceElPropertyValue
-
assocIsEmpty
Description copied from interface:ElPropertyValueReturn the logical where clause to support "Is empty".- Specified by:
assocIsEmptyin interfaceElPropertyValue
-
isAssocMany
public boolean isAssocMany()Description copied from interface:ElPropertyValueReturn true if the property is a OneToMany or ManyToMany associated bean property.- Specified by:
isAssocManyin interfaceElPropertyValue
-
isAssocId
public boolean isAssocId()Returns false as not an AssocOne.- Specified by:
isAssocIdin interfaceElPropertyValue- Specified by:
isAssocIdin interfaceExpressionPath
-
isAssocProperty
public boolean isAssocProperty()Description copied from interface:ElPropertyValueReturn true if any path of this path contains a Associated One or Many.- Specified by:
isAssocPropertyin interfaceElPropertyValue
-
elPlaceholder
Description copied from interface:ElPropertyDeployReturn the place holder in the form of ${elPrefix}dbColumn.The ${elPrefix} is replaced by the appropriate table alias.
- Specified by:
elPlaceholderin interfaceElPropertyDeploy
-
elPrefix
Description copied from interface:ElPropertyDeployReturn the prefix path of the property.This is use to determine joins required to support this property.
- Specified by:
elPrefixin interfaceElPropertyDeploy
-
jdbcType
public int jdbcType()- Specified by:
jdbcTypein interfaceExpressionPath
-
beanProperty
Description copied from interface:ElPropertyDeployReturn the underlying bean property.- Specified by:
beanPropertyin interfaceElPropertyDeploy
-
stringParser
- Specified by:
stringParserin interfaceExpressionPath
-
convert
- Specified by:
convertin interfaceExpressionPath
-
pathSet
- Specified by:
pathSetin interfaceExpressionPath
-
pathGet
- Specified by:
pathGetin interfaceExpressionPath
-
pathGetNested
Description copied from interface:ElPropertyValueReturn the value ensuring objects prior to the top scalar property are automatically populated.- Specified by:
pathGetNestedin interfaceElPropertyValue
-
property
- Specified by:
propertyin interfaceExpressionPath
-