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