Package net.officefloor.model.office
Class OfficeManagedObjectPoolModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.office.OfficeManagedObjectPoolModel
-
- All Implemented Interfaces:
ItemModel<OfficeManagedObjectPoolModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class OfficeManagedObjectPoolModel extends AbstractModel implements ItemModel<OfficeManagedObjectPoolModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OfficeManagedObjectPoolModel.OfficeManagedObjectPoolEvent
-
Constructor Summary
Constructors Constructor Description OfficeManagedObjectPoolModel()
Default constructor.OfficeManagedObjectPoolModel(java.lang.String officeManagedObjectPoolName, java.lang.String managedObjectPoolSourceClassName)
Convenience constructor for new non-linked instance.OfficeManagedObjectPoolModel(java.lang.String officeManagedObjectPoolName, java.lang.String managedObjectPoolSourceClassName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.OfficeManagedObjectPoolModel(java.lang.String officeManagedObjectPoolName, java.lang.String managedObjectPoolSourceClassName, PropertyModel[] property, OfficeManagedObjectSourceToOfficeManagedObjectPoolModel[] officeManagedObjectSource)
Convenience constructor.OfficeManagedObjectPoolModel(java.lang.String officeManagedObjectPoolName, java.lang.String managedObjectPoolSourceClassName, PropertyModel[] property, OfficeManagedObjectSourceToOfficeManagedObjectPoolModel[] officeManagedObjectSource, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOfficeManagedObjectSource(OfficeManagedObjectSourceToOfficeManagedObjectPoolModel officeManagedObjectSource)
void
addProperty(PropertyModel property)
java.lang.String
getManagedObjectPoolSourceClassName()
java.lang.String
getOfficeManagedObjectPoolName()
java.util.List<OfficeManagedObjectSourceToOfficeManagedObjectPoolModel>
getOfficeManagedObjectSources()
java.util.List<PropertyModel>
getProperties()
RemoveConnectionsAction<OfficeManagedObjectPoolModel>
removeConnections()
Remove Connections.void
removeOfficeManagedObjectSource(OfficeManagedObjectSourceToOfficeManagedObjectPoolModel officeManagedObjectSource)
void
removeProperty(PropertyModel property)
void
setManagedObjectPoolSourceClassName(java.lang.String managedObjectPoolSourceClassName)
void
setOfficeManagedObjectPoolName(java.lang.String officeManagedObjectPoolName)
-
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
-
OfficeManagedObjectPoolModel
public OfficeManagedObjectPoolModel()
Default constructor.
-
OfficeManagedObjectPoolModel
public OfficeManagedObjectPoolModel(java.lang.String officeManagedObjectPoolName, java.lang.String managedObjectPoolSourceClassName)
Convenience constructor for new non-linked instance.- Parameters:
officeManagedObjectPoolName
- Office managed object pool name.managedObjectPoolSourceClassName
- Managed object pool source class name.
-
OfficeManagedObjectPoolModel
public OfficeManagedObjectPoolModel(java.lang.String officeManagedObjectPoolName, java.lang.String managedObjectPoolSourceClassName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
officeManagedObjectPoolName
- Office managed object pool name.managedObjectPoolSourceClassName
- Managed object pool source class name.x
- Horizontal location.y
- Vertical location.
-
OfficeManagedObjectPoolModel
public OfficeManagedObjectPoolModel(java.lang.String officeManagedObjectPoolName, java.lang.String managedObjectPoolSourceClassName, PropertyModel[] property, OfficeManagedObjectSourceToOfficeManagedObjectPoolModel[] officeManagedObjectSource)
Convenience constructor.- Parameters:
officeManagedObjectPoolName
- Office managed object pool name.managedObjectPoolSourceClassName
- Managed object pool source class name.property
- Property.officeManagedObjectSource
- Office managed object source.
-
OfficeManagedObjectPoolModel
public OfficeManagedObjectPoolModel(java.lang.String officeManagedObjectPoolName, java.lang.String managedObjectPoolSourceClassName, PropertyModel[] property, OfficeManagedObjectSourceToOfficeManagedObjectPoolModel[] officeManagedObjectSource, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
officeManagedObjectPoolName
- Office managed object pool name.managedObjectPoolSourceClassName
- Managed object pool source class name.property
- Property.officeManagedObjectSource
- Office managed object source.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getOfficeManagedObjectPoolName
public java.lang.String getOfficeManagedObjectPoolName()
- Returns:
- Office managed object pool name.
-
setOfficeManagedObjectPoolName
public void setOfficeManagedObjectPoolName(java.lang.String officeManagedObjectPoolName)
- Parameters:
officeManagedObjectPoolName
- Office managed object pool name.
-
getManagedObjectPoolSourceClassName
public java.lang.String getManagedObjectPoolSourceClassName()
- Returns:
- Managed object pool source class name.
-
setManagedObjectPoolSourceClassName
public void setManagedObjectPoolSourceClassName(java.lang.String managedObjectPoolSourceClassName)
- Parameters:
managedObjectPoolSourceClassName
- Managed object pool source class name.
-
getProperties
public java.util.List<PropertyModel> getProperties()
- Returns:
- Property.
-
addProperty
public void addProperty(PropertyModel property)
- Parameters:
property
- Property.
-
removeProperty
public void removeProperty(PropertyModel property)
- Parameters:
property
- Property.
-
getOfficeManagedObjectSources
public java.util.List<OfficeManagedObjectSourceToOfficeManagedObjectPoolModel> getOfficeManagedObjectSources()
- Returns:
- Office managed object source.
-
addOfficeManagedObjectSource
public void addOfficeManagedObjectSource(OfficeManagedObjectSourceToOfficeManagedObjectPoolModel officeManagedObjectSource)
- Parameters:
officeManagedObjectSource
- Office managed object source.
-
removeOfficeManagedObjectSource
public void removeOfficeManagedObjectSource(OfficeManagedObjectSourceToOfficeManagedObjectPoolModel officeManagedObjectSource)
- Parameters:
officeManagedObjectSource
- Office managed object source.
-
removeConnections
public RemoveConnectionsAction<OfficeManagedObjectPoolModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<OfficeManagedObjectPoolModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-