ENTITY
- the entity@Generated(value="Speedment") @FunctionalInterface public interface IntGetter<ENTITY> extends Getter<ENTITY>, ToIntFunction<ENTITY>
getXXX(value)
method for a
particular field in an entity.
A IntegerGetter<ENTITY>
has the following signature:
interface ENTITY {
int getXXX();
}
Modifier and Type | Method and Description |
---|---|
default Integer |
apply(ENTITY instance)
A generic (untyped) get method.
|
int |
applyAsInt(ENTITY instance)
Returns the member represented by this getter in the specified instance.
|
asFunction
int applyAsInt(ENTITY instance)
applyAsInt
in interface ToIntFunction<ENTITY>
instance
- the instance to get fromCopyright © 2017 Speedment, Inc.. All rights reserved.