Package net.officefloor.model.section
Class SubSectionObjectModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.section.SubSectionObjectModel
-
- All Implemented Interfaces:
ItemModel<SubSectionObjectModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class SubSectionObjectModel extends AbstractModel implements ItemModel<SubSectionObjectModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SubSectionObjectModel.SubSectionObjectEvent
-
Constructor Summary
Constructors Constructor Description SubSectionObjectModel()
Default constructor.SubSectionObjectModel(java.lang.String subSectionObjectName, java.lang.String objectType)
Convenience constructor for new non-linked instance.SubSectionObjectModel(java.lang.String subSectionObjectName, java.lang.String objectType, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.SubSectionObjectModel(java.lang.String subSectionObjectName, java.lang.String objectType, SubSectionObjectToExternalManagedObjectModel externalManagedObject, SubSectionObjectToSectionManagedObjectModel sectionManagedObject)
Convenience constructor.SubSectionObjectModel(java.lang.String subSectionObjectName, java.lang.String objectType, SubSectionObjectToExternalManagedObjectModel externalManagedObject, SubSectionObjectToSectionManagedObjectModel sectionManagedObject, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubSectionObjectToExternalManagedObjectModel
getExternalManagedObject()
java.lang.String
getObjectType()
SubSectionObjectToSectionManagedObjectModel
getSectionManagedObject()
java.lang.String
getSubSectionObjectName()
RemoveConnectionsAction<SubSectionObjectModel>
removeConnections()
Remove Connections.void
setExternalManagedObject(SubSectionObjectToExternalManagedObjectModel externalManagedObject)
void
setObjectType(java.lang.String objectType)
void
setSectionManagedObject(SubSectionObjectToSectionManagedObjectModel sectionManagedObject)
void
setSubSectionObjectName(java.lang.String subSectionObjectName)
-
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
-
SubSectionObjectModel
public SubSectionObjectModel()
Default constructor.
-
SubSectionObjectModel
public SubSectionObjectModel(java.lang.String subSectionObjectName, java.lang.String objectType)
Convenience constructor for new non-linked instance.- Parameters:
subSectionObjectName
- Sub section object name.objectType
- Object type.
-
SubSectionObjectModel
public SubSectionObjectModel(java.lang.String subSectionObjectName, java.lang.String objectType, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
subSectionObjectName
- Sub section object name.objectType
- Object type.x
- Horizontal location.y
- Vertical location.
-
SubSectionObjectModel
public SubSectionObjectModel(java.lang.String subSectionObjectName, java.lang.String objectType, SubSectionObjectToExternalManagedObjectModel externalManagedObject, SubSectionObjectToSectionManagedObjectModel sectionManagedObject)
Convenience constructor.- Parameters:
subSectionObjectName
- Sub section object name.objectType
- Object type.externalManagedObject
- External managed object.sectionManagedObject
- Section managed object.
-
SubSectionObjectModel
public SubSectionObjectModel(java.lang.String subSectionObjectName, java.lang.String objectType, SubSectionObjectToExternalManagedObjectModel externalManagedObject, SubSectionObjectToSectionManagedObjectModel sectionManagedObject, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
subSectionObjectName
- Sub section object name.objectType
- Object type.externalManagedObject
- External managed object.sectionManagedObject
- Section managed object.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getSubSectionObjectName
public java.lang.String getSubSectionObjectName()
- Returns:
- Sub section object name.
-
setSubSectionObjectName
public void setSubSectionObjectName(java.lang.String subSectionObjectName)
- Parameters:
subSectionObjectName
- Sub section object name.
-
getObjectType
public java.lang.String getObjectType()
- Returns:
- Object type.
-
setObjectType
public void setObjectType(java.lang.String objectType)
- Parameters:
objectType
- Object type.
-
getExternalManagedObject
public SubSectionObjectToExternalManagedObjectModel getExternalManagedObject()
- Returns:
- External managed object.
-
setExternalManagedObject
public void setExternalManagedObject(SubSectionObjectToExternalManagedObjectModel externalManagedObject)
- Parameters:
externalManagedObject
- External managed object.
-
getSectionManagedObject
public SubSectionObjectToSectionManagedObjectModel getSectionManagedObject()
- Returns:
- Section managed object.
-
setSectionManagedObject
public void setSectionManagedObject(SubSectionObjectToSectionManagedObjectModel sectionManagedObject)
- Parameters:
sectionManagedObject
- Section managed object.
-
removeConnections
public RemoveConnectionsAction<SubSectionObjectModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<SubSectionObjectModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-