Package net.officefloor.model.section
Class SectionModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.section.SectionModel
-
- All Implemented Interfaces:
ItemModel<SectionModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class SectionModel extends AbstractModel implements ItemModel<SectionModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SectionModel.SectionEvent
-
Constructor Summary
Constructors Constructor Description SectionModel()
Default constructor.SectionModel(ExternalManagedObjectModel[] externalManagedObject, SectionManagedObjectSourceModel[] sectionManagedObjectSource, SectionManagedObjectModel[] sectionManagedObject, SectionManagedObjectPoolModel[] sectionManagedObjectPool, ExternalFlowModel[] externalFlow, SubSectionModel[] subSection, FunctionNamespaceModel[] functionNamespace, FunctionModel[] function)
Convenience constructor.SectionModel(ExternalManagedObjectModel[] externalManagedObject, SectionManagedObjectSourceModel[] sectionManagedObjectSource, SectionManagedObjectModel[] sectionManagedObject, SectionManagedObjectPoolModel[] sectionManagedObjectPool, ExternalFlowModel[] externalFlow, SubSectionModel[] subSection, FunctionNamespaceModel[] functionNamespace, FunctionModel[] function, 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
-
SectionModel
public SectionModel()
Default constructor.
-
SectionModel
public SectionModel(ExternalManagedObjectModel[] externalManagedObject, SectionManagedObjectSourceModel[] sectionManagedObjectSource, SectionManagedObjectModel[] sectionManagedObject, SectionManagedObjectPoolModel[] sectionManagedObjectPool, ExternalFlowModel[] externalFlow, SubSectionModel[] subSection, FunctionNamespaceModel[] functionNamespace, FunctionModel[] function)
Convenience constructor.- Parameters:
externalManagedObject
- External managed object.sectionManagedObjectSource
- Section managed object source.sectionManagedObject
- Section managed object.sectionManagedObjectPool
- Section managed object pool.externalFlow
- External flow.subSection
- Sub section.functionNamespace
- Function namespace.function
- Function.
-
SectionModel
public SectionModel(ExternalManagedObjectModel[] externalManagedObject, SectionManagedObjectSourceModel[] sectionManagedObjectSource, SectionManagedObjectModel[] sectionManagedObject, SectionManagedObjectPoolModel[] sectionManagedObjectPool, ExternalFlowModel[] externalFlow, SubSectionModel[] subSection, FunctionNamespaceModel[] functionNamespace, FunctionModel[] function, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
externalManagedObject
- External managed object.sectionManagedObjectSource
- Section managed object source.sectionManagedObject
- Section managed object.sectionManagedObjectPool
- Section managed object pool.externalFlow
- External flow.subSection
- Sub section.functionNamespace
- Function namespace.function
- Function.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getExternalManagedObjects
public java.util.List<ExternalManagedObjectModel> getExternalManagedObjects()
- Returns:
- External managed object.
-
addExternalManagedObject
public void addExternalManagedObject(ExternalManagedObjectModel externalManagedObject)
- Parameters:
externalManagedObject
- External managed object.
-
removeExternalManagedObject
public void removeExternalManagedObject(ExternalManagedObjectModel externalManagedObject)
- Parameters:
externalManagedObject
- External managed object.
-
getSectionManagedObjectSources
public java.util.List<SectionManagedObjectSourceModel> getSectionManagedObjectSources()
- Returns:
- Section managed object source.
-
addSectionManagedObjectSource
public void addSectionManagedObjectSource(SectionManagedObjectSourceModel sectionManagedObjectSource)
- Parameters:
sectionManagedObjectSource
- Section managed object source.
-
removeSectionManagedObjectSource
public void removeSectionManagedObjectSource(SectionManagedObjectSourceModel sectionManagedObjectSource)
- Parameters:
sectionManagedObjectSource
- Section managed object source.
-
getSectionManagedObjects
public java.util.List<SectionManagedObjectModel> getSectionManagedObjects()
- Returns:
- Section managed object.
-
addSectionManagedObject
public void addSectionManagedObject(SectionManagedObjectModel sectionManagedObject)
- Parameters:
sectionManagedObject
- Section managed object.
-
removeSectionManagedObject
public void removeSectionManagedObject(SectionManagedObjectModel sectionManagedObject)
- Parameters:
sectionManagedObject
- Section managed object.
-
getSectionManagedObjectPools
public java.util.List<SectionManagedObjectPoolModel> getSectionManagedObjectPools()
- Returns:
- Section managed object pool.
-
addSectionManagedObjectPool
public void addSectionManagedObjectPool(SectionManagedObjectPoolModel sectionManagedObjectPool)
- Parameters:
sectionManagedObjectPool
- Section managed object pool.
-
removeSectionManagedObjectPool
public void removeSectionManagedObjectPool(SectionManagedObjectPoolModel sectionManagedObjectPool)
- Parameters:
sectionManagedObjectPool
- Section managed object pool.
-
getExternalFlows
public java.util.List<ExternalFlowModel> getExternalFlows()
- Returns:
- External flow.
-
addExternalFlow
public void addExternalFlow(ExternalFlowModel externalFlow)
- Parameters:
externalFlow
- External flow.
-
removeExternalFlow
public void removeExternalFlow(ExternalFlowModel externalFlow)
- Parameters:
externalFlow
- External flow.
-
getSubSections
public java.util.List<SubSectionModel> getSubSections()
- Returns:
- Sub section.
-
addSubSection
public void addSubSection(SubSectionModel subSection)
- Parameters:
subSection
- Sub section.
-
removeSubSection
public void removeSubSection(SubSectionModel subSection)
- Parameters:
subSection
- Sub section.
-
getFunctionNamespaces
public java.util.List<FunctionNamespaceModel> getFunctionNamespaces()
- Returns:
- Function namespace.
-
addFunctionNamespace
public void addFunctionNamespace(FunctionNamespaceModel functionNamespace)
- Parameters:
functionNamespace
- Function namespace.
-
removeFunctionNamespace
public void removeFunctionNamespace(FunctionNamespaceModel functionNamespace)
- Parameters:
functionNamespace
- Function namespace.
-
getFunctions
public java.util.List<FunctionModel> getFunctions()
- Returns:
- Function.
-
addFunction
public void addFunction(FunctionModel function)
- Parameters:
function
- Function.
-
removeFunction
public void removeFunction(FunctionModel function)
- Parameters:
function
- Function.
-
removeConnections
public RemoveConnectionsAction<SectionModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<SectionModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-