Package is.codion.framework.json.domain
Class EntityObjectMapper.AbstractFactory
java.lang.Object
is.codion.framework.json.domain.EntityObjectMapper.AbstractFactory
- All Implemented Interfaces:
EntityObjectMapper.Factory
- Enclosing class:
EntityObjectMapper
public abstract static class EntityObjectMapper.AbstractFactory
extends Object
implements EntityObjectMapper.Factory
An abstract
EntityObjectMapper.Factory implementation, extend to add custom serializers/deserializers.
Subclasses should be exposed as a service.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractFactory(DomainType domainType) Instantiates a new instance supporting the given domain type. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleansupports(DomainType domainType) Returns true if this mapper factory supports 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.EntityObjectMapper.Factory
entityObjectMapper
-
Constructor Details
-
AbstractFactory
Instantiates a new instance supporting the given domain type.- Parameters:
domainType- the domain type
-
-
Method Details
-
supports
Description copied from interface:EntityObjectMapper.FactoryReturns true if this mapper factory supports the given domain type.- Specified by:
supportsin interfaceEntityObjectMapper.Factory- Parameters:
domainType- the domain type- Returns:
- true if this mapper factory supports the given domain type
-