public class DefaultValueForNullProvider extends Object implements ValueForNullProvider
| Constructor and Description |
|---|
DefaultValueForNullProvider() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
createSql(DbEntity entity,
DbAttribute column) |
protected ParameterBinding |
get(DbEntity entity,
DbAttribute column) |
boolean |
hasValueFor(DbEntity entity,
DbAttribute column) |
void |
set(DbEntity entity,
DbAttribute column,
Object value,
int type) |
public void set(DbEntity entity, DbAttribute column, Object value, int type)
protected ParameterBinding get(DbEntity entity, DbAttribute column)
public List<String> createSql(DbEntity entity, DbAttribute column)
createSql in interface ValueForNullProviderList of sql to set value for nullpublic boolean hasValueFor(DbEntity entity, DbAttribute column)
hasValueFor in interface ValueForNullProviderCopyright © 2001–2018 Apache Cayenne. All rights reserved.