net.officefloor.frame.spi.managedobject.source
Interface ManagedObjectFlowMetaData<F extends Enum<F>>

All Known Implementing Classes:
ManagedObjectFlowMetaDataImpl

public interface ManagedObjectFlowMetaData<F extends Enum<F>>

Describes a JobSequence required by the ManagedObjectSource.

Author:
Daniel Sagenschneider

Method Summary
 Class<?> getArgumentType()
           Obtains the Class of the argument that is passed to the JobSequence.
 F getKey()
          Obtains the Enum key identifying this JobSequence.
 String getLabel()
          Provides a descriptive name for this JobSequence.
 

Method Detail

getKey

F getKey()
Obtains the Enum key identifying this JobSequence. If null then JobSequence will be referenced by this instance's index in the array returned from ManagedObjectSourceMetaData.

Returns:
Enum key identifying the JobSequence or null indicating identified by an index.

getArgumentType

Class<?> getArgumentType()

Obtains the Class of the argument that is passed to the JobSequence.

This may be null to indicate no argument is passed.

Returns:
Type of the argument that is passed to the JobSequence.

getLabel

String getLabel()
Provides a descriptive name for this JobSequence. This is useful to better describe the JobSequence.

Returns:
Descriptive name for this JobSequence.


Copyright © 2005-2013. All Rights Reserved.