Package is.codion.framework.json.domain
Class DefaultEntityObjectMapperFactory
java.lang.Object
is.codion.framework.json.domain.DefaultEntityObjectMapperFactory
- All Implemented Interfaces:
EntityObjectMapperFactory
A default
EntityObjectMapperFactory
implementation, extend to add custom serialisers/deserializers.
Subclasses should be exposed as a service.
-
Constructor Summary
ModifierConstructorDescriptionprotected
DefaultEntityObjectMapperFactory
(DomainType domainType) Instantiates a new instance compatible with the given domain type. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
compatibleWith
(DomainType domainType) Returns true if this mapper factory is compatible with the given domain type.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface is.codion.framework.json.domain.EntityObjectMapperFactory
entityObjectMapper
-
Constructor Details
-
DefaultEntityObjectMapperFactory
Instantiates a new instance compatible with the given domain type.- Parameters:
domainType
- the domain type
-
-
Method Details
-
compatibleWith
Description copied from interface:EntityObjectMapperFactory
Returns true if this mapper factory is compatible with the given domain type.- Specified by:
compatibleWith
in interfaceEntityObjectMapperFactory
- Parameters:
domainType
- the domain type- Returns:
- true if this mapper factory is compatible with the given domain type
-