public abstract class AbstractEntityFactory<E> extends Object implements EntityFactory<E>
Constructor and Description |
---|
AbstractEntityFactory() |
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.
|
org.ofbiz.core.entity.GenericValue |
genericValueFrom(E entity) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
fieldMapFrom
getEntityName
build
public List<E> buildList(Collection<org.ofbiz.core.entity.GenericValue> gvList)
EntityFactory
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.
buildList
in interface EntityFactory<E>
gvList
- List of GenericValuespublic org.ofbiz.core.entity.GenericValue genericValueFrom(E entity)
Copyright © 2002-2015 Atlassian. All Rights Reserved.