Class ProcedureTypeImpl
java.lang.Object
net.officefloor.activity.impl.procedure.ProcedureTypeImpl
- All Implemented Interfaces:
ProcedureType
ProcedureType implementation.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionProcedureTypeImpl(String procedureName, Class<?> parameterType, ProcedureObjectType[] objectTypes, ProcedureVariableType[] variableTypes, ProcedureFlowType[] flowTypes, ProcedureEscalationType[] escalationTypes, Class<?> nextArgumentType) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptionObtains theProcedureEscalationTypedefinitions for the possibleEscalationFlowinstances by theProcedure.Obtains theProcedureFlowTypedefinitions for the possibleFlowinstances instigated by theProcedure.Class<?>Obtains theProcedureObjectTypedefinitions for the dependentObjectinstances required by theProcedure.Class<?>Obtains the type name of theParameter.Obtains the name of theProcedure.
-
Constructor Details
-
ProcedureTypeImpl
public ProcedureTypeImpl(String procedureName, Class<?> parameterType, ProcedureObjectType[] objectTypes, ProcedureVariableType[] variableTypes, ProcedureFlowType[] flowTypes, ProcedureEscalationType[] escalationTypes, Class<?> nextArgumentType) Instantiate.- Parameters:
procedureName- Name ofProcedure.parameterType-Parametertype forProcedure.objectTypes-ProcedureObjectTypeinstances.variableTypes-ProcedureVariableTypeinstances.flowTypes-ProcedureFlowTypeinstances.escalationTypes-ProcedureEscalationTypeinstances.nextArgumentType- Next argument type.
-
-
Method Details
-
getProcedureName
Description copied from interface:ProcedureTypeObtains the name of theProcedure.- Specified by:
getProcedureNamein interfaceProcedureType- Returns:
- Name of the
Procedure.
-
getParameterType
Description copied from interface:ProcedureTypeObtains the type name of theParameter.- Specified by:
getParameterTypein interfaceProcedureType- Returns:
- Type name of the
Parameter. May benullif noParameter.
-
getObjectTypes
Description copied from interface:ProcedureTypeObtains theProcedureObjectTypedefinitions for the dependentObjectinstances required by theProcedure.- Specified by:
getObjectTypesin interfaceProcedureType- Returns:
ProcedureObjectTypedefinitions for the dependentObjectinstances required by theProcedure.
-
getVariableTypes
Description copied from interface:ProcedureType- Specified by:
getVariableTypesin interfaceProcedureType- Returns:
ProcedureVariableTypedefinitions for theVarinstances required by theProcedure.
-
getFlowTypes
Description copied from interface:ProcedureTypeObtains theProcedureFlowTypedefinitions for the possibleFlowinstances instigated by theProcedure.- Specified by:
getFlowTypesin interfaceProcedureType- Returns:
ProcedureFlowTypedefinitions for the possibleFlowinstances instigated by theProcedure.
-
getEscalationTypes
Description copied from interface:ProcedureTypeObtains theProcedureEscalationTypedefinitions for the possibleEscalationFlowinstances by theProcedure.- Specified by:
getEscalationTypesin interfaceProcedureType- Returns:
ProcedureEscalationTypedefinitions for the possibleEscalationFlowinstances by theProcedure.
-
getNextArgumentType
Description copied from interface:ProcedureType- Specified by:
getNextArgumentTypein interfaceProcedureType- Returns:
- Type name of
Objectpassed to theNextManagedFunction. May benullif no argument.
-