implements GeneratedPropertyBuilder {
private String value;
private boolean readOnly;
- private boolean nullifyEmpty;
public GeneratedPropertyBuilderImpl(final String name) {
super(name);
this.readOnly = true;
- this.nullifyEmpty = false;
}
@Override
return this;
}
- @Override
- public GeneratedPropertyBuilderImpl setNullifyEmpty(final boolean flag) {
- this.nullifyEmpty = flag;
- return this;
- }
-
@Override
protected GeneratedPropertyBuilderImpl thisInstance() {
return this;
public GeneratedProperty toInstance(final Type definingType) {
final List<AnnotationType> annotations = toAnnotationTypes();
return new GeneratedPropertyImpl(definingType, getName(), annotations, getComment(), getAccessModifier(),
- getReturnType(), isFinal(), isStatic(), this.readOnly, this.nullifyEmpty, this.value);
+ getReturnType(), isFinal(), isStatic(), this.readOnly, this.value);
}
@Override