Package net.officefloor.model.section
Class SectionManagedObjectToSectionManagedObjectSourceModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.section.SectionManagedObjectToSectionManagedObjectSourceModel
-
- All Implemented Interfaces:
ConnectionModel
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class SectionManagedObjectToSectionManagedObjectSourceModel extends AbstractModel implements ConnectionModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SectionManagedObjectToSectionManagedObjectSourceModel.SectionManagedObjectToSectionManagedObjectSourceEvent
-
Constructor Summary
Constructors Constructor Description SectionManagedObjectToSectionManagedObjectSourceModel()
Default constructor.SectionManagedObjectToSectionManagedObjectSourceModel(java.lang.String sectionManagedObjectSourceName)
Convenience constructor for new non-linked instance.SectionManagedObjectToSectionManagedObjectSourceModel(java.lang.String sectionManagedObjectSourceName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.SectionManagedObjectToSectionManagedObjectSourceModel(java.lang.String sectionManagedObjectSourceName, SectionManagedObjectModel sectionManagedObject, SectionManagedObjectSourceModel sectionManagedObjectSource)
Convenience constructor.SectionManagedObjectToSectionManagedObjectSourceModel(java.lang.String sectionManagedObjectSourceName, SectionManagedObjectModel sectionManagedObject, SectionManagedObjectSourceModel sectionManagedObjectSource, 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.SectionManagedObjectModel
getSectionManagedObject()
SectionManagedObjectSourceModel
getSectionManagedObjectSource()
java.lang.String
getSectionManagedObjectSourceName()
boolean
isRemovable()
Indicates if this connection is removable.void
remove()
Removes connection to theAbstractModel
instances.void
setSectionManagedObject(SectionManagedObjectModel sectionManagedObject)
void
setSectionManagedObjectSource(SectionManagedObjectSourceModel sectionManagedObjectSource)
void
setSectionManagedObjectSourceName(java.lang.String sectionManagedObjectSourceName)
-
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
-
SectionManagedObjectToSectionManagedObjectSourceModel
public SectionManagedObjectToSectionManagedObjectSourceModel()
Default constructor.
-
SectionManagedObjectToSectionManagedObjectSourceModel
public SectionManagedObjectToSectionManagedObjectSourceModel(java.lang.String sectionManagedObjectSourceName)
Convenience constructor for new non-linked instance.- Parameters:
sectionManagedObjectSourceName
- Section managed object source name.
-
SectionManagedObjectToSectionManagedObjectSourceModel
public SectionManagedObjectToSectionManagedObjectSourceModel(java.lang.String sectionManagedObjectSourceName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
sectionManagedObjectSourceName
- Section managed object source name.x
- Horizontal location.y
- Vertical location.
-
SectionManagedObjectToSectionManagedObjectSourceModel
public SectionManagedObjectToSectionManagedObjectSourceModel(java.lang.String sectionManagedObjectSourceName, SectionManagedObjectModel sectionManagedObject, SectionManagedObjectSourceModel sectionManagedObjectSource)
Convenience constructor.- Parameters:
sectionManagedObjectSourceName
- Section managed object source name.sectionManagedObject
- Section managed object.sectionManagedObjectSource
- Section managed object source.
-
SectionManagedObjectToSectionManagedObjectSourceModel
public SectionManagedObjectToSectionManagedObjectSourceModel(java.lang.String sectionManagedObjectSourceName, SectionManagedObjectModel sectionManagedObject, SectionManagedObjectSourceModel sectionManagedObjectSource, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
sectionManagedObjectSourceName
- Section managed object source name.sectionManagedObject
- Section managed object.sectionManagedObjectSource
- Section managed object source.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getSectionManagedObjectSourceName
public java.lang.String getSectionManagedObjectSourceName()
- Returns:
- Section managed object source name.
-
setSectionManagedObjectSourceName
public void setSectionManagedObjectSourceName(java.lang.String sectionManagedObjectSourceName)
- Parameters:
sectionManagedObjectSourceName
- Section managed object source name.
-
getSectionManagedObject
public SectionManagedObjectModel getSectionManagedObject()
- Returns:
- Section managed object.
-
setSectionManagedObject
public void setSectionManagedObject(SectionManagedObjectModel sectionManagedObject)
- Parameters:
sectionManagedObject
- Section managed object.
-
getSectionManagedObjectSource
public SectionManagedObjectSourceModel getSectionManagedObjectSource()
- Returns:
- Section managed object source.
-
setSectionManagedObjectSource
public void setSectionManagedObjectSource(SectionManagedObjectSourceModel sectionManagedObjectSource)
- Parameters:
sectionManagedObjectSource
- Section managed object source.
-
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
-
-