Package net.officefloor.model.office
Class OfficeManagedObjectSourceToOfficeSupplierModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.office.OfficeManagedObjectSourceToOfficeSupplierModel
-
- All Implemented Interfaces:
ConnectionModel
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class OfficeManagedObjectSourceToOfficeSupplierModel extends AbstractModel implements ConnectionModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OfficeManagedObjectSourceToOfficeSupplierModel.OfficeManagedObjectSourceToOfficeSupplierEvent
-
Constructor Summary
Constructors Constructor Description OfficeManagedObjectSourceToOfficeSupplierModel()
Default constructor.OfficeManagedObjectSourceToOfficeSupplierModel(java.lang.String officeSupplierName, java.lang.String qualifier, java.lang.String type)
Convenience constructor for new non-linked instance.OfficeManagedObjectSourceToOfficeSupplierModel(java.lang.String officeSupplierName, java.lang.String qualifier, java.lang.String type, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.OfficeManagedObjectSourceToOfficeSupplierModel(java.lang.String officeSupplierName, java.lang.String qualifier, java.lang.String type, OfficeManagedObjectSourceModel officeManagedObjectSource, OfficeSupplierModel officeSupplier)
Convenience constructor.OfficeManagedObjectSourceToOfficeSupplierModel(java.lang.String officeSupplierName, java.lang.String qualifier, java.lang.String type, OfficeManagedObjectSourceModel officeManagedObjectSource, OfficeSupplierModel officeSupplier, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
connect()
Connects to theAbstractModel
instances.OfficeManagedObjectSourceModel
getOfficeManagedObjectSource()
OfficeSupplierModel
getOfficeSupplier()
java.lang.String
getOfficeSupplierName()
java.lang.String
getQualifier()
java.lang.String
getType()
boolean
isRemovable()
Indicates if this connection is removable.void
remove()
Removes connection to theAbstractModel
instances.void
setOfficeManagedObjectSource(OfficeManagedObjectSourceModel officeManagedObjectSource)
void
setOfficeSupplier(OfficeSupplierModel officeSupplier)
void
setOfficeSupplierName(java.lang.String officeSupplierName)
void
setQualifier(java.lang.String qualifier)
void
setType(java.lang.String type)
-
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
-
OfficeManagedObjectSourceToOfficeSupplierModel
public OfficeManagedObjectSourceToOfficeSupplierModel()
Default constructor.
-
OfficeManagedObjectSourceToOfficeSupplierModel
public OfficeManagedObjectSourceToOfficeSupplierModel(java.lang.String officeSupplierName, java.lang.String qualifier, java.lang.String type)
Convenience constructor for new non-linked instance.- Parameters:
officeSupplierName
- Office supplier name.qualifier
- Qualifier.type
- Type.
-
OfficeManagedObjectSourceToOfficeSupplierModel
public OfficeManagedObjectSourceToOfficeSupplierModel(java.lang.String officeSupplierName, java.lang.String qualifier, java.lang.String type, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
officeSupplierName
- Office supplier name.qualifier
- Qualifier.type
- Type.x
- Horizontal location.y
- Vertical location.
-
OfficeManagedObjectSourceToOfficeSupplierModel
public OfficeManagedObjectSourceToOfficeSupplierModel(java.lang.String officeSupplierName, java.lang.String qualifier, java.lang.String type, OfficeManagedObjectSourceModel officeManagedObjectSource, OfficeSupplierModel officeSupplier)
Convenience constructor.- Parameters:
officeSupplierName
- Office supplier name.qualifier
- Qualifier.type
- Type.officeManagedObjectSource
- Office managed object source.officeSupplier
- Office supplier.
-
OfficeManagedObjectSourceToOfficeSupplierModel
public OfficeManagedObjectSourceToOfficeSupplierModel(java.lang.String officeSupplierName, java.lang.String qualifier, java.lang.String type, OfficeManagedObjectSourceModel officeManagedObjectSource, OfficeSupplierModel officeSupplier, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
officeSupplierName
- Office supplier name.qualifier
- Qualifier.type
- Type.officeManagedObjectSource
- Office managed object source.officeSupplier
- Office supplier.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.
-
getQualifier
public java.lang.String getQualifier()
- Returns:
- Qualifier.
-
setQualifier
public void setQualifier(java.lang.String qualifier)
- Parameters:
qualifier
- Qualifier.
-
getType
public java.lang.String getType()
- Returns:
- Type.
-
setType
public void setType(java.lang.String type)
- Parameters:
type
- Type.
-
getOfficeManagedObjectSource
public OfficeManagedObjectSourceModel getOfficeManagedObjectSource()
- Returns:
- Office managed object source.
-
setOfficeManagedObjectSource
public void setOfficeManagedObjectSource(OfficeManagedObjectSourceModel officeManagedObjectSource)
- Parameters:
officeManagedObjectSource
- Office managed object source.
-
getOfficeSupplier
public OfficeSupplierModel getOfficeSupplier()
- Returns:
- Office supplier.
-
setOfficeSupplier
public void setOfficeSupplier(OfficeSupplierModel officeSupplier)
- Parameters:
officeSupplier
- Office supplier.
-
isRemovable
public boolean isRemovable()
Description copied from interface:ConnectionModel
Indicates if this connection is removable.- Specified by:
isRemovable
in interfaceConnectionModel
- Returns:
- Indicates if removable.
-
connect
public void connect()
Connects to theAbstractModel
instances.- Specified by:
connect
in interfaceConnectionModel
-
remove
public void remove()
Removes connection to theAbstractModel
instances.- Specified by:
remove
in interfaceConnectionModel
-
-