Package net.officefloor.model.conform
Class ConformModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.conform.ConformModel
-
- All Implemented Interfaces:
ItemModel<ConformModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class ConformModel extends AbstractModel implements ItemModel<ConformModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConformModel.ConformEvent
-
Constructor Summary
Constructors Constructor Description ConformModel()
Default constructor.ConformModel(ExistingModel existingModel, TargetModel targetModel)
Convenience constructor.ConformModel(ExistingModel existingModel, TargetModel targetModel, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExistingModel
getExistingModel()
TargetModel
getTargetModel()
RemoveConnectionsAction<ConformModel>
removeConnections()
Remove Connections.void
setExistingModel(ExistingModel existingModel)
void
setTargetModel(TargetModel targetModel)
-
Methods inherited from class net.officefloor.model.AbstractModel
addItemToList, addPropertyChangeListener, changeField, firePropertyChange, getX, getY, removeItemFromList, removePropertyChangeListener, setX, setY
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.officefloor.model.Model
addPropertyChangeListener, getX, getY, removePropertyChangeListener, setX, setY
-
-
-
-
Constructor Detail
-
ConformModel
public ConformModel()
Default constructor.
-
ConformModel
public ConformModel(ExistingModel existingModel, TargetModel targetModel)
Convenience constructor.- Parameters:
existingModel
- Existing model.targetModel
- Target model.
-
ConformModel
public ConformModel(ExistingModel existingModel, TargetModel targetModel, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
existingModel
- Existing model.targetModel
- Target model.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getExistingModel
public ExistingModel getExistingModel()
- Returns:
- Existing model.
-
setExistingModel
public void setExistingModel(ExistingModel existingModel)
- Parameters:
existingModel
- Existing model.
-
getTargetModel
public TargetModel getTargetModel()
- Returns:
- Target model.
-
setTargetModel
public void setTargetModel(TargetModel targetModel)
- Parameters:
targetModel
- Target model.
-
removeConnections
public RemoveConnectionsAction<ConformModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<ConformModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-