Class GenericValueFunctions.GetLongFunction

java.lang.Object
com.atlassian.jira.entity.GenericValueFunctions.GetLongFunction
All Implemented Interfaces:
Function<org.ofbiz.core.entity.GenericValue,Long>, com.google.common.base.Function<org.ofbiz.core.entity.GenericValue,Long>, Function<org.ofbiz.core.entity.GenericValue,Long>
Enclosing class:
GenericValueFunctions

public static class GenericValueFunctions.GetLongFunction extends Object implements com.google.common.base.Function<org.ofbiz.core.entity.GenericValue,Long>, Function<org.ofbiz.core.entity.GenericValue,Long>
  • Constructor Details

    • GetLongFunction

      public GetLongFunction(String field)
  • Method Details

    • apply

      public Long apply(org.ofbiz.core.entity.GenericValue input)
      Description copied from interface: Function
      Resolves an output where an input is given.
      Specified by:
      apply in interface Function<org.ofbiz.core.entity.GenericValue,Long>
      Specified by:
      apply in interface com.google.common.base.Function<org.ofbiz.core.entity.GenericValue,Long>
      Specified by:
      apply in interface Function<org.ofbiz.core.entity.GenericValue,Long>
      Parameters:
      input - an object of type D.
      Returns:
      the output of type R.