ENTITY
- the entity@GeneratedCode(value="Speedment") @FunctionalInterface public interface LongSetter<ENTITY> extends Setter<ENTITY>
setXXX(value)
method for a
particular field in an entity. The referenced method should return a
reference to itself.
A LongSetter<ENTITY>
has the following signature:
interface ENTITY {
ENTITY setXXX(long value);
}
Modifier and Type | Method and Description |
---|---|
default ENTITY |
set(ENTITY instance,
Object value)
A generic (untyped) set-method.
|
ENTITY |
setAsLong(ENTITY instance,
long 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 setAsLong(ENTITY instance, long value)
instance
- the instance to set it invalue
- the new valueCopyright © 2017 Speedment, Inc.. All rights reserved.