Package net.officefloor.model.section
Class ManagedFunctionModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.section.ManagedFunctionModel
-
- All Implemented Interfaces:
ItemModel<ManagedFunctionModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class ManagedFunctionModel extends AbstractModel implements ItemModel<ManagedFunctionModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ManagedFunctionModel.ManagedFunctionEvent
-
Constructor Summary
Constructors Constructor Description ManagedFunctionModel()
Default constructor.ManagedFunctionModel(java.lang.String managedFunctionName)
Convenience constructor for new non-linked instance.ManagedFunctionModel(java.lang.String managedFunctionName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.ManagedFunctionModel(java.lang.String managedFunctionName, ManagedFunctionObjectModel[] managedFunctionObject, ManagedFunctionToFunctionModel[] function)
Convenience constructor.ManagedFunctionModel(java.lang.String managedFunctionName, ManagedFunctionObjectModel[] managedFunctionObject, ManagedFunctionToFunctionModel[] function, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFunction(ManagedFunctionToFunctionModel function)
void
addManagedFunctionObject(ManagedFunctionObjectModel managedFunctionObject)
java.util.List<ManagedFunctionToFunctionModel>
getFunctions()
java.lang.String
getManagedFunctionName()
java.util.List<ManagedFunctionObjectModel>
getManagedFunctionObjects()
RemoveConnectionsAction<ManagedFunctionModel>
removeConnections()
Remove Connections.void
removeFunction(ManagedFunctionToFunctionModel function)
void
removeManagedFunctionObject(ManagedFunctionObjectModel managedFunctionObject)
void
setManagedFunctionName(java.lang.String managedFunctionName)
-
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
-
ManagedFunctionModel
public ManagedFunctionModel()
Default constructor.
-
ManagedFunctionModel
public ManagedFunctionModel(java.lang.String managedFunctionName)
Convenience constructor for new non-linked instance.- Parameters:
managedFunctionName
- Managed function name.
-
ManagedFunctionModel
public ManagedFunctionModel(java.lang.String managedFunctionName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
managedFunctionName
- Managed function name.x
- Horizontal location.y
- Vertical location.
-
ManagedFunctionModel
public ManagedFunctionModel(java.lang.String managedFunctionName, ManagedFunctionObjectModel[] managedFunctionObject, ManagedFunctionToFunctionModel[] function)
Convenience constructor.- Parameters:
managedFunctionName
- Managed function name.managedFunctionObject
- Managed function object.function
- Function.
-
ManagedFunctionModel
public ManagedFunctionModel(java.lang.String managedFunctionName, ManagedFunctionObjectModel[] managedFunctionObject, ManagedFunctionToFunctionModel[] function, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
managedFunctionName
- Managed function name.managedFunctionObject
- Managed function object.function
- Function.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getManagedFunctionName
public java.lang.String getManagedFunctionName()
- Returns:
- Managed function name.
-
setManagedFunctionName
public void setManagedFunctionName(java.lang.String managedFunctionName)
- Parameters:
managedFunctionName
- Managed function name.
-
getManagedFunctionObjects
public java.util.List<ManagedFunctionObjectModel> getManagedFunctionObjects()
- Returns:
- Managed function object.
-
addManagedFunctionObject
public void addManagedFunctionObject(ManagedFunctionObjectModel managedFunctionObject)
- Parameters:
managedFunctionObject
- Managed function object.
-
removeManagedFunctionObject
public void removeManagedFunctionObject(ManagedFunctionObjectModel managedFunctionObject)
- Parameters:
managedFunctionObject
- Managed function object.
-
getFunctions
public java.util.List<ManagedFunctionToFunctionModel> getFunctions()
- Returns:
- Function.
-
addFunction
public void addFunction(ManagedFunctionToFunctionModel function)
- Parameters:
function
- Function.
-
removeFunction
public void removeFunction(ManagedFunctionToFunctionModel function)
- Parameters:
function
- Function.
-
removeConnections
public RemoveConnectionsAction<ManagedFunctionModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<ManagedFunctionModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-