ENTITY
- the entity@GeneratedCode(value="Speedment") @FunctionalInterface public interface LongGetter<ENTITY> extends Getter<ENTITY>, ToLongFunction<ENTITY>
getXXX(value)
method for a
particular field in an entity.
A LongGetter<ENTITY>
has the following signature:
interface ENTITY {
long getXXX();
}
Modifier and Type | Method and Description |
---|---|
default Long |
apply(ENTITY instance)
A generic (untyped) get method.
|
long |
applyAsLong(ENTITY instance)
Returns the member represented by this getter in the specified instance.
|
default Function<ENTITY,Long> |
asFunction()
Returns this object, typed as a
Function method. |
long applyAsLong(ENTITY instance)
applyAsLong
in interface ToLongFunction<ENTITY>
instance
- the instance to get fromdefault Long apply(ENTITY instance)
Getter
Copyright © 2018 Speedment, Inc.. All rights reserved.