Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.merge
Interface ValueForNullProvider

All Known Implementing Classes:
  DefaultValueForNullProvider

    public interface ValueForNullProvider

Method Summary
`List<String>` | `createSql(DbEntity entity, DbAttribute column)`
`boolean` | `hasValueFor(DbEntity entity, DbAttribute column)`

Method Detail

### hasValueFor

    boolean hasValueFor(DbEntity entity,
                        DbAttribute column)

  Returns:
    true if there exist a value that should be inserted for null values

### createSql

    List<String> createSql(DbEntity entity,
                           DbAttribute column)

  Returns:
    a `List` of sql to set value for null

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.