Package | Description |
---|---|
com.speedment.runtime.config |
The configuration system is located in this package.
|
com.speedment.runtime.config.mutator.trait |
Common traits used by the
DocumentMutator
implementations are located in this package. |
com.speedment.runtime.config.trait |
Common traits used in the typed configuration documents are located in this
package.
|
com.speedment.runtime.config.util |
Utility methods for this module.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Column
A typed
Document that represents a column in the database. |
interface |
Dbms
A typed
Document that represents a dbms instance in the database. |
interface |
ForeignKey
A typed
Document that represents a foreign key instance in the
database. |
interface |
ForeignKeyColumn
A typed
Document that represents the column referenced by a foreign
key instance in the database. |
interface |
Index
A typed
Document that represents an index instance in the database. |
interface |
IndexColumn
A typed
Document that represents the column referenced by an index
key instance in the database. |
interface |
PrimaryKeyColumn
A typed
Document that represents the primary key column instance in
the database. |
interface |
Project
A typed
Document that represents a database project. |
interface |
Schema
A typed
Document that represents a schema instance in the database. |
interface |
Table
A typed
Document that represents a table instance in the database. |
Modifier and Type | Interface and Description |
---|---|
interface |
HasNameMutator<DOC extends HasName> |
Modifier and Type | Interface and Description |
---|---|
interface |
HasAlias
Trait for
Document implementations that implement the
HasAlias.getAlias() method. |
interface |
HasColumn
Trait for
Document implementations that reference another
Column document and therefore has a HasColumn.findColumn() method. |
interface |
HasId
Trait for
Document implementations that implement the
HasId.getId() method. |
Modifier and Type | Method and Description |
---|---|
default <C extends Document & HasName & HasMainInterface> |
HasChildren.defaultNameFor(C childDocument)
Generates a new default name for the specified child by appending an
unique number to the
HasMainInterface.mainInterface() of that
document. |
Modifier and Type | Method and Description |
---|---|
static HasName |
HasName.of(Document document)
Returns a wrapper of the specified document that implements the
HasName trait. |
Modifier and Type | Method and Description |
---|---|
static <T extends Document & HasName,D extends Document & HasName> |
DocumentUtil.relativeName(D document,
Class<T> from,
DocumentUtil.Name name)
Returns the relative name for the given Document up to the point given by
the parent Class.
|
static <T extends Document & HasName,D extends Document & HasName> |
DocumentUtil.relativeName(D document,
Class<T> from,
DocumentUtil.Name name)
Returns the relative name for the given Document up to the point given by
the parent Class.
|
static <T extends Document & HasName,D extends Document & HasName> |
DocumentUtil.relativeName(D document,
Class<T> from,
DocumentUtil.Name name,
CharSequence separator,
Function<String,String> nameMapper)
Returns the relative name for the given Document up to the point given by
the parent Class by successively applying the provided nameMapper onto
the Node names and separating the names with the provided separator.
|
static <T extends Document & HasName,D extends Document & HasName> |
DocumentUtil.relativeName(D document,
Class<T> from,
DocumentUtil.Name name,
CharSequence separator,
Function<String,String> nameMapper)
Returns the relative name for the given Document up to the point given by
the parent Class by successively applying the provided nameMapper onto
the Node names and separating the names with the provided separator.
|
static <T extends Document & HasName,D extends Document & HasName> |
DocumentUtil.relativeName(D document,
Class<T> from,
DocumentUtil.Name name,
Function<String,String> nameMapper)
Returns the relative name for the given Document up to the point given by
the parent Class by successively applying the provided nameMapper onto
the Node names.
|
static <T extends Document & HasName,D extends Document & HasName> |
DocumentUtil.relativeName(D document,
Class<T> from,
DocumentUtil.Name name,
Function<String,String> nameMapper)
Returns the relative name for the given Document up to the point given by
the parent Class by successively applying the provided nameMapper onto
the Node names.
|
Copyright © 2019 Speedment, Inc.. All rights reserved.