Package net.officefloor.model.section
Class ExternalManagedObjectModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.section.ExternalManagedObjectModel
-
- All Implemented Interfaces:
ItemModel<ExternalManagedObjectModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class ExternalManagedObjectModel extends AbstractModel implements ItemModel<ExternalManagedObjectModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExternalManagedObjectModel.ExternalManagedObjectEvent
-
Constructor Summary
Constructors Constructor Description ExternalManagedObjectModel()
Default constructor.ExternalManagedObjectModel(java.lang.String externalManagedObjectName, java.lang.String objectType)
Convenience constructor for new non-linked instance.ExternalManagedObjectModel(java.lang.String externalManagedObjectName, java.lang.String objectType, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.ExternalManagedObjectModel(java.lang.String externalManagedObjectName, java.lang.String objectType, SubSectionObjectToExternalManagedObjectModel[] subSectionObject, SectionManagedObjectDependencyToExternalManagedObjectModel[] dependentSectionManagedObject, ManagedFunctionObjectToExternalManagedObjectModel[] managedFunctionObject)
Convenience constructor.ExternalManagedObjectModel(java.lang.String externalManagedObjectName, java.lang.String objectType, SubSectionObjectToExternalManagedObjectModel[] subSectionObject, SectionManagedObjectDependencyToExternalManagedObjectModel[] dependentSectionManagedObject, ManagedFunctionObjectToExternalManagedObjectModel[] managedFunctionObject, 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
-
ExternalManagedObjectModel
public ExternalManagedObjectModel()
Default constructor.
-
ExternalManagedObjectModel
public ExternalManagedObjectModel(java.lang.String externalManagedObjectName, java.lang.String objectType)
Convenience constructor for new non-linked instance.- Parameters:
externalManagedObjectName
- External managed object name.objectType
- Object type.
-
ExternalManagedObjectModel
public ExternalManagedObjectModel(java.lang.String externalManagedObjectName, java.lang.String objectType, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
externalManagedObjectName
- External managed object name.objectType
- Object type.x
- Horizontal location.y
- Vertical location.
-
ExternalManagedObjectModel
public ExternalManagedObjectModel(java.lang.String externalManagedObjectName, java.lang.String objectType, SubSectionObjectToExternalManagedObjectModel[] subSectionObject, SectionManagedObjectDependencyToExternalManagedObjectModel[] dependentSectionManagedObject, ManagedFunctionObjectToExternalManagedObjectModel[] managedFunctionObject)
Convenience constructor.- Parameters:
externalManagedObjectName
- External managed object name.objectType
- Object type.subSectionObject
- Sub section object.dependentSectionManagedObject
- Dependent section managed object.managedFunctionObject
- Managed function object.
-
ExternalManagedObjectModel
public ExternalManagedObjectModel(java.lang.String externalManagedObjectName, java.lang.String objectType, SubSectionObjectToExternalManagedObjectModel[] subSectionObject, SectionManagedObjectDependencyToExternalManagedObjectModel[] dependentSectionManagedObject, ManagedFunctionObjectToExternalManagedObjectModel[] managedFunctionObject, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
externalManagedObjectName
- External managed object name.objectType
- Object type.subSectionObject
- Sub section object.dependentSectionManagedObject
- Dependent section managed object.managedFunctionObject
- Managed function 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.
-
getObjectType
public java.lang.String getObjectType()
- Returns:
- Object type.
-
setObjectType
public void setObjectType(java.lang.String objectType)
- Parameters:
objectType
- Object type.
-
getSubSectionObjects
public java.util.List<SubSectionObjectToExternalManagedObjectModel> getSubSectionObjects()
- Returns:
- Sub section object.
-
addSubSectionObject
public void addSubSectionObject(SubSectionObjectToExternalManagedObjectModel subSectionObject)
- Parameters:
subSectionObject
- Sub section object.
-
removeSubSectionObject
public void removeSubSectionObject(SubSectionObjectToExternalManagedObjectModel subSectionObject)
- Parameters:
subSectionObject
- Sub section object.
-
getDependentSectionManagedObjects
public java.util.List<SectionManagedObjectDependencyToExternalManagedObjectModel> getDependentSectionManagedObjects()
- Returns:
- Dependent section managed object.
-
addDependentSectionManagedObject
public void addDependentSectionManagedObject(SectionManagedObjectDependencyToExternalManagedObjectModel dependentSectionManagedObject)
- Parameters:
dependentSectionManagedObject
- Dependent section managed object.
-
removeDependentSectionManagedObject
public void removeDependentSectionManagedObject(SectionManagedObjectDependencyToExternalManagedObjectModel dependentSectionManagedObject)
- Parameters:
dependentSectionManagedObject
- Dependent section managed object.
-
getManagedFunctionObjects
public java.util.List<ManagedFunctionObjectToExternalManagedObjectModel> getManagedFunctionObjects()
- Returns:
- Managed function object.
-
addManagedFunctionObject
public void addManagedFunctionObject(ManagedFunctionObjectToExternalManagedObjectModel managedFunctionObject)
- Parameters:
managedFunctionObject
- Managed function object.
-
removeManagedFunctionObject
public void removeManagedFunctionObject(ManagedFunctionObjectToExternalManagedObjectModel managedFunctionObject)
- Parameters:
managedFunctionObject
- Managed function object.
-
removeConnections
public RemoveConnectionsAction<ExternalManagedObjectModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<ExternalManagedObjectModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-