com.atlassian.jira.entity
Class CountEntityBuilder

java.lang.Object
  extended by com.atlassian.jira.entity.CountEntityBuilder
All Implemented Interfaces:
EntityBuilder<Long>

public class CountEntityBuilder
extends Object
implements EntityBuilder<Long>

Implementation of EntityBuilder to return a count. That is, it returns a long value as returned in a SELECT COUNT(*) FROM ... query.

Since:
v6.1

Constructor Summary
CountEntityBuilder()
           
 
Method Summary
 Long build(org.ofbiz.core.entity.GenericValue genericValue)
          Builds an instance of this Entity from the given GenericValue.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CountEntityBuilder

public CountEntityBuilder()
Method Detail

build

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

Specified by:
build in interface EntityBuilder<Long>
Parameters:
genericValue - GenericValue for the entity
Returns:
the entity Object


Copyright © 2002-2014 Atlassian. All Rights Reserved.