java.lang.Object
org.fuin.ddd4j.jsonb.EntityIdJsonbAdapter
- All Implemented Interfaces:
jakarta.json.bind.adapter.JsonbAdapter<org.fuin.ddd4j.core.EntityId,String>
@ThreadSafe
public final class EntityIdJsonbAdapter
extends Object
implements jakarta.json.bind.adapter.JsonbAdapter<org.fuin.ddd4j.core.EntityId,String>
JAXB and JSON converter for an entity identifier.
-
Constructor Summary
ConstructorsConstructorDescriptionEntityIdJsonbAdapter(org.fuin.ddd4j.core.EntityIdFactory factory) Constructor with factory. -
Method Summary
Modifier and TypeMethodDescriptionorg.fuin.ddd4j.core.EntityIdadaptFromJson(String value) adaptToJson(org.fuin.ddd4j.core.EntityId value)
-
Constructor Details
-
EntityIdJsonbAdapter
public EntityIdJsonbAdapter(org.fuin.ddd4j.core.EntityIdFactory factory) Constructor with factory.- Parameters:
factory- Factory to use.
-
-
Method Details