@Test public void testHasDefaultValue() { System.out.println("hasDefaultValue"); assertFalse(new TimeField().hasDefaultValue()); assertTrue(new TimeField(new Time(0)).hasDefaultValue()); assertTrue(new TimeField(null).hasDefaultValue()); assertFalse(new TimeField(false).hasDefaultValue()); assertTrue(new TimeField(true, new Time(0)).hasDefaultValue()); }
@Override public boolean hasDefaultValue() { return hasDefaultValue; }
TimeField implements FieldType<Time> { @Override public boolean hasDefaultValue() { return hasDefaultValue; } }
TimeField implements FieldType<Time> { @Override public boolean hasDefaultValue() { return hasDefaultValue; } TimeField();  TimeField(final Time defaultValue);  TimeField(final boolean withTimeZone);  TimeField(final boolean withTimeZone, final Time defaultValue); }
TimeField implements FieldType<Time> { @Override public boolean hasDefaultValue() { return hasDefaultValue; } TimeField();  TimeField(final Time defaultValue);  TimeField(final boolean withTimeZone);  TimeField(final boolean withTimeZone, final Time defaultValue); @Override Types getType(); boolean isWithTimeZone(); @Override Time getDefaultValue(); @Override boolean hasDefaultValue(); @Override Time convert(Object objValue); @Override JSONObject toJson(); }
TimeField implements FieldType<Time> { @Override public boolean hasDefaultValue() { return hasDefaultValue; } TimeField();  TimeField(final Time defaultValue);  TimeField(final boolean withTimeZone);  TimeField(final boolean withTimeZone, final Time defaultValue); @Override Types getType(); boolean isWithTimeZone(); @Override Time getDefaultValue(); @Override boolean hasDefaultValue(); @Override Time convert(Object objValue); @Override JSONObject toJson();  }