public class BeanPropertyCompound extends BeanProperty
An Immutable Compound Value Object is similar to an Embedded bean but it doesn't require enhancement and MUST be treated as an Immutable type.
isAssocPropertyEXCLUDE_FROM_DELETE_WHERE, EXCLUDE_FROM_INSERT, EXCLUDE_FROM_UPDATE, EXCLUDE_FROM_UPDATE_WHEREROOT_ELPREFIX| Constructor and Description |
|---|
BeanPropertyCompound(BeanDescriptorMap owner,
BeanDescriptor<?> descriptor,
DeployBeanPropertyCompound deploy)
Create the property.
|
| Modifier and Type | Method and Description |
|---|---|
void |
appendSelect(DbSqlContext ctx,
boolean subQuery) |
ElPropertyValue |
buildElPropertyValue(String propName,
String remainder,
ElPropertyChainBuilder chain,
boolean propertyDeploy) |
Object |
elGetReference(Object bean)
Return the value ensuring objects prior to the top scalar property are
automatically populated.
|
BeanProperty[] |
getScalarProperties() |
Object |
getValue(Object bean)
Return the value of the property method.
|
Object |
getValueIntercept(Object bean) |
Object |
getValueUnderlying(Object bean)
Get the underlying compound type.
|
void |
initialise()
Initialise the property before returning to client code.
|
void |
jsonRead(ReadJsonContext ctx,
Object bean) |
void |
jsonWrite(WriteJsonContext ctx,
Object bean) |
void |
load(SqlBeanLoad sqlBeanLoad) |
void |
loadIgnore(DbReadContext ctx) |
Object |
read(DbReadContext ctx)
Read the data from the resultSet effectively ignoring it and returning
null.
|
Object |
readSet(DbReadContext ctx,
Object bean,
Class<?> type) |
void |
setDeployOrder(int deployOrder)
Set the order this property appears in the bean.
|
void |
setValue(Object bean,
Object value)
Set the value of the property without interception or
PropertyChangeSupport.
|
void |
setValueIntercept(Object bean,
Object value)
Set the value of the property.
|
appendFrom, bind, buildSelectExpressionChain, containsFormulaWithJoin, containsMany, containsManySince, convertToLogicalType, copyProperty, elConvertType, elGetValue, elSetReference, elSetValue, getAssocIdInExpr, getAssocIdInValueExpr, getAssocOneIdExpr, getAssocOneIdValues, getBeanDescriptor, getBeanProperty, getCacheDataValue, getDbBind, getDbColumn, getDbColumnDefn, getDbConstraintExpression, getDbEncryptedType, getDbLength, getDbScale, getDbType, getDecryptProperty, getDecryptProperty, getDecryptSql, getDecryptSql, getDefaultValue, getDeployOrder, getDeployProperty, getElName, getElPlaceholder, getElPrefix, getEncryptKey, getExtraAttribute, getField, getFullBeanName, getGeneratedProperty, getJdbcType, getName, getPropertyType, getReadMethod, getScalarType, getSecondaryTableJoinPrefix, getStringFormatter, getStringParser, getValueViaReflection, getValueWithInheritance, getWriteMethod, hasChanged, isAssignableFrom, isAssocId, isAssocProperty, isCascadeValidate, isDateTimeCapable, isDbEncrypted, isDbInsertable, isDbRead, isDbUpdatable, isDDLNotNull, isDeployOnly, isEmbedded, isFetchEager, isFormula, isId, isInherited, isLob, isLocal, isLocalEncrypted, isNaturalKey, isNullable, isScalar, isSecondaryTable, isTransient, isUnique, isValueLoaded, isVersion, parseDateTime, readData, readSetOwning, renderDbType, setCacheDataValue, toBeanType, toString, writeDatapublic BeanPropertyCompound(BeanDescriptorMap owner, BeanDescriptor<?> descriptor, DeployBeanPropertyCompound deploy)
public void initialise()
BeanPropertyinitialise in class BeanPropertypublic void setDeployOrder(int deployOrder)
BeanPropertysetDeployOrder in class BeanPropertypublic Object getValue(Object bean)
BeanPropertygetValue in class BeanPropertypublic Object getValueIntercept(Object bean)
getValueIntercept in class BeanPropertypublic void setValue(Object bean, Object value)
BeanPropertysetValue in class BeanPropertypublic void setValueIntercept(Object bean, Object value)
BeanPropertysetValueIntercept in class BeanPropertypublic ElPropertyValue buildElPropertyValue(String propName, String remainder, ElPropertyChainBuilder chain, boolean propertyDeploy)
buildElPropertyValue in class BeanPropertypublic void appendSelect(DbSqlContext ctx, boolean subQuery)
appendSelect in class BeanPropertypublic BeanProperty[] getScalarProperties()
public Object readSet(DbReadContext ctx, Object bean, Class<?> type) throws SQLException
readSet in class BeanPropertySQLExceptionpublic Object read(DbReadContext ctx) throws SQLException
read in class BeanPropertySQLExceptionpublic void loadIgnore(DbReadContext ctx)
loadIgnore in class BeanPropertypublic void load(SqlBeanLoad sqlBeanLoad) throws SQLException
load in class BeanPropertySQLExceptionpublic Object elGetReference(Object bean)
ElPropertyValueelGetReference in interface ElPropertyValueelGetReference in class BeanPropertypublic void jsonWrite(WriteJsonContext ctx, Object bean)
jsonWrite in class BeanPropertypublic void jsonRead(ReadJsonContext ctx, Object bean)
jsonRead in class BeanPropertyCopyright © 2014. All Rights Reserved.