Class ModelToSelfConnection<R extends Model,O,M extends Model,E extends java.lang.Enum<E>,C extends ConnectionModel>
- java.lang.Object
-
- net.officefloor.gef.editor.internal.models.ModelToConnection<R,O,M,E,C>
-
- net.officefloor.gef.editor.internal.models.ModelToSelfConnection<R,O,M,E,C>
-
public class ModelToSelfConnection<R extends Model,O,M extends Model,E extends java.lang.Enum<E>,C extends ConnectionModel> extends ModelToConnection<R,O,M,E,C>
Model
that has aConnectionModel
to itself (though may be another instance).
-
-
Field Summary
-
Fields inherited from class net.officefloor.gef.editor.internal.models.ModelToConnection
adaptedConnectionFactory, connectionChangeEvents, getConnections
-
-
Constructor Summary
Constructors Constructor Description ModelToSelfConnection(ModelToConnection<R,O,M,E,C> sourceToConnection, ModelToConnection<R,O,M,E,C> targetToConnection)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelToConnection<R,O,M,E,C>
getSourceToConnection()
Obtains the sourceModelToConnection
.ModelToConnection<R,O,M,E,C>
getTargetToConnection()
Obtains the targetModelToConnection
.-
Methods inherited from class net.officefloor.gef.editor.internal.models.ModelToConnection
getAdaptedConnectionFactory, getConnectionChangeEvents, getConnections
-
-
-
-
Constructor Detail
-
ModelToSelfConnection
public ModelToSelfConnection(ModelToConnection<R,O,M,E,C> sourceToConnection, ModelToConnection<R,O,M,E,C> targetToConnection)
Instantiate.- Parameters:
sourceToConnection
- SourceModelToConnection
.targetToConnection
- TargetModelToConnection
.
-
-
Method Detail
-
getSourceToConnection
public ModelToConnection<R,O,M,E,C> getSourceToConnection()
Obtains the sourceModelToConnection
.- Returns:
- Source
ModelToConnection
.
-
getTargetToConnection
public ModelToConnection<R,O,M,E,C> getTargetToConnection()
Obtains the targetModelToConnection
.- Returns:
- Target
ModelToConnection
.
-
-