Package net.officefloor.model.office
Class OfficeSupplierModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.office.OfficeSupplierModel
-
- All Implemented Interfaces:
ItemModel<OfficeSupplierModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class OfficeSupplierModel extends AbstractModel implements ItemModel<OfficeSupplierModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OfficeSupplierModel.OfficeSupplierEvent
-
Constructor Summary
Constructors Constructor Description OfficeSupplierModel()
Default constructor.OfficeSupplierModel(java.lang.String officeSupplierName, java.lang.String supplierSourceClassName)
Convenience constructor for new non-linked instance.OfficeSupplierModel(java.lang.String officeSupplierName, java.lang.String supplierSourceClassName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.OfficeSupplierModel(java.lang.String officeSupplierName, java.lang.String supplierSourceClassName, PropertyModel[] property, OfficeSupplierThreadLocalModel[] officeSupplierThreadLocal, OfficeManagedObjectSourceToOfficeSupplierModel[] officeManagedObjectSource)
Convenience constructor.OfficeSupplierModel(java.lang.String officeSupplierName, java.lang.String supplierSourceClassName, PropertyModel[] property, OfficeSupplierThreadLocalModel[] officeSupplierThreadLocal, OfficeManagedObjectSourceToOfficeSupplierModel[] officeManagedObjectSource, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
-
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
-
OfficeSupplierModel
public OfficeSupplierModel()
Default constructor.
-
OfficeSupplierModel
public OfficeSupplierModel(java.lang.String officeSupplierName, java.lang.String supplierSourceClassName)
Convenience constructor for new non-linked instance.- Parameters:
officeSupplierName
- Office supplier name.supplierSourceClassName
- Supplier source class name.
-
OfficeSupplierModel
public OfficeSupplierModel(java.lang.String officeSupplierName, java.lang.String supplierSourceClassName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
officeSupplierName
- Office supplier name.supplierSourceClassName
- Supplier source class name.x
- Horizontal location.y
- Vertical location.
-
OfficeSupplierModel
public OfficeSupplierModel(java.lang.String officeSupplierName, java.lang.String supplierSourceClassName, PropertyModel[] property, OfficeSupplierThreadLocalModel[] officeSupplierThreadLocal, OfficeManagedObjectSourceToOfficeSupplierModel[] officeManagedObjectSource)
Convenience constructor.- Parameters:
officeSupplierName
- Office supplier name.supplierSourceClassName
- Supplier source class name.property
- Property.officeSupplierThreadLocal
- Office supplier thread local.officeManagedObjectSource
- Office managed object source.
-
OfficeSupplierModel
public OfficeSupplierModel(java.lang.String officeSupplierName, java.lang.String supplierSourceClassName, PropertyModel[] property, OfficeSupplierThreadLocalModel[] officeSupplierThreadLocal, OfficeManagedObjectSourceToOfficeSupplierModel[] officeManagedObjectSource, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
officeSupplierName
- Office supplier name.supplierSourceClassName
- Supplier source class name.property
- Property.officeSupplierThreadLocal
- Office supplier thread local.officeManagedObjectSource
- Office managed object source.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getOfficeSupplierName
public java.lang.String getOfficeSupplierName()
- Returns:
- Office supplier name.
-
setOfficeSupplierName
public void setOfficeSupplierName(java.lang.String officeSupplierName)
- Parameters:
officeSupplierName
- Office 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.
-
getOfficeSupplierThreadLocals
public java.util.List<OfficeSupplierThreadLocalModel> getOfficeSupplierThreadLocals()
- Returns:
- Office supplier thread local.
-
addOfficeSupplierThreadLocal
public void addOfficeSupplierThreadLocal(OfficeSupplierThreadLocalModel officeSupplierThreadLocal)
- Parameters:
officeSupplierThreadLocal
- Office supplier thread local.
-
removeOfficeSupplierThreadLocal
public void removeOfficeSupplierThreadLocal(OfficeSupplierThreadLocalModel officeSupplierThreadLocal)
- Parameters:
officeSupplierThreadLocal
- Office supplier thread local.
-
getOfficeManagedObjectSources
public java.util.List<OfficeManagedObjectSourceToOfficeSupplierModel> getOfficeManagedObjectSources()
- Returns:
- Office managed object source.
-
addOfficeManagedObjectSource
public void addOfficeManagedObjectSource(OfficeManagedObjectSourceToOfficeSupplierModel officeManagedObjectSource)
- Parameters:
officeManagedObjectSource
- Office managed object source.
-
removeOfficeManagedObjectSource
public void removeOfficeManagedObjectSource(OfficeManagedObjectSourceToOfficeSupplierModel officeManagedObjectSource)
- Parameters:
officeManagedObjectSource
- Office managed object source.
-
removeConnections
public RemoveConnectionsAction<OfficeSupplierModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<OfficeSupplierModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-