@Test(expected = InternalException.class) public void 引数がNULLであることを表明() throws Exception { target.convert(null); }
@Override public String convert(Timestamp target) { checkNotNull(target); StringBuilder sb = new StringBuilder(); sb.append(QUOTE_STRING); sb.append(target.toString()); sb.append(QUOTE_STRING); return sb.toString(); }
TimestampLiteralConvertor implements LiteralConvertor<Timestamp> { @Override public String convert(Timestamp target) { checkNotNull(target); StringBuilder sb = new StringBuilder(); sb.append(QUOTE_STRING); sb.append(target.toString()); sb.append(QUOTE_STRING); return sb.toString(); } }
TimestampLiteralConvertor implements LiteralConvertor<Timestamp> { @Override public String convert(Timestamp target) { checkNotNull(target); StringBuilder sb = new StringBuilder(); sb.append(QUOTE_STRING); sb.append(target.toString()); sb.append(QUOTE_STRING); return sb.toString(); } TimestampLiteralConvertor(); }
TimestampLiteralConvertor implements LiteralConvertor<Timestamp> { @Override public String convert(Timestamp target) { checkNotNull(target); StringBuilder sb = new StringBuilder(); sb.append(QUOTE_STRING); sb.append(target.toString()); sb.append(QUOTE_STRING); return sb.toString(); } TimestampLiteralConvertor(); @Override String convert(Timestamp target); @Override Class<?> getJavaType(); }
TimestampLiteralConvertor implements LiteralConvertor<Timestamp> { @Override public String convert(Timestamp target) { checkNotNull(target); StringBuilder sb = new StringBuilder(); sb.append(QUOTE_STRING); sb.append(target.toString()); sb.append(QUOTE_STRING); return sb.toString(); } TimestampLiteralConvertor(); @Override String convert(Timestamp target); @Override Class<?> getJavaType();  }