Class IdRequiredDataBuilder<T extends GenericDataBuilder<T,K>,K>
java.lang.Object
com.adobe.cq.wcm.core.components.models.datalayer.builder.IdRequiredDataBuilder<T,K>
- Type Parameters:
T- The data builder type.K- The data type.
Temporary data builder that requires an ID supplier to be set.
This is typically used as the first level of a data builder to ensure that the caller specifies the ID field value
as required by the
ComponentData interface.-
Method Summary
-
Method Details
-
withId
Set the supplier that supplies the component's ID.- Parameters:
supplier- The ID value supplier.- Returns:
- A new data builder.
- See Also:
-