com.atlassian.jira.entity
Class ProjectCategoryFactory
java.lang.Object
com.atlassian.jira.entity.AbstractEntityFactory<ProjectCategory>
com.atlassian.jira.entity.ProjectCategoryFactory
- All Implemented Interfaces:
- EntityBuilder<ProjectCategory>, EntityFactory<ProjectCategory>, NamedEntityBuilder<ProjectCategory>
public class ProjectCategoryFactory
- extends AbstractEntityFactory<ProjectCategory>
ProjectCategory EntityFactory
- Since:
- v4.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectCategoryFactory
public ProjectCategoryFactory()
getEntityName
public String getEntityName()
- Description copied from interface:
NamedEntityBuilder
- The name of the Entity as defined in the entitymodel.xml file.
- Returns:
- the name of the Entity.
build
public ProjectCategory build(org.ofbiz.core.entity.GenericValue genericValue)
- Description copied from interface:
EntityBuilder
- Builds an instance of this Entity from the given GenericValue.
- Parameters:
genericValue
- GenericValue for the entity
- Returns:
- the entity Object
fieldMapFrom
public FieldMap fieldMapFrom(ProjectCategory value)
- Description copied from interface:
EntityFactory
- Builds a FieldMap from an entity Object.
The FieldMap is the data held by a GenericValue, so this basically is the reverse operation of turning an object
into a GenericValue.
- Parameters:
value
- the Entity value
- Returns:
- Map of field values
Copyright © 2002-2013 Atlassian. All Rights Reserved.