Class CountEntityBuilder

java.lang.Object
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 Details

    • CountEntityBuilder

      public CountEntityBuilder()
  • Method Details

    • 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