Package net.officefloor.model.conform
Class TargetItemModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.conform.TargetItemModel
-
- All Implemented Interfaces:
ItemModel<TargetItemModel>,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class TargetItemModel extends AbstractModel implements ItemModel<TargetItemModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTargetItemModel.TargetItemEvent
-
Constructor Summary
Constructors Constructor Description TargetItemModel()Default constructor.TargetItemModel(java.lang.String targetItemName, boolean isInheritable, boolean inherit)Convenience constructor for new non-linked instance.TargetItemModel(java.lang.String targetItemName, boolean isInheritable, boolean inherit, int x, int y)Convenience constructor for new non-linked instance allowing XY initialising.TargetItemModel(java.lang.String targetItemName, boolean isInheritable, boolean inherit, ExistingItemToTargetItemModel existingItem)Convenience constructor.TargetItemModel(java.lang.String targetItemName, boolean isInheritable, boolean inherit, ExistingItemToTargetItemModel existingItem, int x, int y)Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExistingItemToTargetItemModelgetExistingItem()booleangetInherit()booleangetIsInheritable()java.lang.StringgetTargetItemName()RemoveConnectionsAction<TargetItemModel>removeConnections()Remove Connections.voidsetExistingItem(ExistingItemToTargetItemModel existingItem)voidsetInherit(boolean inherit)voidsetIsInheritable(boolean isInheritable)voidsetTargetItemName(java.lang.String targetItemName)-
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
-
TargetItemModel
public TargetItemModel()
Default constructor.
-
TargetItemModel
public TargetItemModel(java.lang.String targetItemName, boolean isInheritable, boolean inherit)Convenience constructor for new non-linked instance.- Parameters:
targetItemName- Target item name.isInheritable- Is inheritable.inherit- Inherit.
-
TargetItemModel
public TargetItemModel(java.lang.String targetItemName, boolean isInheritable, boolean inherit, int x, int y)Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
targetItemName- Target item name.isInheritable- Is inheritable.inherit- Inherit.x- Horizontal location.y- Vertical location.
-
TargetItemModel
public TargetItemModel(java.lang.String targetItemName, boolean isInheritable, boolean inherit, ExistingItemToTargetItemModel existingItem)Convenience constructor.- Parameters:
targetItemName- Target item name.isInheritable- Is inheritable.inherit- Inherit.existingItem- Existing item.
-
TargetItemModel
public TargetItemModel(java.lang.String targetItemName, boolean isInheritable, boolean inherit, ExistingItemToTargetItemModel existingItem, int x, int y)Convenience constructor allowing XY initialising.- Parameters:
targetItemName- Target item name.isInheritable- Is inheritable.inherit- Inherit.existingItem- Existing item.x- Horizontal location.y- Vertical location.
-
-
Method Detail
-
getTargetItemName
public java.lang.String getTargetItemName()
- Returns:
- Target item name.
-
setTargetItemName
public void setTargetItemName(java.lang.String targetItemName)
- Parameters:
targetItemName- Target item name.
-
getIsInheritable
public boolean getIsInheritable()
- Returns:
- Is inheritable.
-
setIsInheritable
public void setIsInheritable(boolean isInheritable)
- Parameters:
isInheritable- Is inheritable.
-
getInherit
public boolean getInherit()
- Returns:
- Inherit.
-
setInherit
public void setInherit(boolean inherit)
- Parameters:
inherit- Inherit.
-
getExistingItem
public ExistingItemToTargetItemModel getExistingItem()
- Returns:
- Existing item.
-
setExistingItem
public void setExistingItem(ExistingItemToTargetItemModel existingItem)
- Parameters:
existingItem- Existing item.
-
removeConnections
public RemoveConnectionsAction<TargetItemModel> removeConnections()
Remove Connections.- Specified by:
removeConnectionsin interfaceItemModel<TargetItemModel>- Returns:
RemoveConnectionsActionto remove theConnectionModelinstances.
-
-