com.atlassian.jira.entity
Class AbstractEntityFactory<E>
java.lang.Object
com.atlassian.jira.entity.AbstractEntityFactory<E>
- All Implemented Interfaces:
- EntityBuilder<E>, EntityFactory<E>, NamedEntityBuilder<E>
- Direct Known Subclasses:
- ApplicationUserEntityFactory, EntityPropertyFactory, IssueLinkFactory, IssueSecurityLevelFactory, IssueSecurityLevelPermissionFactory, MovedIssueKeyFactory, ProjectCategoryFactory, RemoteIssueLinkFactory, ReplicatedIndexOperationFactory, WorklogEntityFactory
public abstract class AbstractEntityFactory<E>
- extends Object
- implements EntityFactory<E>
An abstract EntityFactory that most implementations are expected to extend.
- Since:
- v4.4
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.
genericValueFrom
public org.ofbiz.core.entity.GenericValue genericValueFrom(E entity)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2013 Atlassian. All Rights Reserved.