Interface TransientAttributeDefinition.Builder<T, B extends TransientAttributeDefinition.Builder<T,B>>
- Type Parameters:
T- the attribute value type
- All Superinterfaces:
AttributeDefinition.Builder<T,B>, ValueAttributeDefinition.Builder<T, B>
- Enclosing interface:
TransientAttributeDefinition<T>
public static sealed interface TransientAttributeDefinition.Builder<T, B extends TransientAttributeDefinition.Builder<T,B>>
extends ValueAttributeDefinition.Builder<T,B>
Builds a transient AttributeDefinition instance
-
Method Summary
Methods inherited from interface AttributeDefinition.Builder
attribute, caption, captionResource, captionResource, comparator, dateTimePattern, dateTimePattern, description, descriptionResource, descriptionResource, format, fractionDigits, hidden, mnemonic, mnemonicResource, mnemonicResource, numberGrouping, roundingModeMethods inherited from interface ValueAttributeDefinition.Builder
build, defaultValue, defaultValue, items, maximum, maximumLength, minimum, nullable, range, trim, validator
-
Method Details
-
modifies
Specifies whether the value being modified makes the owning entity modified, for a transient attribute standing for something a custom persistence stores by other means, a password set through a procedure for example. The entity then reads as modified, enabling an update, as an edit panel does.
The default persistence updates columns only, throwing for an entity with no column modified, so an update of an entity with only such values modified must be handled by the custom persistence: storing the value, saving it, and updating the entity only if a column is modified as well.
Default false.
- Parameters:
modifies- true if modifying the value makes the owning entity modified- Returns:
- this builder instance
-