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