com.atlassian.jira.entity
Class IssueSecurityLevelFactory

java.lang.Object
  extended by com.atlassian.jira.entity.AbstractEntityFactory<IssueSecurityLevel>
      extended by com.atlassian.jira.entity.IssueSecurityLevelFactory
All Implemented Interfaces:
EntityFactory<IssueSecurityLevel>

public class IssueSecurityLevelFactory
extends AbstractEntityFactory<IssueSecurityLevel>

EntityFactory for IssueSecurityLevel

Since:
v5.0
See Also:
EntityFactory

Nested Class Summary
static class IssueSecurityLevelFactory.Builder
           
 
Constructor Summary
IssueSecurityLevelFactory()
           
 
Method Summary
 IssueSecurityLevel build(org.ofbiz.core.entity.GenericValue genericValue)
          Builds an instance of this Entity from the given GenericValue.
 FieldMap fieldMapFrom(IssueSecurityLevel 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueSecurityLevelFactory

public IssueSecurityLevelFactory()
Method Detail

getEntityName

public String getEntityName()
Description copied from interface: EntityFactory
The name of the Entity as defined in the entitymodel.xml file.

Returns:
the name of the Entity.

build

public IssueSecurityLevel build(org.ofbiz.core.entity.GenericValue genericValue)
Description copied from interface: EntityFactory
Builds an instance of this Entity from the given GenericValue.

Parameters:
genericValue - GenericValue for the entity
Returns:
the entity Object

fieldMapFrom

public FieldMap fieldMapFrom(IssueSecurityLevel 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-2012 Atlassian. All Rights Reserved.