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
ConstructorsModifierConstructorDescriptionprotectedDefaultEntityObjectMapperFactory(DomainType domainType) Instantiates a new instance compatible with the given domain type. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleancompatibleWith(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, waitMethods 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:EntityObjectMapperFactoryReturns true if this mapper factory is compatible with the given domain type.- Specified by:
compatibleWithin interfaceEntityObjectMapperFactory- Parameters:
domainType- the domain type- Returns:
- true if this mapper factory is compatible with the given domain type
-