ENTITY
- the entity@Generated(value="Speedment") @FunctionalInterface public interface ShortSetter<ENTITY> extends Setter<ENTITY>
setXXX(value)
method for a
particular field in an entity. The referenced method should return a
reference to itself.
A ShortSetter<ENTITY>
has the following signature:
interface ENTITY {
ENTITY setXXX(short value);
}
Modifier and Type | Method and Description |
---|---|
default ENTITY |
set(ENTITY instance,
Object value)
A generic (untyped) set-method.
|
ENTITY |
setAsShort(ENTITY instance,
short value)
Sets the member represented by this setter in the specified instance to
the specified value, returning a reference to the same instance as
result.
|
ENTITY setAsShort(ENTITY instance, short value)
instance
- the instance to set it invalue
- the new valueCopyright © 2017 Speedment, Inc.. All rights reserved.