Class AdministrationFlowTypeImpl<F extends java.lang.Enum<F>>
- java.lang.Object
-
- net.officefloor.compile.impl.administrator.AdministrationFlowTypeImpl<F>
-
- All Implemented Interfaces:
AdministrationFlowType<F>
public class AdministrationFlowTypeImpl<F extends java.lang.Enum<F>> extends java.lang.Object implements AdministrationFlowType<F>
AdministrationFlowType
implementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description AdministrationFlowTypeImpl(java.lang.String flowName, java.lang.Class<?> argumentType, int index, F key)
Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
getArgumentType()
Obtains the type of the argument passed by theAdministration
to theFlow
.java.lang.String
getFlowName()
Obtains the name of theFlow
.int
getIndex()
Obtains the index identifying theFlow
.F
getKey()
Obtains the key identifying theFlow
.
-
-
-
Constructor Detail
-
AdministrationFlowTypeImpl
public AdministrationFlowTypeImpl(java.lang.String flowName, java.lang.Class<?> argumentType, int index, F key)
Initiate.
-
-
Method Detail
-
getFlowName
public java.lang.String getFlowName()
Description copied from interface:AdministrationFlowType
Obtains the name of theFlow
.- Specified by:
getFlowName
in interfaceAdministrationFlowType<F extends java.lang.Enum<F>>
- Returns:
- Name of the
Flow
.
-
getArgumentType
public java.lang.Class<?> getArgumentType()
Description copied from interface:AdministrationFlowType
Obtains the type of the argument passed by theAdministration
to theFlow
.- Specified by:
getArgumentType
in interfaceAdministrationFlowType<F extends java.lang.Enum<F>>
- Returns:
- Type of argument passed by the
Administration
. May benull
to indicate no argument.
-
getIndex
public int getIndex()
Description copied from interface:AdministrationFlowType
Obtains the index identifying theFlow
.- Specified by:
getIndex
in interfaceAdministrationFlowType<F extends java.lang.Enum<F>>
- Returns:
- Index identifying the
Flow
.
-
getKey
public F getKey()
Description copied from interface:AdministrationFlowType
Obtains the key identifying theFlow
.- Specified by:
getKey
in interfaceAdministrationFlowType<F extends java.lang.Enum<F>>
- Returns:
- Key identifying the
Flow
.
-
-