Class ManagedFunctionObjectConfigurationImpl<D extends Enum<D>>
java.lang.Object
net.officefloor.frame.impl.construct.managedfunction.ManagedFunctionObjectConfigurationImpl<D>
- All Implemented Interfaces:
ManagedFunctionObjectConfiguration<D>
public class ManagedFunctionObjectConfigurationImpl<D extends Enum<D>>
extends Object
implements ManagedFunctionObjectConfiguration<D>
ManagedFunctionObjectConfiguration implementation.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionManagedFunctionObjectConfigurationImpl(boolean isParameter, String scopeManagedObjectName, Class<?> objectType, int index, D key) Initiate. -
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.
-
Constructor Details
-
ManagedFunctionObjectConfigurationImpl
public ManagedFunctionObjectConfigurationImpl(boolean isParameter, String scopeManagedObjectName, Class<?> objectType, int index, D key) Initiate.- Parameters:
isParameter- Indicates if a parameter.scopeManagedObjectName- Name ofManagedObjectwithin theManagedObjectScope.objectType- Type required of the dependentObject.index- Index of thisObject.key- Key of thisObject.
-
-
Method Details
-
isParameter
public boolean isParameter()Description copied from interface:ManagedFunctionObjectConfigurationIndicates if this dependentObjectis the argument passed to theManagedFunction.- Specified by:
isParameterin interfaceManagedFunctionObjectConfiguration<D extends Enum<D>>- Returns:
trueif is argument passed to theManagedFunction.falseindicates it is aManagedObjectdependency.
-
getScopeManagedObjectName
Description copied from interface:ManagedFunctionObjectConfigurationObtains the name of the
ManagedObjectwithin theManagedObjectScope.This must return a value if not a parameter.
- Specified by:
getScopeManagedObjectNamein interfaceManagedFunctionObjectConfiguration<D extends Enum<D>>- Returns:
- Name of the
ManagedObjectwithin theManagedObjectScope.
-
getObjectType
Description copied from interface:ManagedFunctionObjectConfigurationObtains the type ofObjectrequired by theManagedFunction.- Specified by:
getObjectTypein interfaceManagedFunctionObjectConfiguration<D extends Enum<D>>- Returns:
- Type of
Objectrequired by theManagedFunction.
-
getIndex
public int getIndex()Description copied from interface:ManagedFunctionObjectConfigurationObtains the index identifying the dependentObject. -
getKey
Description copied from interface:ManagedFunctionObjectConfigurationObtains the key identifying the dependentObject.
-