com.atlassian.jira.entity
Class ApplicationUserEntityFactory

java.lang.Object
  extended by com.atlassian.jira.entity.AbstractEntityFactory<ApplicationUserEntity>
      extended by com.atlassian.jira.entity.ApplicationUserEntityFactory
All Implemented Interfaces:
EntityBuilder<ApplicationUserEntity>, EntityFactory<ApplicationUserEntity>, NamedEntityBuilder<ApplicationUserEntity>

public class ApplicationUserEntityFactory
extends AbstractEntityFactory<ApplicationUserEntity>

Since:
v6.0

Field Summary
static String LOWER_USER_NAME
           
static String USER_KEY
           
 
Constructor Summary
ApplicationUserEntityFactory()
           
 
Method Summary
 ApplicationUserEntity build(org.ofbiz.core.entity.GenericValue genericValue)
          Builds an instance of this Entity from the given GenericValue.
 FieldMap fieldMapFrom(ApplicationUserEntity value)
          Builds a FieldMap from an entity Object.
 String getEntityName()
          The name of the Entity as defined in the entitymodel.xml file.
 
Methods inherited from class com.atlassian.jira.entity.AbstractEntityFactory
buildList, genericValueFrom, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

USER_KEY

public static final String USER_KEY
See Also:
Constant Field Values

LOWER_USER_NAME

public static final String LOWER_USER_NAME
See Also:
Constant Field Values
Constructor Detail

ApplicationUserEntityFactory

public ApplicationUserEntityFactory()
Method Detail

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 ApplicationUserEntity 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(ApplicationUserEntity 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-2014 Atlassian. All Rights Reserved.