GeneralConverter<Domain extends BasicDomainObject<IntIdentifier> , Entity extends BasicEntityObject<Domain> > class
Null safety
General converter entity <==> domain, it generalize and extract the conversion entity => domain & domain => entity in a single isolated class
See DefaultGeneralConverter for simple implementation example
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toDomain(
Entity entity) → Domain - Convert entity into domain.
-
toDomainAll(
List< Entity> entities) → List<Domain> - Convert a list of entities into a list of domain.
-
toEntity(
Domain domain) → Entity - Convert domain into entity.
-
toEntityAll(
List< Domain> domains) → List<Entity> - Convert a list of domain into a list of entities .
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited