org.apache.cayenne.merge

## Interface ValueForNullProvider

- All Known Implementing Classes:
    DefaultValueForNullProvider

      public interface ValueForNullProvider

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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

Copyright © 2001–2014 Apache Cayenne. All rights reserved.