Package net.officefloor.model.section
Class SubSectionObjectToSectionManagedObjectModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.section.SubSectionObjectToSectionManagedObjectModel
-
- All Implemented Interfaces:
ConnectionModel
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class SubSectionObjectToSectionManagedObjectModel extends AbstractModel implements ConnectionModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SubSectionObjectToSectionManagedObjectModel.SubSectionObjectToSectionManagedObjectEvent
-
Constructor Summary
Constructors Constructor Description SubSectionObjectToSectionManagedObjectModel()
Default constructor.SubSectionObjectToSectionManagedObjectModel(java.lang.String sectionManagedObjectName)
Convenience constructor for new non-linked instance.SubSectionObjectToSectionManagedObjectModel(java.lang.String sectionManagedObjectName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.SubSectionObjectToSectionManagedObjectModel(java.lang.String sectionManagedObjectName, SubSectionObjectModel subSectionObject, SectionManagedObjectModel sectionManagedObject)
Convenience constructor.SubSectionObjectToSectionManagedObjectModel(java.lang.String sectionManagedObjectName, SubSectionObjectModel subSectionObject, 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.SectionManagedObjectModel
getSectionManagedObject()
java.lang.String
getSectionManagedObjectName()
SubSectionObjectModel
getSubSectionObject()
boolean
isRemovable()
Indicates if this connection is removable.void
remove()
Removes connection to theAbstractModel
instances.void
setSectionManagedObject(SectionManagedObjectModel sectionManagedObject)
void
setSectionManagedObjectName(java.lang.String sectionManagedObjectName)
void
setSubSectionObject(SubSectionObjectModel subSectionObject)
-
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
-
SubSectionObjectToSectionManagedObjectModel
public SubSectionObjectToSectionManagedObjectModel()
Default constructor.
-
SubSectionObjectToSectionManagedObjectModel
public SubSectionObjectToSectionManagedObjectModel(java.lang.String sectionManagedObjectName)
Convenience constructor for new non-linked instance.- Parameters:
sectionManagedObjectName
- Section managed object name.
-
SubSectionObjectToSectionManagedObjectModel
public SubSectionObjectToSectionManagedObjectModel(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.
-
SubSectionObjectToSectionManagedObjectModel
public SubSectionObjectToSectionManagedObjectModel(java.lang.String sectionManagedObjectName, SubSectionObjectModel subSectionObject, SectionManagedObjectModel sectionManagedObject)
Convenience constructor.- Parameters:
sectionManagedObjectName
- Section managed object name.subSectionObject
- Sub section object.sectionManagedObject
- Section managed object.
-
SubSectionObjectToSectionManagedObjectModel
public SubSectionObjectToSectionManagedObjectModel(java.lang.String sectionManagedObjectName, SubSectionObjectModel subSectionObject, SectionManagedObjectModel sectionManagedObject, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
sectionManagedObjectName
- Section managed object name.subSectionObject
- Sub section 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.
-
getSubSectionObject
public SubSectionObjectModel getSubSectionObject()
- Returns:
- Sub section object.
-
setSubSectionObject
public void setSubSectionObject(SubSectionObjectModel subSectionObject)
- Parameters:
subSectionObject
- Sub section 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
-
-