Package 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>
ProjectCategory EntityFactory
- Since:
- v4.4
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LongProject category ID for 'None' project category. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild(org.ofbiz.core.entity.GenericValue genericValue) Builds an instance of this Entity from the given GenericValue.fieldMapFrom(ProjectCategory value) Builds a FieldMap from an entity Object.The name of the Entity as defined in the entitymodel.xml file.Methods inherited from class com.atlassian.jira.entity.AbstractEntityFactory
buildList, genericValueFrom, toString
-
Field Details
-
NONE_PROJECT_CATEGORY_ID
Project category ID for 'None' project category.
-
-
Constructor Details
-
ProjectCategoryFactory
public ProjectCategoryFactory()
-
-
Method Details
-
getEntityName
Description copied from interface:NamedEntityBuilderThe name of the Entity as defined in the entitymodel.xml file.- Returns:
- the name of the Entity.
-
build
Description copied from interface:EntityBuilderBuilds an instance of this Entity from the given GenericValue.- Parameters:
genericValue- GenericValue for the entity- Returns:
- the entity Object
-
fieldMapFrom
Description copied from interface:EntityFactoryBuilds 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
-