Package dev.daymor.sakuraboot
Interface DataPresentation.PartialData
- Enclosing interface:
DataPresentation<I extends Comparable<? super I> & Serializable>
public static interface DataPresentation.PartialData
A marker interface that can be used to represent a partial data object.
This interface can be used as a parameter in validation annotations to
specify that certain fields should be validated when performing partial
data operations (e.g., PATCH).
Example:
@NotNull(groups = DataPresentation.PartialData.class) private Object yourField;
- Since:
- 0.1.5