Package net.officefloor.model.section
Class FunctionModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.section.FunctionModel
-
- All Implemented Interfaces:
ItemModel<FunctionModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class FunctionModel extends AbstractModel implements ItemModel<FunctionModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FunctionModel.FunctionEvent
-
Constructor Summary
Constructors Constructor Description FunctionModel()
Default constructor.FunctionModel(java.lang.String functionName, boolean isPublic, java.lang.String functionNamespaceName, java.lang.String managedFunctionName, java.lang.String returnType)
Convenience constructor for new non-linked instance.FunctionModel(java.lang.String functionName, boolean isPublic, java.lang.String functionNamespaceName, java.lang.String managedFunctionName, java.lang.String returnType, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.FunctionModel(java.lang.String functionName, boolean isPublic, java.lang.String functionNamespaceName, java.lang.String managedFunctionName, java.lang.String returnType, ManagedFunctionToFunctionModel managedFunction, FunctionToNextFunctionModel nextFunction, FunctionToNextExternalFlowModel nextExternalFlow, FunctionToNextSubSectionInputModel nextSubSectionInput, FunctionToNextFunctionModel[] previousFunction, FunctionFlowModel[] functionFlow, FunctionEscalationModel[] functionEscalation, FunctionFlowToFunctionModel[] functionFlowInput, FunctionEscalationToFunctionModel[] functionEscalationInput, SubSectionOutputToFunctionModel[] subSectionOutput, SectionManagedObjectSourceFlowToFunctionModel[] sectionManagedObjectSourceFlow)
Convenience constructor.FunctionModel(java.lang.String functionName, boolean isPublic, java.lang.String functionNamespaceName, java.lang.String managedFunctionName, java.lang.String returnType, ManagedFunctionToFunctionModel managedFunction, FunctionToNextFunctionModel nextFunction, FunctionToNextExternalFlowModel nextExternalFlow, FunctionToNextSubSectionInputModel nextSubSectionInput, FunctionToNextFunctionModel[] previousFunction, FunctionFlowModel[] functionFlow, FunctionEscalationModel[] functionEscalation, FunctionFlowToFunctionModel[] functionFlowInput, FunctionEscalationToFunctionModel[] functionEscalationInput, SubSectionOutputToFunctionModel[] subSectionOutput, SectionManagedObjectSourceFlowToFunctionModel[] sectionManagedObjectSourceFlow, 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
-
FunctionModel
public FunctionModel()
Default constructor.
-
FunctionModel
public FunctionModel(java.lang.String functionName, boolean isPublic, java.lang.String functionNamespaceName, java.lang.String managedFunctionName, java.lang.String returnType)
Convenience constructor for new non-linked instance.- Parameters:
functionName
- Function name.isPublic
- Is public.functionNamespaceName
- Function namespace name.managedFunctionName
- Managed function name.returnType
- Return type.
-
FunctionModel
public FunctionModel(java.lang.String functionName, boolean isPublic, java.lang.String functionNamespaceName, java.lang.String managedFunctionName, java.lang.String returnType, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
functionName
- Function name.isPublic
- Is public.functionNamespaceName
- Function namespace name.managedFunctionName
- Managed function name.returnType
- Return type.x
- Horizontal location.y
- Vertical location.
-
FunctionModel
public FunctionModel(java.lang.String functionName, boolean isPublic, java.lang.String functionNamespaceName, java.lang.String managedFunctionName, java.lang.String returnType, ManagedFunctionToFunctionModel managedFunction, FunctionToNextFunctionModel nextFunction, FunctionToNextExternalFlowModel nextExternalFlow, FunctionToNextSubSectionInputModel nextSubSectionInput, FunctionToNextFunctionModel[] previousFunction, FunctionFlowModel[] functionFlow, FunctionEscalationModel[] functionEscalation, FunctionFlowToFunctionModel[] functionFlowInput, FunctionEscalationToFunctionModel[] functionEscalationInput, SubSectionOutputToFunctionModel[] subSectionOutput, SectionManagedObjectSourceFlowToFunctionModel[] sectionManagedObjectSourceFlow)
Convenience constructor.- Parameters:
functionName
- Function name.isPublic
- Is public.functionNamespaceName
- Function namespace name.managedFunctionName
- Managed function name.returnType
- Return type.managedFunction
- Managed function.nextFunction
- Next function.nextExternalFlow
- Next external flow.nextSubSectionInput
- Next sub section input.previousFunction
- Previous function.functionFlow
- Function flow.functionEscalation
- Function escalation.functionFlowInput
- Function flow input.functionEscalationInput
- Function escalation input.subSectionOutput
- Sub section output.sectionManagedObjectSourceFlow
- Section managed object source flow.
-
FunctionModel
public FunctionModel(java.lang.String functionName, boolean isPublic, java.lang.String functionNamespaceName, java.lang.String managedFunctionName, java.lang.String returnType, ManagedFunctionToFunctionModel managedFunction, FunctionToNextFunctionModel nextFunction, FunctionToNextExternalFlowModel nextExternalFlow, FunctionToNextSubSectionInputModel nextSubSectionInput, FunctionToNextFunctionModel[] previousFunction, FunctionFlowModel[] functionFlow, FunctionEscalationModel[] functionEscalation, FunctionFlowToFunctionModel[] functionFlowInput, FunctionEscalationToFunctionModel[] functionEscalationInput, SubSectionOutputToFunctionModel[] subSectionOutput, SectionManagedObjectSourceFlowToFunctionModel[] sectionManagedObjectSourceFlow, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
functionName
- Function name.isPublic
- Is public.functionNamespaceName
- Function namespace name.managedFunctionName
- Managed function name.returnType
- Return type.managedFunction
- Managed function.nextFunction
- Next function.nextExternalFlow
- Next external flow.nextSubSectionInput
- Next sub section input.previousFunction
- Previous function.functionFlow
- Function flow.functionEscalation
- Function escalation.functionFlowInput
- Function flow input.functionEscalationInput
- Function escalation input.subSectionOutput
- Sub section output.sectionManagedObjectSourceFlow
- Section managed object source flow.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getFunctionName
public java.lang.String getFunctionName()
- Returns:
- Function name.
-
setFunctionName
public void setFunctionName(java.lang.String functionName)
- Parameters:
functionName
- Function name.
-
getIsPublic
public boolean getIsPublic()
- Returns:
- Is public.
-
setIsPublic
public void setIsPublic(boolean isPublic)
- Parameters:
isPublic
- Is public.
-
getFunctionNamespaceName
public java.lang.String getFunctionNamespaceName()
- Returns:
- Function namespace name.
-
setFunctionNamespaceName
public void setFunctionNamespaceName(java.lang.String functionNamespaceName)
- Parameters:
functionNamespaceName
- Function namespace name.
-
getManagedFunctionName
public java.lang.String getManagedFunctionName()
- Returns:
- Managed function name.
-
setManagedFunctionName
public void setManagedFunctionName(java.lang.String managedFunctionName)
- Parameters:
managedFunctionName
- Managed function name.
-
getReturnType
public java.lang.String getReturnType()
- Returns:
- Return type.
-
setReturnType
public void setReturnType(java.lang.String returnType)
- Parameters:
returnType
- Return type.
-
getManagedFunction
public ManagedFunctionToFunctionModel getManagedFunction()
- Returns:
- Managed function.
-
setManagedFunction
public void setManagedFunction(ManagedFunctionToFunctionModel managedFunction)
- Parameters:
managedFunction
- Managed function.
-
getNextFunction
public FunctionToNextFunctionModel getNextFunction()
- Returns:
- Next function.
-
setNextFunction
public void setNextFunction(FunctionToNextFunctionModel nextFunction)
- Parameters:
nextFunction
- Next function.
-
getNextExternalFlow
public FunctionToNextExternalFlowModel getNextExternalFlow()
- Returns:
- Next external flow.
-
setNextExternalFlow
public void setNextExternalFlow(FunctionToNextExternalFlowModel nextExternalFlow)
- Parameters:
nextExternalFlow
- Next external flow.
-
getNextSubSectionInput
public FunctionToNextSubSectionInputModel getNextSubSectionInput()
- Returns:
- Next sub section input.
-
setNextSubSectionInput
public void setNextSubSectionInput(FunctionToNextSubSectionInputModel nextSubSectionInput)
- Parameters:
nextSubSectionInput
- Next sub section input.
-
getPreviousFunctions
public java.util.List<FunctionToNextFunctionModel> getPreviousFunctions()
- Returns:
- Previous function.
-
addPreviousFunction
public void addPreviousFunction(FunctionToNextFunctionModel previousFunction)
- Parameters:
previousFunction
- Previous function.
-
removePreviousFunction
public void removePreviousFunction(FunctionToNextFunctionModel previousFunction)
- Parameters:
previousFunction
- Previous function.
-
getFunctionFlows
public java.util.List<FunctionFlowModel> getFunctionFlows()
- Returns:
- Function flow.
-
addFunctionFlow
public void addFunctionFlow(FunctionFlowModel functionFlow)
- Parameters:
functionFlow
- Function flow.
-
removeFunctionFlow
public void removeFunctionFlow(FunctionFlowModel functionFlow)
- Parameters:
functionFlow
- Function flow.
-
getFunctionEscalations
public java.util.List<FunctionEscalationModel> getFunctionEscalations()
- Returns:
- Function escalation.
-
addFunctionEscalation
public void addFunctionEscalation(FunctionEscalationModel functionEscalation)
- Parameters:
functionEscalation
- Function escalation.
-
removeFunctionEscalation
public void removeFunctionEscalation(FunctionEscalationModel functionEscalation)
- Parameters:
functionEscalation
- Function escalation.
-
getFunctionFlowInputs
public java.util.List<FunctionFlowToFunctionModel> getFunctionFlowInputs()
- Returns:
- Function flow input.
-
addFunctionFlowInput
public void addFunctionFlowInput(FunctionFlowToFunctionModel functionFlowInput)
- Parameters:
functionFlowInput
- Function flow input.
-
removeFunctionFlowInput
public void removeFunctionFlowInput(FunctionFlowToFunctionModel functionFlowInput)
- Parameters:
functionFlowInput
- Function flow input.
-
getFunctionEscalationInputs
public java.util.List<FunctionEscalationToFunctionModel> getFunctionEscalationInputs()
- Returns:
- Function escalation input.
-
addFunctionEscalationInput
public void addFunctionEscalationInput(FunctionEscalationToFunctionModel functionEscalationInput)
- Parameters:
functionEscalationInput
- Function escalation input.
-
removeFunctionEscalationInput
public void removeFunctionEscalationInput(FunctionEscalationToFunctionModel functionEscalationInput)
- Parameters:
functionEscalationInput
- Function escalation input.
-
getSubSectionOutputs
public java.util.List<SubSectionOutputToFunctionModel> getSubSectionOutputs()
- Returns:
- Sub section output.
-
addSubSectionOutput
public void addSubSectionOutput(SubSectionOutputToFunctionModel subSectionOutput)
- Parameters:
subSectionOutput
- Sub section output.
-
removeSubSectionOutput
public void removeSubSectionOutput(SubSectionOutputToFunctionModel subSectionOutput)
- Parameters:
subSectionOutput
- Sub section output.
-
getSectionManagedObjectSourceFlows
public java.util.List<SectionManagedObjectSourceFlowToFunctionModel> getSectionManagedObjectSourceFlows()
- Returns:
- Section managed object source flow.
-
addSectionManagedObjectSourceFlow
public void addSectionManagedObjectSourceFlow(SectionManagedObjectSourceFlowToFunctionModel sectionManagedObjectSourceFlow)
- Parameters:
sectionManagedObjectSourceFlow
- Section managed object source flow.
-
removeSectionManagedObjectSourceFlow
public void removeSectionManagedObjectSourceFlow(SectionManagedObjectSourceFlowToFunctionModel sectionManagedObjectSourceFlow)
- Parameters:
sectionManagedObjectSourceFlow
- Section managed object source flow.
-
removeConnections
public RemoveConnectionsAction<FunctionModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<FunctionModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-