Class ManagedObjectFlowMetaDataImpl<F extends java.lang.Enum<F>>
- java.lang.Object
-
- net.officefloor.frame.api.managedobject.source.impl.ManagedObjectFlowMetaDataImpl<F>
-
- All Implemented Interfaces:
ManagedObjectFlowMetaData<F>
public class ManagedObjectFlowMetaDataImpl<F extends java.lang.Enum<F>> extends java.lang.Object implements ManagedObjectFlowMetaData<F>
ManagedObjectFlowMetaData
implementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ManagedObjectFlowMetaDataImpl(F key, java.lang.Class<?> argumentType)
Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
getArgumentType()
Obtains theClass
of the argument that is passed to theFlow
.F
getKey()
Obtains theEnum
key identifying thisFlow
.java.lang.String
getLabel()
Provides a descriptive name for thisFlow
.void
setLabel(java.lang.String label)
Specifies a label to describe theFlow
.
-
-
-
Method Detail
-
setLabel
public void setLabel(java.lang.String label)
Specifies a label to describe theFlow
.- Parameters:
label
- Label to describe theFlow
.
-
getKey
public F getKey()
Description copied from interface:ManagedObjectFlowMetaData
Obtains theEnum
key identifying thisFlow
. Ifnull
thenFlow
will be referenced by this instance's index in the array returned fromManagedObjectSourceMetaData
.- Specified by:
getKey
in interfaceManagedObjectFlowMetaData<F extends java.lang.Enum<F>>
- Returns:
Enum
key identifying theFlow
ornull
indicating identified by an index.
-
getArgumentType
public java.lang.Class<?> getArgumentType()
Description copied from interface:ManagedObjectFlowMetaData
Obtains the
Class
of the argument that is passed to theFlow
.This may be
null
to indicate no argument is passed.- Specified by:
getArgumentType
in interfaceManagedObjectFlowMetaData<F extends java.lang.Enum<F>>
- Returns:
- Type of the argument that is passed to the
Flow
.
-
getLabel
public java.lang.String getLabel()
Description copied from interface:ManagedObjectFlowMetaData
- Specified by:
getLabel
in interfaceManagedObjectFlowMetaData<F extends java.lang.Enum<F>>
- Returns:
- Descriptive name for this
Flow
.
-
-