public interface ElPropertyValue extends ElPropertyDeploy
This can be used for local sorting and filtering.
| Type | Property and Description |
|---|---|
boolean |
isAssoc
Return true if any path of this path contains a Associated One or Many.
|
ROOT_ELPREFIX| Modifier and Type | Method and Description |
|---|---|
Object |
elConvertType(Object value)
Convert the value to the expected type.
|
Object |
elGetReference(Object bean)
Return the value ensuring objects prior to the top scalar property are
automatically populated.
|
Object |
elGetValue(Object bean)
Return the value from a given entity bean.
|
void |
elSetReference(Object bean)
Make the owning bean of this property a reference (as in not new/dirty).
|
void |
elSetValue(Object bean,
Object value,
boolean populate,
boolean reference)
Set a value given a root level bean.
|
String |
getAssocIdInExpr(String prefix)
Return the logical id in expression taking into account embedded id's.
|
String |
getAssocIdInValueExpr(int size)
Return the logical id value expression taking into account embedded id's.
|
String |
getAssocOneIdExpr(String prefix,
String operator)
Return the Id expression string.
|
Object[] |
getAssocOneIdValues(Object bean)
Return the Id values for the given bean value.
|
int |
getDeployOrder()
Return the deploy order for the property.
|
int |
getJdbcType()
Return the underlying JDBC type or 0 if this is not a scalar type.
|
StringFormatter |
getStringFormatter()
Return the default StringFormatter for the scalar property.
|
StringParser |
getStringParser()
Return the default StringParser for the scalar property.
|
boolean |
isAssocId()
Return true if this is an ManyToOne or OneToOne associated bean property.
|
boolean |
isAssocProperty()
Return true if any path of this path contains a Associated One or Many.
|
boolean |
isDateTimeCapable()
Return true if the last type is "DateTime capable" - can support
parseDateTime(long). |
boolean |
isDbEncrypted()
Return true if the property is encrypted in the DB.
|
boolean |
isLocalEncrypted()
Return true if the property is encrypted via Java.
|
Object |
parseDateTime(long systemTimeMillis)
For DateTime capable scalar types convert the long systemTimeMillis into
an appropriate java time (Date,Timestamp,Time,Calendar, JODA type etc).
|
containsFormulaWithJoin, containsMany, containsManySince, getBeanProperty, getDbColumn, getElName, getElPlaceholder, getElPrefix, getNameObject[] getAssocOneIdValues(Object bean)
String getAssocOneIdExpr(String prefix, String operator)
Typically used to produce id = ? expression strings.
String getAssocIdInValueExpr(int size)
String getAssocIdInExpr(String prefix)
boolean isAssocId()
boolean isAssocProperty()
boolean isLocalEncrypted()
boolean isDbEncrypted()
int getDeployOrder()
StringParser getStringParser()
StringFormatter getStringFormatter()
boolean isDateTimeCapable()
parseDateTime(long).int getJdbcType()
Object parseDateTime(long systemTimeMillis)
Object elGetReference(Object bean)
void elSetValue(Object bean, Object value, boolean populate, boolean reference)
If populate then
void elSetReference(Object bean)
Copyright © 2014. All Rights Reserved.