Class ManagedObjectTypeImpl<D extends Enum<D>>
java.lang.Object
net.officefloor.compile.impl.managedobject.ManagedObjectTypeImpl<D>
- All Implemented Interfaces:
ManagedObjectType<D>
public class ManagedObjectTypeImpl<D extends Enum<D>>
extends Object
implements ManagedObjectType<D>
ManagedObjectType implementation.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionManagedObjectTypeImpl(Class<?> objectClass, boolean isInput, ManagedObjectDependencyType<D>[] dependencies, ManagedObjectFunctionDependencyType[] functionDependencies, ManagedObjectFlowType<?>[] flows, ManagedObjectTeamType[] teams, ManagedObjectExecutionStrategyType[] executionStrategy, Class<?>[] extensionTypes) Initiate. -
Method Summary
Modifier and TypeMethodDescriptionObtains theManagedObjectDependencyTypedefinitions of the required dependencies for theManagedObject.Obtains theManagedObjectExecutionStrategyTypedefinitions of theExecutionStrategyinstances required by theManagedObject.Class<?>[]Obtains the extension types supported by theManagedObject.Obtains theManagedObjectFlowTypedefinitions of theFlowinstances required to be linked for theManagedObjectSource.Obtains theManagedObjectFunctionDependencyTypedefinitions of the required dependencies of the addedManagedFunctioninstances of theManagedObjectSource.Class<?>Obtains theClassof the object returned fromManagedObject.booleanisInput()Indicates if theManagedObjectSourcemay trigger aFlow.
-
Constructor Details
-
ManagedObjectTypeImpl
public ManagedObjectTypeImpl(Class<?> objectClass, boolean isInput, ManagedObjectDependencyType<D>[] dependencies, ManagedObjectFunctionDependencyType[] functionDependencies, ManagedObjectFlowType<?>[] flows, ManagedObjectTeamType[] teams, ManagedObjectExecutionStrategyType[] executionStrategy, Class<?>[] extensionTypes) Initiate.- Parameters:
objectClass-Classof theObjectreturned from theManagedObject.isInput- Indicates if may trigger aFlow.dependencies-ManagedObjectDependencyTypeinstances.functionDependencies-ManagedObjectFunctionDependencyTypeinstances.flows-ManagedObjectFlowTypeinstances.teams-ManagedObjectTeamTypeinstances.executionStrategy-ManagedObjectExecutionStrategyTypeinstances.extensionTypes- Extension types supported by theManagedObject.
-
-
Method Details
-
getObjectType
Description copied from interface:ManagedObjectTypeObtains theClassof the object returned fromManagedObject.- Specified by:
getObjectTypein interfaceManagedObjectType<D extends Enum<D>>- Returns:
- The
Classof the object being managed by theManagedObject.
-
isInput
public boolean isInput()Description copied from interface:ManagedObjectTypeIndicates if the
ManagedObjectSourcemay trigger aFlow.Note that a
ManagedObjectSourcecan provide noManagedObjectFlowTypeinstances yet still be input (asManagedObjectSourceprovides theManagedFunctionfor theFlow).- Specified by:
isInputin interfaceManagedObjectType<D extends Enum<D>>- Returns:
trueif input.
-
getDependencyTypes
Description copied from interface:ManagedObjectTypeObtains theManagedObjectDependencyTypedefinitions of the required dependencies for theManagedObject.- Specified by:
getDependencyTypesin interfaceManagedObjectType<D extends Enum<D>>- Returns:
ManagedObjectDependencyTypedefinitions of the required dependencies for theManagedObject.
-
getFunctionDependencyTypes
Description copied from interface:ManagedObjectTypeObtains theManagedObjectFunctionDependencyTypedefinitions of the required dependencies of the addedManagedFunctioninstances of theManagedObjectSource.- Specified by:
getFunctionDependencyTypesin interfaceManagedObjectType<D extends Enum<D>>- Returns:
ManagedObjectFunctionDependencyTypedefinitions of the required dependencies of the addedManagedFunctioninstances of theManagedObjectSource.
-
getFlowTypes
Description copied from interface:ManagedObjectTypeObtains theManagedObjectFlowTypedefinitions of theFlowinstances required to be linked for theManagedObjectSource.- Specified by:
getFlowTypesin interfaceManagedObjectType<D extends Enum<D>>- Returns:
ManagedObjectFlowTypedefinitions of theFlowinstances required to be linked for theManagedObjectSource.
-
getTeamTypes
Description copied from interface:ManagedObjectType- Specified by:
getTeamTypesin interfaceManagedObjectType<D extends Enum<D>>- Returns:
ManagedObjectTeamTypedefinitions ofTeaminstances required by theManagedObject.
-
getExecutionStrategyTypes
Description copied from interface:ManagedObjectTypeObtains theManagedObjectExecutionStrategyTypedefinitions of theExecutionStrategyinstances required by theManagedObject.- Specified by:
getExecutionStrategyTypesin interfaceManagedObjectType<D extends Enum<D>>- Returns:
ManagedObjectExecutionStrategyTypedefinitions of theExecutionStrategyinstances required by theManagedObject.
-
getExtensionTypes
Description copied from interface:ManagedObjectTypeObtains the extension types supported by theManagedObject.- Specified by:
getExtensionTypesin interfaceManagedObjectType<D extends Enum<D>>- Returns:
- Extension types supported by the
ManagedObject.
-