Package net.officefloor.model.office
Class OfficeManagedObjectDependencyModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.office.OfficeManagedObjectDependencyModel
-
- All Implemented Interfaces:
ItemModel<OfficeManagedObjectDependencyModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class OfficeManagedObjectDependencyModel extends AbstractModel implements ItemModel<OfficeManagedObjectDependencyModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OfficeManagedObjectDependencyModel.OfficeManagedObjectDependencyEvent
-
Constructor Summary
Constructors Constructor Description OfficeManagedObjectDependencyModel()
Default constructor.OfficeManagedObjectDependencyModel(java.lang.String officeManagedObjectDependencyName, java.lang.String dependencyType)
Convenience constructor for new non-linked instance.OfficeManagedObjectDependencyModel(java.lang.String officeManagedObjectDependencyName, java.lang.String dependencyType, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.OfficeManagedObjectDependencyModel(java.lang.String officeManagedObjectDependencyName, java.lang.String dependencyType, OfficeManagedObjectDependencyToOfficeManagedObjectModel officeManagedObject, OfficeManagedObjectDependencyToExternalManagedObjectModel externalManagedObject)
Convenience constructor.OfficeManagedObjectDependencyModel(java.lang.String officeManagedObjectDependencyName, java.lang.String dependencyType, OfficeManagedObjectDependencyToOfficeManagedObjectModel officeManagedObject, OfficeManagedObjectDependencyToExternalManagedObjectModel externalManagedObject, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDependencyType()
OfficeManagedObjectDependencyToExternalManagedObjectModel
getExternalManagedObject()
OfficeManagedObjectDependencyToOfficeManagedObjectModel
getOfficeManagedObject()
java.lang.String
getOfficeManagedObjectDependencyName()
RemoveConnectionsAction<OfficeManagedObjectDependencyModel>
removeConnections()
Remove Connections.void
setDependencyType(java.lang.String dependencyType)
void
setExternalManagedObject(OfficeManagedObjectDependencyToExternalManagedObjectModel externalManagedObject)
void
setOfficeManagedObject(OfficeManagedObjectDependencyToOfficeManagedObjectModel officeManagedObject)
void
setOfficeManagedObjectDependencyName(java.lang.String officeManagedObjectDependencyName)
-
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
-
OfficeManagedObjectDependencyModel
public OfficeManagedObjectDependencyModel()
Default constructor.
-
OfficeManagedObjectDependencyModel
public OfficeManagedObjectDependencyModel(java.lang.String officeManagedObjectDependencyName, java.lang.String dependencyType)
Convenience constructor for new non-linked instance.- Parameters:
officeManagedObjectDependencyName
- Office managed object dependency name.dependencyType
- Dependency type.
-
OfficeManagedObjectDependencyModel
public OfficeManagedObjectDependencyModel(java.lang.String officeManagedObjectDependencyName, java.lang.String dependencyType, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
officeManagedObjectDependencyName
- Office managed object dependency name.dependencyType
- Dependency type.x
- Horizontal location.y
- Vertical location.
-
OfficeManagedObjectDependencyModel
public OfficeManagedObjectDependencyModel(java.lang.String officeManagedObjectDependencyName, java.lang.String dependencyType, OfficeManagedObjectDependencyToOfficeManagedObjectModel officeManagedObject, OfficeManagedObjectDependencyToExternalManagedObjectModel externalManagedObject)
Convenience constructor.- Parameters:
officeManagedObjectDependencyName
- Office managed object dependency name.dependencyType
- Dependency type.officeManagedObject
- Office managed object.externalManagedObject
- External managed object.
-
OfficeManagedObjectDependencyModel
public OfficeManagedObjectDependencyModel(java.lang.String officeManagedObjectDependencyName, java.lang.String dependencyType, OfficeManagedObjectDependencyToOfficeManagedObjectModel officeManagedObject, OfficeManagedObjectDependencyToExternalManagedObjectModel externalManagedObject, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
officeManagedObjectDependencyName
- Office managed object dependency name.dependencyType
- Dependency type.officeManagedObject
- Office managed object.externalManagedObject
- External managed object.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getOfficeManagedObjectDependencyName
public java.lang.String getOfficeManagedObjectDependencyName()
- Returns:
- Office managed object dependency name.
-
setOfficeManagedObjectDependencyName
public void setOfficeManagedObjectDependencyName(java.lang.String officeManagedObjectDependencyName)
- Parameters:
officeManagedObjectDependencyName
- Office managed object dependency name.
-
getDependencyType
public java.lang.String getDependencyType()
- Returns:
- Dependency type.
-
setDependencyType
public void setDependencyType(java.lang.String dependencyType)
- Parameters:
dependencyType
- Dependency type.
-
getOfficeManagedObject
public OfficeManagedObjectDependencyToOfficeManagedObjectModel getOfficeManagedObject()
- Returns:
- Office managed object.
-
setOfficeManagedObject
public void setOfficeManagedObject(OfficeManagedObjectDependencyToOfficeManagedObjectModel officeManagedObject)
- Parameters:
officeManagedObject
- Office managed object.
-
getExternalManagedObject
public OfficeManagedObjectDependencyToExternalManagedObjectModel getExternalManagedObject()
- Returns:
- External managed object.
-
setExternalManagedObject
public void setExternalManagedObject(OfficeManagedObjectDependencyToExternalManagedObjectModel externalManagedObject)
- Parameters:
externalManagedObject
- External managed object.
-
removeConnections
public RemoveConnectionsAction<OfficeManagedObjectDependencyModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<OfficeManagedObjectDependencyModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-