public class BindableProperty extends Object implements Bindable
| Modifier and Type | Field and Description |
|---|---|
protected BeanProperty |
prop |
| Constructor and Description |
|---|
BindableProperty(BeanProperty prop) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChanged(PersistRequestBean<?> request,
List<Bindable> list)
For Updates including only changed properties add the Bindable to the
list if it should be included in the 'update set'.
|
void |
dmlAppend(GenerateDmlRequest request,
boolean checkIncludes)
append sql to the buffer with prefix and suffix options.
|
void |
dmlBind(BindableRequest request,
boolean checkIncludes,
Object bean)
Bind given the request and bean.
|
void |
dmlBindWhere(BindableRequest request,
boolean checkIncludes,
Object bean) |
void |
dmlInsert(GenerateDmlRequest request,
boolean checkIncludes)
append sql to the buffer with prefix and suffix options.
|
void |
dmlWhere(GenerateDmlRequest request,
boolean checkIncludes,
Object bean)
Used for dynamic where clause generation.
|
String |
toString() |
protected final BeanProperty prop
public BindableProperty(BeanProperty prop)
public void addChanged(PersistRequestBean<?> request, List<Bindable> list)
BindableaddChanged in interface Bindablepublic void dmlInsert(GenerateDmlRequest request, boolean checkIncludes)
Bindablepublic void dmlAppend(GenerateDmlRequest request, boolean checkIncludes)
Bindablepublic void dmlWhere(GenerateDmlRequest request, boolean checkIncludes, Object bean)
public void dmlBind(BindableRequest request, boolean checkIncludes, Object bean) throws SQLException
BindabledmlBind in interface BindableSQLExceptionpublic void dmlBindWhere(BindableRequest request, boolean checkIncludes, Object bean) throws SQLException
dmlBindWhere in interface BindableSQLExceptionCopyright © 2014. All Rights Reserved.