Package | Description |
---|---|
com.speedment.component |
The
Components of the
Speedment platform. |
com.speedment.db |
Establishing and maintaining the database connection is handled by the
classes in this package.
|
com.speedment.encoder |
Encoders used to transform generated Speedment entities to other formats are
located in this package.
|
com.speedment.field |
Fields expose handlers for accessing columns in generated classes and are
located in this package.
|
com.speedment.field.methods |
Functional interfaces used by Fields are located in this package.
|
com.speedment.field.predicate.trait |
Traits used in Speedment predicates are located in this package.
|
com.speedment.field.trait |
Traits used in Speedment fields are located in this package.
|
com.speedment.manager |
The
Manager interface and its related classes
are located in this package. |
Modifier and Type | Method and Description |
---|---|
default <ENTITY,D,V extends Comparable<? super V>,F extends FieldTrait & ReferenceFieldTrait<ENTITY,D,V> & ComparableFieldTrait<ENTITY,D,V>> |
StreamSupplierComponent.findAny(Class<ENTITY> entityClass,
F field,
V value) |
Modifier and Type | Method and Description |
---|---|
<F extends FieldTrait & ReferenceFieldTrait<?,?,?>> |
DbmsHandler.executeInsert(String sql,
List<?> values,
List<F> generatedKeyFields,
Consumer<List<Long>> generatedKeyConsumer)
Executes an SQL update command.
|
Modifier and Type | Method and Description |
---|---|
<D,T,I extends FieldTrait & ReferenceFieldTrait<ENTITY,D,T>> |
JsonEncoder.put(I field) |
<D,T,I extends FieldTrait & ReferenceFieldTrait<ENTITY,D,T>> |
Encoder.put(I field)
Adds this Field to the output renderer.
|
<D,T,FK_ENTITY,I extends FieldTrait & ReferenceFieldTrait<ENTITY,D,T> & ReferenceForeignKeyFieldTrait<ENTITY,D,FK_ENTITY>> |
Encoder.put(I field,
Encoder<FK_ENTITY,?,OUTPUT_TYPE> fkFormatter)
Adds this ReferenceForeignKeyField to the output renderer.
|
<D,T,FK_ENTITY,I extends FieldTrait & ReferenceFieldTrait<ENTITY,D,T> & ReferenceForeignKeyFieldTrait<ENTITY,D,FK_ENTITY>> |
JsonEncoder.put(I field,
Encoder<FK_ENTITY,?,String> builder) |
Modifier and Type | Method and Description |
---|---|
static <ENTITY> JsonEncoder<ENTITY> |
JsonEncoder.of(Manager<ENTITY> manager,
FieldTrait... fields)
Creates and return a new JsonEncoder with the provided Entity field(s)
added to the renderer.
|
JsonEncoder<ENTITY> |
JsonEncoder.remove(FieldTrait field) |
R |
Encoder.remove(FieldTrait field)
Removes this Field from the output renderer.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ComparableField<ENTITY,D,V extends Comparable<? super V>>
A field that implements the
ReferenceFieldTrait and
ComparableFieldTrait . |
interface |
ComparableForeignKeyField<ENTITY,D,V extends Comparable<? super V>,FK>
A field that represents a value that implements
ReferenceFieldTrait ,
ComparableFieldTrait and {ReferenceForeignKeyFieldTrait}. |
interface |
ReferenceField<ENTITY,D,V>
A field that implements the
ReferenceFieldTrait . |
interface |
ReferenceForeignKeyField<ENTITY,D,V,FK_ENTITY>
A field that represents a value that implements the
ReferenceFieldTrait and the {ReferenceForeignKeyFieldTrait}. |
interface |
StringField<ENTITY,D>
|
interface |
StringForeignKeyField<ENTITY,D,FK_ENTITY>
A field that implements the
ReferenceFieldTrait , the
ComparableFieldTrait , the StringFieldTrait and the
{ReferenceForeignKeyFieldTrait}. |
Modifier and Type | Method and Description |
---|---|
FieldTrait |
FieldSetter.getField()
Returns the field that this setter sets.
|
Modifier and Type | Method and Description |
---|---|
FieldTrait |
HasFieldTrait.getField()
Returns the
FieldTrait that was used to generate this predicate. |
Modifier and Type | Interface and Description |
---|---|
interface |
ReferenceFieldTrait<ENTITY,D,V>
A representation of an Entity field that is a reference type (eg
Integer and not int ). |
Modifier and Type | Method and Description |
---|---|
<D,V extends Comparable<? super V>,F extends FieldTrait & ReferenceFieldTrait<ENTITY,D,V> & ComparableFieldTrait<ENTITY,D,V>> |
Manager.findAny(F field,
V value)
Finds and returns an Optional entity where the given field matches the
given value.
|
Modifier and Type | Method and Description |
---|---|
Stream<FieldTrait> |
Manager.fields()
Returns a stream of the fields that every entity in this contains.
|
Stream<FieldTrait> |
Manager.primaryKeyFields()
Returns a stream of the fields that are included in the primary key of
the table represented by this
Manager . |
Copyright © 2016 Speedment, Inc.. All rights reserved.