protected void writeFields( final ConcreteClass instance, final ObjectOutputStream objectOutputStream) { objectOutputStream.writeInt(instance.value); }
protected void writeDate(final Date date, ObjectOutputStream objectOutputStream) { objectOutputStream.writeLong(date.getTime()); }