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