Interface ManagedFunctionObjectConfiguration<O>
- All Known Implementing Classes:
ManagedFunctionObjectConfigurationImpl
public interface ManagedFunctionObjectConfiguration<O>
Configuration for a dependent
Object of a ManagedFunction.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionintgetIndex()Obtains the index identifying the dependentObject.getKey()Obtains the key identifying the dependentObject.Class<?>Obtains the type ofObjectrequired by theManagedFunction.Obtains the name of theManagedObjectwithin theManagedObjectScope.booleanIndicates if this dependentObjectis the argument passed to theManagedFunction.
-
Method Details
-
isParameter
boolean isParameter()Indicates if this dependentObjectis the argument passed to theManagedFunction.- Returns:
trueif is argument passed to theManagedFunction.falseindicates it is aManagedObjectdependency.
-
getScopeManagedObjectName
String getScopeManagedObjectName()Obtains the name of the
ManagedObjectwithin theManagedObjectScope.This must return a value if not a parameter.
- Returns:
- Name of the
ManagedObjectwithin theManagedObjectScope.
-
getObjectType
Class<?> getObjectType()Obtains the type ofObjectrequired by theManagedFunction.- Returns:
- Type of
Objectrequired by theManagedFunction.
-
getIndex
int getIndex()Obtains the index identifying the dependentObject.- Returns:
- Index identifying the dependent
Object.
-
getKey
O getKey()Obtains the key identifying the dependentObject.- Returns:
- Key identifying the dependent
Object.nullif indexed.
-