Package net.officefloor.model.section
Class ManagedFunctionObjectToSectionManagedObjectModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.section.ManagedFunctionObjectToSectionManagedObjectModel
-
- All Implemented Interfaces:
ConnectionModel
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class ManagedFunctionObjectToSectionManagedObjectModel extends AbstractModel implements ConnectionModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ManagedFunctionObjectToSectionManagedObjectModel.ManagedFunctionObjectToSectionManagedObjectEvent
-
Constructor Summary
Constructors Constructor Description ManagedFunctionObjectToSectionManagedObjectModel()
Default constructor.ManagedFunctionObjectToSectionManagedObjectModel(java.lang.String sectionManagedObjectName)
Convenience constructor for new non-linked instance.ManagedFunctionObjectToSectionManagedObjectModel(java.lang.String sectionManagedObjectName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.ManagedFunctionObjectToSectionManagedObjectModel(java.lang.String sectionManagedObjectName, ManagedFunctionObjectModel managedFunctionObject, SectionManagedObjectModel sectionManagedObject)
Convenience constructor.ManagedFunctionObjectToSectionManagedObjectModel(java.lang.String sectionManagedObjectName, ManagedFunctionObjectModel managedFunctionObject, SectionManagedObjectModel sectionManagedObject, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
connect()
Connects to theAbstractModel
instances.ManagedFunctionObjectModel
getManagedFunctionObject()
SectionManagedObjectModel
getSectionManagedObject()
java.lang.String
getSectionManagedObjectName()
boolean
isRemovable()
Indicates if this connection is removable.void
remove()
Removes connection to theAbstractModel
instances.void
setManagedFunctionObject(ManagedFunctionObjectModel managedFunctionObject)
void
setSectionManagedObject(SectionManagedObjectModel sectionManagedObject)
void
setSectionManagedObjectName(java.lang.String sectionManagedObjectName)
-
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
-
ManagedFunctionObjectToSectionManagedObjectModel
public ManagedFunctionObjectToSectionManagedObjectModel()
Default constructor.
-
ManagedFunctionObjectToSectionManagedObjectModel
public ManagedFunctionObjectToSectionManagedObjectModel(java.lang.String sectionManagedObjectName)
Convenience constructor for new non-linked instance.- Parameters:
sectionManagedObjectName
- Section managed object name.
-
ManagedFunctionObjectToSectionManagedObjectModel
public ManagedFunctionObjectToSectionManagedObjectModel(java.lang.String sectionManagedObjectName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
sectionManagedObjectName
- Section managed object name.x
- Horizontal location.y
- Vertical location.
-
ManagedFunctionObjectToSectionManagedObjectModel
public ManagedFunctionObjectToSectionManagedObjectModel(java.lang.String sectionManagedObjectName, ManagedFunctionObjectModel managedFunctionObject, SectionManagedObjectModel sectionManagedObject)
Convenience constructor.- Parameters:
sectionManagedObjectName
- Section managed object name.managedFunctionObject
- Managed function object.sectionManagedObject
- Section managed object.
-
ManagedFunctionObjectToSectionManagedObjectModel
public ManagedFunctionObjectToSectionManagedObjectModel(java.lang.String sectionManagedObjectName, ManagedFunctionObjectModel managedFunctionObject, SectionManagedObjectModel sectionManagedObject, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
sectionManagedObjectName
- Section managed object name.managedFunctionObject
- Managed function object.sectionManagedObject
- Section managed object.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getSectionManagedObjectName
public java.lang.String getSectionManagedObjectName()
- Returns:
- Section managed object name.
-
setSectionManagedObjectName
public void setSectionManagedObjectName(java.lang.String sectionManagedObjectName)
- Parameters:
sectionManagedObjectName
- Section managed object name.
-
getManagedFunctionObject
public ManagedFunctionObjectModel getManagedFunctionObject()
- Returns:
- Managed function object.
-
setManagedFunctionObject
public void setManagedFunctionObject(ManagedFunctionObjectModel managedFunctionObject)
- Parameters:
managedFunctionObject
- Managed function object.
-
getSectionManagedObject
public SectionManagedObjectModel getSectionManagedObject()
- Returns:
- Section managed object.
-
setSectionManagedObject
public void setSectionManagedObject(SectionManagedObjectModel sectionManagedObject)
- Parameters:
sectionManagedObject
- Section managed object.
-
isRemovable
public boolean isRemovable()
Description copied from interface:ConnectionModel
Indicates if this connection is removable.- Specified by:
isRemovable
in interfaceConnectionModel
- Returns:
- Indicates if removable.
-
connect
public void connect()
Connects to theAbstractModel
instances.- Specified by:
connect
in interfaceConnectionModel
-
remove
public void remove()
Removes connection to theAbstractModel
instances.- Specified by:
remove
in interfaceConnectionModel
-
-