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