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 Details

    • AbstractFactory

      protected AbstractFactory(DomainType domainType)
      Instantiates a new instance supporting the given domain type.
      Parameters:
      domainType - the domain type
  • Method Details

    • supports

      public final boolean supports(DomainType domainType)
      Description copied from interface: EntityObjectMapper.Factory
      Returns true if this mapper factory supports the given domain type.
      Specified by:
      supports in interface EntityObjectMapper.Factory
      Parameters:
      domainType - the domain type
      Returns:
      true if this mapper factory supports the given domain type