Package 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,ClusteredJobFactory,ClusterLockStatusEntity,ClusterNodeHeartbeatFactory,ConfigurationContextEntityFactory,EntityPropertyFactory,EntityPropertyIndexDocumentFactory,FieldConfigSchemeIssueTypeEntityFactory,FilterSubscriptionFactory,GlobalPermissionEntityFactory,IssueLinkFactory,IssueSecurityLevelFactory,IssueSecurityLevelPermissionFactory,MovedIssueKeyFactory,PermissionSchemeEntryFactory,ProductLicenseEntityFactory,ProjectCategoryFactory,ProjectComponentFactory,ReindexComponentFactory,ReindexRequestFactory,RemoteIssueLinkFactory,ReplicatedIndexOperationFactory,RunDetailsFactory,VersionFactory,WorklogEntityFactory
An abstract EntityFactory that most implementations are expected to extend.
- Since:
- v4.4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildList(Collection<org.ofbiz.core.entity.GenericValue> gvList) Builds a list of instances from a list of GenericValues.org.ofbiz.core.entity.GenericValuegenericValueFrom(E entity) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.jira.entity.EntityBuilder
buildMethods inherited from interface com.atlassian.jira.entity.EntityFactory
fieldMapFromMethods inherited from interface com.atlassian.jira.entity.NamedEntityBuilder
getEntityName
-
Constructor Details
-
AbstractEntityFactory
public AbstractEntityFactory()
-
-
Method Details
-
buildList
Description copied from interface:EntityFactoryBuilds 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:
buildListin interfaceEntityFactory<E>- Parameters:
gvList- List of GenericValues- Returns:
- List of objects.
-
genericValueFrom
-
toString
-