@Test public void shouldReturnFalseWhenAskingIfNullForNullableParameter() { PreparedParameter parameter = new PreparedParameter(null, parameter().nullable().build(), null); assertThat(parameter.isNotNull()).isFalse(); }
public boolean isNotNull() { return !isNullable(); }
PreparedParameter { public boolean isNotNull() { return !isNullable(); } }
PreparedParameter { public boolean isNotNull() { return !isNullable(); } PreparedParameter(RepositoryName sourceRepository, Parameter parameter, PreparedLevel[] levels); }
PreparedParameter { public boolean isNotNull() { return !isNullable(); } PreparedParameter(RepositoryName sourceRepository, Parameter parameter, PreparedLevel[] levels); LevelIndex<PreparedEntry> getIndex(); void setIndex(LevelIndex<PreparedEntry> index); PreparedLevel[] getLevels(); String getName(); RepositoryName getSourceRepository(); int getLevelCount(); int getInputLevelsCount(); boolean isNullable(); boolean isCacheable(); boolean isNotNull(); char getArraySeparator(); Map<String, Integer> getLevelNameMap(); void setLevelNameMap(Map<String, Integer> levelNameMap); PreparedLevel getOutputLevel(int levelIndex); }
PreparedParameter { public boolean isNotNull() { return !isNullable(); } PreparedParameter(RepositoryName sourceRepository, Parameter parameter, PreparedLevel[] levels); LevelIndex<PreparedEntry> getIndex(); void setIndex(LevelIndex<PreparedEntry> index); PreparedLevel[] getLevels(); String getName(); RepositoryName getSourceRepository(); int getLevelCount(); int getInputLevelsCount(); boolean isNullable(); boolean isCacheable(); boolean isNotNull(); char getArraySeparator(); Map<String, Integer> getLevelNameMap(); void setLevelNameMap(Map<String, Integer> levelNameMap); PreparedLevel getOutputLevel(int levelIndex);  }