Interface OriginAware<SELF>
- Type Parameters:
SELF- the type of the implementing class (for fluent API support)
- All Known Subinterfaces:
ConditionalResult,DefaultResult,Function
public interface OriginAware<SELF>
Interface for model elements that are aware of their origin. OriginAware provides a fluent API
for setting the origin ID of a model element, typically used in workflow transitions and updates.
- Since:
- 1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionwithOriginId(DestinationId originId) Sets the origin ID for this element and returns the updated instance.
-
Method Details
-
withOriginId
Sets the origin ID for this element and returns the updated instance.- Parameters:
originId- the destination ID representing the origin- Returns:
- the updated instance with the new origin ID
-