Class OfficeFloorSupplierModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.officefloor.OfficeFloorSupplierModel
-
- All Implemented Interfaces:
ItemModel<OfficeFloorSupplierModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class OfficeFloorSupplierModel extends AbstractModel implements ItemModel<OfficeFloorSupplierModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OfficeFloorSupplierModel.OfficeFloorSupplierEvent
-
Constructor Summary
Constructors Constructor Description OfficeFloorSupplierModel()
Default constructor.OfficeFloorSupplierModel(java.lang.String officeFloorSupplierName, java.lang.String supplierSourceClassName)
Convenience constructor for new non-linked instance.OfficeFloorSupplierModel(java.lang.String officeFloorSupplierName, java.lang.String supplierSourceClassName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.OfficeFloorSupplierModel(java.lang.String officeFloorSupplierName, java.lang.String supplierSourceClassName, PropertyModel[] property, OfficeFloorManagedObjectSourceToOfficeFloorSupplierModel[] officeFloorManagedObjectSource)
Convenience constructor.OfficeFloorSupplierModel(java.lang.String officeFloorSupplierName, java.lang.String supplierSourceClassName, PropertyModel[] property, OfficeFloorManagedObjectSourceToOfficeFloorSupplierModel[] officeFloorManagedObjectSource, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOfficeFloorManagedObjectSource(OfficeFloorManagedObjectSourceToOfficeFloorSupplierModel officeFloorManagedObjectSource)
void
addProperty(PropertyModel property)
java.util.List<OfficeFloorManagedObjectSourceToOfficeFloorSupplierModel>
getOfficeFloorManagedObjectSources()
java.lang.String
getOfficeFloorSupplierName()
java.util.List<PropertyModel>
getProperties()
java.lang.String
getSupplierSourceClassName()
RemoveConnectionsAction<OfficeFloorSupplierModel>
removeConnections()
Remove Connections.void
removeOfficeFloorManagedObjectSource(OfficeFloorManagedObjectSourceToOfficeFloorSupplierModel officeFloorManagedObjectSource)
void
removeProperty(PropertyModel property)
void
setOfficeFloorSupplierName(java.lang.String officeFloorSupplierName)
void
setSupplierSourceClassName(java.lang.String supplierSourceClassName)
-
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
-
OfficeFloorSupplierModel
public OfficeFloorSupplierModel()
Default constructor.
-
OfficeFloorSupplierModel
public OfficeFloorSupplierModel(java.lang.String officeFloorSupplierName, java.lang.String supplierSourceClassName)
Convenience constructor for new non-linked instance.- Parameters:
officeFloorSupplierName
- Office floor supplier name.supplierSourceClassName
- Supplier source class name.
-
OfficeFloorSupplierModel
public OfficeFloorSupplierModel(java.lang.String officeFloorSupplierName, java.lang.String supplierSourceClassName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
officeFloorSupplierName
- Office floor supplier name.supplierSourceClassName
- Supplier source class name.x
- Horizontal location.y
- Vertical location.
-
OfficeFloorSupplierModel
public OfficeFloorSupplierModel(java.lang.String officeFloorSupplierName, java.lang.String supplierSourceClassName, PropertyModel[] property, OfficeFloorManagedObjectSourceToOfficeFloorSupplierModel[] officeFloorManagedObjectSource)
Convenience constructor.- Parameters:
officeFloorSupplierName
- Office floor supplier name.supplierSourceClassName
- Supplier source class name.property
- Property.officeFloorManagedObjectSource
- Office floor managed object source.
-
OfficeFloorSupplierModel
public OfficeFloorSupplierModel(java.lang.String officeFloorSupplierName, java.lang.String supplierSourceClassName, PropertyModel[] property, OfficeFloorManagedObjectSourceToOfficeFloorSupplierModel[] officeFloorManagedObjectSource, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
officeFloorSupplierName
- Office floor supplier name.supplierSourceClassName
- Supplier source class name.property
- Property.officeFloorManagedObjectSource
- Office floor managed object source.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getOfficeFloorSupplierName
public java.lang.String getOfficeFloorSupplierName()
- Returns:
- Office floor supplier name.
-
setOfficeFloorSupplierName
public void setOfficeFloorSupplierName(java.lang.String officeFloorSupplierName)
- Parameters:
officeFloorSupplierName
- Office floor supplier name.
-
getSupplierSourceClassName
public java.lang.String getSupplierSourceClassName()
- Returns:
- Supplier source class name.
-
setSupplierSourceClassName
public void setSupplierSourceClassName(java.lang.String supplierSourceClassName)
- Parameters:
supplierSourceClassName
- Supplier 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.
-
getOfficeFloorManagedObjectSources
public java.util.List<OfficeFloorManagedObjectSourceToOfficeFloorSupplierModel> getOfficeFloorManagedObjectSources()
- Returns:
- Office floor managed object source.
-
addOfficeFloorManagedObjectSource
public void addOfficeFloorManagedObjectSource(OfficeFloorManagedObjectSourceToOfficeFloorSupplierModel officeFloorManagedObjectSource)
- Parameters:
officeFloorManagedObjectSource
- Office floor managed object source.
-
removeOfficeFloorManagedObjectSource
public void removeOfficeFloorManagedObjectSource(OfficeFloorManagedObjectSourceToOfficeFloorSupplierModel officeFloorManagedObjectSource)
- Parameters:
officeFloorManagedObjectSource
- Office floor managed object source.
-
removeConnections
public RemoveConnectionsAction<OfficeFloorSupplierModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<OfficeFloorSupplierModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-