com.atlassian.jira.entity
Class AbstractEntityFactory<E>
java.lang.Object
com.atlassian.jira.entity.AbstractEntityFactory<E>
- All Implemented Interfaces:
- EntityFactory<E>
- Direct Known Subclasses:
- IssueLinkFactory, IssueSecurityLevelFactory, ProjectCategoryFactory, RemoteIssueLinkFactory
public abstract class AbstractEntityFactory<E>
- extends Object
- implements EntityFactory<E>
An abstract EntityFactory that most implementations are expected to extend.
- Since:
- v4.4
Method Summary |
List<E> |
buildList(Collection<org.ofbiz.core.entity.GenericValue> gvList)
Builds a list of instances from a list of GenericValues. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractEntityFactory
public AbstractEntityFactory()
buildList
public List<E> buildList(Collection<org.ofbiz.core.entity.GenericValue> gvList)
- Description copied from interface:
EntityFactory
- Builds a list of instances from a list of GenericValues.
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.
- Specified by:
buildList
in interface EntityFactory<E>
- Parameters:
gvList
- List of GenericValues
- Returns:
- List of objects.
Copyright © 2002-2012 Atlassian. All Rights Reserved.