public interface EntityFactory<E> extends NamedEntityBuilder<E>
It is used by EntityEngine
to run queries that return Domain objects instead of GenericValues.
Modifier and Type | Method and Description |
---|---|
List<E> |
buildList(Collection<org.ofbiz.core.entity.GenericValue> gvList)
Builds a list of instances from a list of GenericValues.
|
Map<String,Object> |
fieldMapFrom(E value)
Builds a FieldMap from an entity Object.
|
getEntityName
build
List<E> buildList(Collection<org.ofbiz.core.entity.GenericValue> gvList)
This method is included in the interface so that the no-op implementation can take a performance shortcut and simply return the given list.
If a null list is input, then a null list will be output.
gvList
- List of GenericValuesCopyright © 2002-2017 Atlassian. All Rights Reserved.