net.officefloor.frame.internal.configuration
Interface TaskObjectConfiguration<D>

All Known Implementing Classes:
TaskObjectConfigurationImpl

public interface TaskObjectConfiguration<D>

Configuration for a dependent Object of a Task.

Author:
Daniel Sagenschneider

Method Summary
 int getIndex()
          Obtains the index identifying the dependent Object.
 D getKey()
          Obtains the key identifying the dependent Object.
 Class<?> getObjectType()
          Obtains the type of Object required by the Task.
 String getScopeManagedObjectName()
           Obtains the name of the ManagedObject within the ManagedObjectScope.
 boolean isParameter()
          Indicates if this dependent Object is the argument passed to the Task.
 

Method Detail

isParameter

boolean isParameter()
Indicates if this dependent Object is the argument passed to the Task.

Returns:
true if is argument passed to the Task. false indicates it is a ManagedObject dependency.

getScopeManagedObjectName

String getScopeManagedObjectName()

Obtains the name of the ManagedObject within the ManagedObjectScope.

This must return a value if not a parameter.

Returns:
Name of the ManagedObject within the ManagedObjectScope.

getObjectType

Class<?> getObjectType()
Obtains the type of Object required by the Task.

Returns:
Type of Object required by the Task.

getIndex

int getIndex()
Obtains the index identifying the dependent Object.

Returns:
Index identifying the dependent Object.

getKey

D getKey()
Obtains the key identifying the dependent Object.

Returns:
Key identifying the dependent Object. null if indexed.


Copyright © 2005-2013. All Rights Reserved.