Class ConfigurationContextEntityFactory
java.lang.Object
com.atlassian.jira.entity.AbstractEntityFactory<ConfigurationContext>
com.atlassian.jira.issue.fields.config.ConfigurationContextEntityFactory
- All Implemented Interfaces:
EntityBuilder<ConfigurationContext>
,EntityFactory<ConfigurationContext>
,NamedEntityBuilder<ConfigurationContext>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild
(org.ofbiz.core.entity.GenericValue gv) Builds an instance of this Entity from the given GenericValue.fieldMapFrom
(ConfigurationContext 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
-
Constructor Details
-
ConfigurationContextEntityFactory
public ConfigurationContextEntityFactory()
-
-
Method Details
-
fieldMapFrom
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
-
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
Description copied from interface:EntityBuilder
Builds an instance of this Entity from the given GenericValue.- Parameters:
gv
- GenericValue for the entity- Returns:
- the entity Object
-