Package net.officefloor.model.section
Class SectionManagedObjectDependencyToExternalManagedObjectModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.section.SectionManagedObjectDependencyToExternalManagedObjectModel
-
- All Implemented Interfaces:
ConnectionModel
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class SectionManagedObjectDependencyToExternalManagedObjectModel extends AbstractModel implements ConnectionModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SectionManagedObjectDependencyToExternalManagedObjectModel.SectionManagedObjectDependencyToExternalManagedObjectEvent
-
Constructor Summary
Constructors Constructor Description SectionManagedObjectDependencyToExternalManagedObjectModel()
Default constructor.SectionManagedObjectDependencyToExternalManagedObjectModel(java.lang.String externalManagedObjectName)
Convenience constructor for new non-linked instance.SectionManagedObjectDependencyToExternalManagedObjectModel(java.lang.String externalManagedObjectName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.SectionManagedObjectDependencyToExternalManagedObjectModel(java.lang.String externalManagedObjectName, SectionManagedObjectDependencyModel sectionManagedObjectDependency, ExternalManagedObjectModel externalManagedObject)
Convenience constructor.SectionManagedObjectDependencyToExternalManagedObjectModel(java.lang.String externalManagedObjectName, SectionManagedObjectDependencyModel sectionManagedObjectDependency, ExternalManagedObjectModel externalManagedObject, 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.ExternalManagedObjectModel
getExternalManagedObject()
java.lang.String
getExternalManagedObjectName()
SectionManagedObjectDependencyModel
getSectionManagedObjectDependency()
boolean
isRemovable()
Indicates if this connection is removable.void
remove()
Removes connection to theAbstractModel
instances.void
setExternalManagedObject(ExternalManagedObjectModel externalManagedObject)
void
setExternalManagedObjectName(java.lang.String externalManagedObjectName)
void
setSectionManagedObjectDependency(SectionManagedObjectDependencyModel sectionManagedObjectDependency)
-
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
-
SectionManagedObjectDependencyToExternalManagedObjectModel
public SectionManagedObjectDependencyToExternalManagedObjectModel()
Default constructor.
-
SectionManagedObjectDependencyToExternalManagedObjectModel
public SectionManagedObjectDependencyToExternalManagedObjectModel(java.lang.String externalManagedObjectName)
Convenience constructor for new non-linked instance.- Parameters:
externalManagedObjectName
- External managed object name.
-
SectionManagedObjectDependencyToExternalManagedObjectModel
public SectionManagedObjectDependencyToExternalManagedObjectModel(java.lang.String externalManagedObjectName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
externalManagedObjectName
- External managed object name.x
- Horizontal location.y
- Vertical location.
-
SectionManagedObjectDependencyToExternalManagedObjectModel
public SectionManagedObjectDependencyToExternalManagedObjectModel(java.lang.String externalManagedObjectName, SectionManagedObjectDependencyModel sectionManagedObjectDependency, ExternalManagedObjectModel externalManagedObject)
Convenience constructor.- Parameters:
externalManagedObjectName
- External managed object name.sectionManagedObjectDependency
- Section managed object dependency.externalManagedObject
- External managed object.
-
SectionManagedObjectDependencyToExternalManagedObjectModel
public SectionManagedObjectDependencyToExternalManagedObjectModel(java.lang.String externalManagedObjectName, SectionManagedObjectDependencyModel sectionManagedObjectDependency, ExternalManagedObjectModel externalManagedObject, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
externalManagedObjectName
- External managed object name.sectionManagedObjectDependency
- Section managed object dependency.externalManagedObject
- External managed object.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getExternalManagedObjectName
public java.lang.String getExternalManagedObjectName()
- Returns:
- External managed object name.
-
setExternalManagedObjectName
public void setExternalManagedObjectName(java.lang.String externalManagedObjectName)
- Parameters:
externalManagedObjectName
- External managed object name.
-
getSectionManagedObjectDependency
public SectionManagedObjectDependencyModel getSectionManagedObjectDependency()
- Returns:
- Section managed object dependency.
-
setSectionManagedObjectDependency
public void setSectionManagedObjectDependency(SectionManagedObjectDependencyModel sectionManagedObjectDependency)
- Parameters:
sectionManagedObjectDependency
- Section managed object dependency.
-
getExternalManagedObject
public ExternalManagedObjectModel getExternalManagedObject()
- Returns:
- External managed object.
-
setExternalManagedObject
public void setExternalManagedObject(ExternalManagedObjectModel externalManagedObject)
- Parameters:
externalManagedObject
- External managed object.
-
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
-
-