public abstract class

AbstractEntityFactory

extends Object
implements EntityFactory<E>
java.lang.Object
   ↳ com.atlassian.jira.entity.AbstractEntityFactory<E>
Known Direct Subclasses

Class Overview

An abstract EntityFactory that most implementations are expected to extend.

Summary

Public Constructors
AbstractEntityFactory()
Public Methods
List<E> buildList(Collection<GenericValue> gvList)
Builds a list of instances from a list of GenericValues.
GenericValue genericValueFrom(E entity)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.entity.EntityBuilder
From interface com.atlassian.jira.entity.EntityFactory
From interface com.atlassian.jira.entity.NamedEntityBuilder

Public Constructors

public AbstractEntityFactory ()

Public Methods

public List<E> buildList (Collection<GenericValue> gvList)

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.

Parameters
gvList List of GenericValues
Returns
  • List of objects.

public GenericValue genericValueFrom (E entity)

public String toString ()