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>
ManagedObjectFlowMetaDataimplementation.- 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 theClassof the argument that is passed to theFlow.FgetKey()Obtains theEnumkey identifying thisFlow.java.lang.StringgetLabel()Provides a descriptive name for thisFlow.voidsetLabel(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:ManagedObjectFlowMetaDataObtains theEnumkey identifying thisFlow. IfnullthenFlowwill be referenced by this instance's index in the array returned fromManagedObjectSourceMetaData.- Specified by:
getKeyin interfaceManagedObjectFlowMetaData<F extends java.lang.Enum<F>>- Returns:
Enumkey identifying theFlowornullindicating identified by an index.
-
getArgumentType
public java.lang.Class<?> getArgumentType()
Description copied from interface:ManagedObjectFlowMetaDataObtains the
Classof the argument that is passed to theFlow.This may be
nullto indicate no argument is passed.- Specified by:
getArgumentTypein 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:
getLabelin interfaceManagedObjectFlowMetaData<F extends java.lang.Enum<F>>- Returns:
- Descriptive name for this
Flow.
-
-