Class ManagedObjectTypeImpl<D extends java.lang.Enum<D>>
- java.lang.Object
-
- net.officefloor.compile.impl.managedobject.ManagedObjectTypeImpl<D>
-
- All Implemented Interfaces:
ManagedObjectType<D>
public class ManagedObjectTypeImpl<D extends java.lang.Enum<D>> extends java.lang.Object implements ManagedObjectType<D>
ManagedObjectType
implementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ManagedObjectTypeImpl(java.lang.Class<?> objectClass, boolean isInput, ManagedObjectDependencyType<D>[] dependencies, ManagedObjectFunctionDependencyType[] functionDependencies, ManagedObjectFlowType<?>[] flows, ManagedObjectTeamType[] teams, ManagedObjectExecutionStrategyType[] executionStrategy, java.lang.Class<?>[] extensionTypes)
Initiate.
-
Method Summary
-
-
-
Constructor Detail
-
ManagedObjectTypeImpl
public ManagedObjectTypeImpl(java.lang.Class<?> objectClass, boolean isInput, ManagedObjectDependencyType<D>[] dependencies, ManagedObjectFunctionDependencyType[] functionDependencies, ManagedObjectFlowType<?>[] flows, ManagedObjectTeamType[] teams, ManagedObjectExecutionStrategyType[] executionStrategy, java.lang.Class<?>[] extensionTypes)
Initiate.- Parameters:
objectClass
-Class
of theObject
returned from theManagedObject
.isInput
- Indicates if may trigger aFlow
.dependencies
-ManagedObjectDependencyType
instances.functionDependencies
-ManagedObjectFunctionDependencyType
instances.flows
-ManagedObjectFlowType
instances.teams
-ManagedObjectTeamType
instances.executionStrategy
-ManagedObjectExecutionStrategyType
instances.extensionTypes
- Extension types supported by theManagedObject
.
-
-
Method Detail
-
getObjectType
public java.lang.Class<?> getObjectType()
Description copied from interface:ManagedObjectType
Obtains theClass
of the object returned fromManagedObject
.- Specified by:
getObjectType
in interfaceManagedObjectType<D extends java.lang.Enum<D>>
- Returns:
- The
Class
of the object being managed by theManagedObject
.
-
isInput
public boolean isInput()
Description copied from interface:ManagedObjectType
Indicates if the
ManagedObjectSource
may trigger aFlow
.Note that a
ManagedObjectSource
can provide noManagedObjectFlowType
instances yet still be input (asManagedObjectSource
provides theManagedFunction
for theFlow
).- Specified by:
isInput
in interfaceManagedObjectType<D extends java.lang.Enum<D>>
- Returns:
true
if input.
-
getDependencyTypes
public ManagedObjectDependencyType<D>[] getDependencyTypes()
Description copied from interface:ManagedObjectType
Obtains theManagedObjectDependencyType
definitions of the required dependencies for theManagedObject
.- Specified by:
getDependencyTypes
in interfaceManagedObjectType<D extends java.lang.Enum<D>>
- Returns:
ManagedObjectDependencyType
definitions of the required dependencies for theManagedObject
.
-
getFunctionDependencyTypes
public ManagedObjectFunctionDependencyType[] getFunctionDependencyTypes()
Description copied from interface:ManagedObjectType
Obtains theManagedObjectFunctionDependencyType
definitions of the required dependencies of the addedManagedFunction
instances of theManagedObjectSource
.- Specified by:
getFunctionDependencyTypes
in interfaceManagedObjectType<D extends java.lang.Enum<D>>
- Returns:
ManagedObjectFunctionDependencyType
definitions of the required dependencies of the addedManagedFunction
instances of theManagedObjectSource
.
-
getFlowTypes
public ManagedObjectFlowType<?>[] getFlowTypes()
Description copied from interface:ManagedObjectType
Obtains theManagedObjectFlowType
definitions of theFlow
instances required to be linked for theManagedObjectSource
.- Specified by:
getFlowTypes
in interfaceManagedObjectType<D extends java.lang.Enum<D>>
- Returns:
ManagedObjectFlowType
definitions of theFlow
instances required to be linked for theManagedObjectSource
.
-
getTeamTypes
public ManagedObjectTeamType[] getTeamTypes()
Description copied from interface:ManagedObjectType
- Specified by:
getTeamTypes
in interfaceManagedObjectType<D extends java.lang.Enum<D>>
- Returns:
ManagedObjectTeamType
definitions ofTeam
instances required by theManagedObject
.
-
getExecutionStrategyTypes
public ManagedObjectExecutionStrategyType[] getExecutionStrategyTypes()
Description copied from interface:ManagedObjectType
Obtains theManagedObjectExecutionStrategyType
definitions of theExecutionStrategy
instances required by theManagedObject
.- Specified by:
getExecutionStrategyTypes
in interfaceManagedObjectType<D extends java.lang.Enum<D>>
- Returns:
ManagedObjectExecutionStrategyType
definitions of theExecutionStrategy
instances required by theManagedObject
.
-
getExtensionTypes
public java.lang.Class<?>[] getExtensionTypes()
Description copied from interface:ManagedObjectType
Obtains the extension types supported by theManagedObject
.- Specified by:
getExtensionTypes
in interfaceManagedObjectType<D extends java.lang.Enum<D>>
- Returns:
- Extension types supported by the
ManagedObject
.
-
-