java.lang.Object
org.fuin.ddd4j.jsonb.AggregateVersionJsonbAdapter
- All Implemented Interfaces:
jakarta.json.bind.adapter.JsonbAdapter<org.fuin.ddd4j.core.AggregateVersion,Integer>
@ThreadSafe
public final class AggregateVersionJsonbAdapter
extends Object
implements jakarta.json.bind.adapter.JsonbAdapter<org.fuin.ddd4j.core.AggregateVersion,Integer>
Converts an aggregate version into an integer and back (JSON-B).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.fuin.ddd4j.core.AggregateVersionadaptFromJson(Integer value) adaptToJson(org.fuin.ddd4j.core.AggregateVersion version)
-
Constructor Details
-
AggregateVersionJsonbAdapter
public AggregateVersionJsonbAdapter()
-
-
Method Details
-
adaptToJson
-
adaptFromJson
-