T - the generic type of the property.public class AbstractProperty.PropertyBuilder<T extends AbstractProperty<? extends V>> extends Object implements Builder<T>
| Modifier and Type | Field and Description |
|---|---|
private boolean |
assignValue |
private ObjectValidatorBuilder<?,? extends AbstractProperty.PropertyBuilder<? extends T>,?> |
builder |
private Bean |
newBean |
| Constructor and Description |
|---|
PropertyBuilder()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
T |
build()
Creates a new instance of the object to build.
|
AbstractProperty.PropertyBuilder<T> |
withBean(Bean otherBean) |
AbstractProperty.PropertyBuilder<T> |
withValue()
Also assign the
value from the original property. |
private ObjectValidatorBuilder<?,? extends AbstractProperty.PropertyBuilder<? extends T extends AbstractProperty<? extends V>>,?> builder
private boolean assignValue
private Bean newBean
public AbstractProperty.PropertyBuilder<T> withBean(Bean otherBean)
otherBean - the new value of AbstractProperty.getBean().public AbstractProperty.PropertyBuilder<T> withValue()
value from the original property. WritableProperty may hold any kind of value so the value may be mutable. If you are
using this builder to create a copy of the property this might have undesired effects.public T build()
BuilderBuilder is reused, any additional changes to the
Builder shall NOT have any effect on instances previously returned by this method.build in interface Builder<T extends AbstractProperty<? extends V>>Copyright © 2001–2016 mmm-Team. All rights reserved.