Class ManagedObjectFlowTypeImpl<F extends java.lang.Enum<F>>
- java.lang.Object
-
- net.officefloor.compile.impl.managedobject.ManagedObjectFlowTypeImpl<F>
-
- All Implemented Interfaces:
ManagedObjectFlowType<F>
public class ManagedObjectFlowTypeImpl<F extends java.lang.Enum<F>> extends java.lang.Object implements ManagedObjectFlowType<F>
ManagedObjectFlowTypeimplementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ManagedObjectFlowTypeImpl(int index, java.lang.Class<?> argumentType, F key, java.lang.String label)Initiate for aManagedObjectFlowTypeinvoked from aManagedFunctionadded by theManagedObjectSource.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>getArgumentType()Obtains the type of the argument passed to theFlow.java.lang.StringgetFlowName()Obtains the name of theFlow.intgetIndex()Obtains the index identifying theFlow.FgetKey()Obtains the key identifying theFlow.
-
-
-
Constructor Detail
-
ManagedObjectFlowTypeImpl
public ManagedObjectFlowTypeImpl(int index, java.lang.Class<?> argumentType, F key, java.lang.String label)Initiate for aManagedObjectFlowTypeinvoked from aManagedFunctionadded by theManagedObjectSource.- Parameters:
index- Index identifying this flow.argumentType- Type of argument given to this flow. May benull.key- Key identifying this flow. May benull.label- Label describing this flow. May benull.
-
-
Method Detail
-
getFlowName
public java.lang.String getFlowName()
Description copied from interface:ManagedObjectFlowTypeObtains the name of theFlow.- Specified by:
getFlowNamein interfaceManagedObjectFlowType<F extends java.lang.Enum<F>>- Returns:
- Name of the
Flow.
-
getIndex
public int getIndex()
Description copied from interface:ManagedObjectFlowTypeObtains the index identifying theFlow.- Specified by:
getIndexin interfaceManagedObjectFlowType<F extends java.lang.Enum<F>>- Returns:
- Index identifying the
Flow.
-
getArgumentType
public java.lang.Class<?> getArgumentType()
Description copied from interface:ManagedObjectFlowTypeObtains the type of the argument passed to theFlow.- Specified by:
getArgumentTypein interfaceManagedObjectFlowType<F extends java.lang.Enum<F>>- Returns:
- Type of argument passed to the
Flow. May benullto indicate no argument.
-
getKey
public F getKey()
Description copied from interface:ManagedObjectFlowTypeObtains the key identifying theFlow.- Specified by:
getKeyin interfaceManagedObjectFlowType<F extends java.lang.Enum<F>>- Returns:
- Key identifying the
Flow.
-
-