ENTITY
- entity typeD
- database type@GeneratedCode(value="Speedment") public interface HasLongValue<ENTITY,D> extends Field<ENTITY>
long
type.Modifier and Type | Method and Description |
---|---|
default long |
getAsLong(ENTITY entity)
Gets the value from the Entity field.
|
GetLong<ENTITY,D> |
getter()
Returns a reference to the getter for this field.
|
default ENTITY |
set(ENTITY entity,
long value)
Sets the value in the given Entity.
|
LongSetter<ENTITY> |
setter()
Returns a reference to the setter for this field.
|
default SetToLong<ENTITY,D> |
setTo(long value)
Creates and returns a setter handler with a given value.
|
TypeMapper<D,Long> |
typeMapper()
Returns the type mapper used by this field.
|
findColumn, identifier
LongSetter<ENTITY> setter()
HasSetter
GetLong<ENTITY,D> getter()
HasGetter
TypeMapper<D,Long> typeMapper()
HasTypeMapper
typeMapper
in interface HasTypeMapper
default long getAsLong(ENTITY entity)
entity
- the entitydefault ENTITY set(ENTITY entity, long value)
entity
- the entityvalue
- to setCopyright © 2018 Speedment, Inc.. All rights reserved.