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
`java.util.List<java.lang.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

    java.util.List<java.lang.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-2012 Apache Cayenne. All Rights Reserved.