Modifier and Type | Method and Description |
---|---|
Entity |
build()
Builds the Entity instance
|
<T> Entity.Builder |
with(Attribute<T> attribute,
T value)
Adds the given attribute value to this builder
|
Entity.Builder |
withDefaultValues()
Sets the default value for all attributes.
|
<T> Entity.Builder with(Attribute<T> attribute, T value)
T
- the value typeattribute
- the attributevalue
- the valueEntity.Builder withDefaultValues()
Property.defaultValue()
Entity build()