Module jpastreamer.field
Interface HasBooleanValue<ENTITY>
- Type Parameters:
ENTITY- entity type
- All Superinterfaces:
Field<ENTITY>,HasColumnName,HasGetter<ENTITY>,HasTable<ENTITY>
- All Known Subinterfaces:
BooleanField<ENTITY>
A representation of an Entity field that is a primitive
boolean type.- Since:
- 3.0.0
- Author:
- Emil Forslund
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleangetAsBoolean(ENTITY entity) Gets the value from the Entity field.getter()Returns a reference to the getter for this field.Methods inherited from interface com.speedment.jpastreamer.field.trait.HasColumnName
columnName
-
Method Details
-
getter
GetBoolean<ENTITY> getter()Description copied from interface:HasGetterReturns a reference to the getter for this field. -
getAsBoolean
Gets the value from the Entity field.- Parameters:
entity- the entity- Returns:
- the value of the field
-