Package net.officefloor.model.section
Class FunctionNamespaceModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.section.FunctionNamespaceModel
-
- All Implemented Interfaces:
ItemModel<FunctionNamespaceModel>,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class FunctionNamespaceModel extends AbstractModel implements ItemModel<FunctionNamespaceModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFunctionNamespaceModel.FunctionNamespaceEvent
-
Constructor Summary
Constructors Constructor Description FunctionNamespaceModel()Default constructor.FunctionNamespaceModel(java.lang.String functionNamespaceName, java.lang.String managedFunctionSourceClassName)Convenience constructor for new non-linked instance.FunctionNamespaceModel(java.lang.String functionNamespaceName, java.lang.String managedFunctionSourceClassName, int x, int y)Convenience constructor for new non-linked instance allowing XY initialising.FunctionNamespaceModel(java.lang.String functionNamespaceName, java.lang.String managedFunctionSourceClassName, ManagedFunctionModel[] managedFunction, PropertyModel[] property)Convenience constructor.FunctionNamespaceModel(java.lang.String functionNamespaceName, java.lang.String managedFunctionSourceClassName, ManagedFunctionModel[] managedFunction, PropertyModel[] property, int x, int y)Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddManagedFunction(ManagedFunctionModel managedFunction)voidaddProperty(PropertyModel property)java.lang.StringgetFunctionNamespaceName()java.util.List<ManagedFunctionModel>getManagedFunctions()java.lang.StringgetManagedFunctionSourceClassName()java.util.List<PropertyModel>getProperties()RemoveConnectionsAction<FunctionNamespaceModel>removeConnections()Remove Connections.voidremoveManagedFunction(ManagedFunctionModel managedFunction)voidremoveProperty(PropertyModel property)voidsetFunctionNamespaceName(java.lang.String functionNamespaceName)voidsetManagedFunctionSourceClassName(java.lang.String managedFunctionSourceClassName)-
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
-
FunctionNamespaceModel
public FunctionNamespaceModel()
Default constructor.
-
FunctionNamespaceModel
public FunctionNamespaceModel(java.lang.String functionNamespaceName, java.lang.String managedFunctionSourceClassName)Convenience constructor for new non-linked instance.- Parameters:
functionNamespaceName- Function namespace name.managedFunctionSourceClassName- Managed function source class name.
-
FunctionNamespaceModel
public FunctionNamespaceModel(java.lang.String functionNamespaceName, java.lang.String managedFunctionSourceClassName, int x, int y)Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
functionNamespaceName- Function namespace name.managedFunctionSourceClassName- Managed function source class name.x- Horizontal location.y- Vertical location.
-
FunctionNamespaceModel
public FunctionNamespaceModel(java.lang.String functionNamespaceName, java.lang.String managedFunctionSourceClassName, ManagedFunctionModel[] managedFunction, PropertyModel[] property)Convenience constructor.- Parameters:
functionNamespaceName- Function namespace name.managedFunctionSourceClassName- Managed function source class name.managedFunction- Managed function.property- Property.
-
FunctionNamespaceModel
public FunctionNamespaceModel(java.lang.String functionNamespaceName, java.lang.String managedFunctionSourceClassName, ManagedFunctionModel[] managedFunction, PropertyModel[] property, int x, int y)Convenience constructor allowing XY initialising.- Parameters:
functionNamespaceName- Function namespace name.managedFunctionSourceClassName- Managed function source class name.managedFunction- Managed function.property- Property.x- Horizontal location.y- Vertical location.
-
-
Method Detail
-
getFunctionNamespaceName
public java.lang.String getFunctionNamespaceName()
- Returns:
- Function namespace name.
-
setFunctionNamespaceName
public void setFunctionNamespaceName(java.lang.String functionNamespaceName)
- Parameters:
functionNamespaceName- Function namespace name.
-
getManagedFunctionSourceClassName
public java.lang.String getManagedFunctionSourceClassName()
- Returns:
- Managed function source class name.
-
setManagedFunctionSourceClassName
public void setManagedFunctionSourceClassName(java.lang.String managedFunctionSourceClassName)
- Parameters:
managedFunctionSourceClassName- Managed function source class name.
-
getManagedFunctions
public java.util.List<ManagedFunctionModel> getManagedFunctions()
- Returns:
- Managed function.
-
addManagedFunction
public void addManagedFunction(ManagedFunctionModel managedFunction)
- Parameters:
managedFunction- Managed function.
-
removeManagedFunction
public void removeManagedFunction(ManagedFunctionModel managedFunction)
- Parameters:
managedFunction- Managed function.
-
getProperties
public java.util.List<PropertyModel> getProperties()
- Returns:
- Property.
-
addProperty
public void addProperty(PropertyModel property)
- Parameters:
property- Property.
-
removeProperty
public void removeProperty(PropertyModel property)
- Parameters:
property- Property.
-
removeConnections
public RemoveConnectionsAction<FunctionNamespaceModel> removeConnections()
Remove Connections.- Specified by:
removeConnectionsin interfaceItemModel<FunctionNamespaceModel>- Returns:
RemoveConnectionsActionto remove theConnectionModelinstances.
-
-