com.atlassian.jira.index.ha
Class ReplicatedIndexOperationFactory

java.lang.Object
  extended by com.atlassian.jira.entity.AbstractEntityFactory<ReplicatedIndexOperation>
      extended by com.atlassian.jira.index.ha.ReplicatedIndexOperationFactory
All Implemented Interfaces:
EntityBuilder<ReplicatedIndexOperation>, EntityFactory<ReplicatedIndexOperation>, NamedEntityBuilder<ReplicatedIndexOperation>

public class ReplicatedIndexOperationFactory
extends AbstractEntityFactory<ReplicatedIndexOperation>

Factory for converting GVs to ReplicatedIndexOperation

Since:
v6.1

Constructor Summary
ReplicatedIndexOperationFactory()
           
 
Method Summary
 ReplicatedIndexOperation build(org.ofbiz.core.entity.GenericValue gv)
          Builds an instance of this Entity from the given GenericValue.
 Map<String,Object> fieldMapFrom(ReplicatedIndexOperation 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
 

Constructor Detail

ReplicatedIndexOperationFactory

public ReplicatedIndexOperationFactory()
Method Detail

fieldMapFrom

public Map<String,Object> fieldMapFrom(@Nonnull
                                       ReplicatedIndexOperation 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

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 ReplicatedIndexOperation build(@Nonnull
                                      org.ofbiz.core.entity.GenericValue gv)
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


Copyright © 2002-2014 Atlassian. All Rights Reserved.