@Override public void applyProperties(PropertyInterceptor interceptor) { Throwables.checkNull(interceptor); startBatchApply(interceptor) .addProperty(PROP_state, getState()) .apply(); }
/** * start batch applier. * @param interceptor the property interceptor * @return the batch applier. * @since 1.0.8 */ protected BatchApplier<T> startBatchApply(PropertyInterceptor interceptor) { return new BatchApplier<>(this, interceptor); }
@Override public void applyProperties(PropertyInterceptor interceptor) { Throwables.checkNull(interceptor); startBatchApply(interceptor) .addProperty(PROP_AGE, getAge()) .addProperty(PROP_NAME, getName()) .addProperty(PROP_ID, getId()) .addProperty(PROP_TAGS, getTags()) .apply(); }
@Override public void applyProperties(PropertyInterceptor interceptor) { Throwables.checkNull(interceptor); startBatchApply(interceptor) .addProperty(PROP_state, getState()) .apply(); }
/** * start batch applier. * @param interceptor the property interceptor * @return the batch applier. * @since 1.0.8 */ protected BatchApplier<T> startBatchApply(PropertyInterceptor interceptor) { return new BatchApplier<>(this, interceptor); }
@Override public void applyProperties(PropertyInterceptor interceptor) { Throwables.checkNull(interceptor); startBatchApply(interceptor) .addProperty(PROP_AGE, getAge()) .addProperty(PROP_NAME, getName()) .addProperty(PROP_ID, getId()) .addProperty(PROP_TAGS, getTags()) .apply(); }