Package net.officefloor.gef.editor
Interface AdaptedConnectionManagementBuilder<R extends Model,O,S extends Model,C extends ConnectionModel,T extends Model>
-
- All Known Implementing Classes:
AdaptedConnectionFactory
public interface AdaptedConnectionManagementBuilder<R extends Model,O,S extends Model,C extends ConnectionModel,T extends Model>
Builds management of the adaptedConnectionModel
.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
AdaptedConnectionManagementBuilder.ConnectionFactory<R extends Model,O,S extends Model,C extends ConnectionModel,T extends Model>
Function
interface to create aConnectionModel
.static interface
AdaptedConnectionManagementBuilder.ConnectionRemover<R extends Model,O,C extends ConnectionModel>
Function
interface to remove aConnectionModel
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AdaptedConnectionManagementBuilder<R,O,S,C,T>
create(AdaptedConnectionManagementBuilder.ConnectionFactory<R,O,S,C,T> createConnection)
Provides means to create theConnectionModel
.AdaptedConnectionManagementBuilder<R,O,S,C,T>
delete(AdaptedConnectionManagementBuilder.ConnectionRemover<R,O,C> removeConnection)
Provides means to delete theConnectionModel
.
-
-
-
Method Detail
-
create
AdaptedConnectionManagementBuilder<R,O,S,C,T> create(AdaptedConnectionManagementBuilder.ConnectionFactory<R,O,S,C,T> createConnection)
Provides means to create theConnectionModel
.- Parameters:
createConnection
-AdaptedConnectionManagementBuilder.ConnectionFactory
.- Returns:
this
.
-
delete
AdaptedConnectionManagementBuilder<R,O,S,C,T> delete(AdaptedConnectionManagementBuilder.ConnectionRemover<R,O,C> removeConnection)
Provides means to delete theConnectionModel
.- Parameters:
removeConnection
-AdaptedConnectionManagementBuilder.ConnectionRemover
.- Returns:
this
.
-
-