Module org.refcodes.component
Package org.refcodes.component
Interface DecomposableHandle.DecomposeAutomatonHandle<H>
- Type Parameters:
H- The type of the handle.
- All Superinterfaces:
DecomposableHandle<H>
- Enclosing interface:
- DecomposableHandle<H>
public static interface DecomposableHandle.DecomposeAutomatonHandle<H>
extends DecomposableHandle<H>
The
DecomposableHandle.DecomposeAutomatonHandle interface defines those methods
related to the handle based decompose life-cycle. The handle reference
requires the Decomposable.DecomposeAutomaton interface to be implemented.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.component.DecomposableHandle
DecomposableHandle.DecomposeAutomatonHandle<H> -
Method Summary
Modifier and TypeMethodDescriptionvoidDecomposes the component identified by the given handle.booleanhasDecomposeAutomaton(H aHandle) Determines whether the handle reference is decomposable by implementing theDecomposable.DecomposeAutomatoninterface.booleanisDecomposable(H aHandle) Determines whether the component identified by the given handle may get decomposed.Methods inherited from interface org.refcodes.component.DecomposableHandle
hasDecomposable
-
Method Details
-
hasDecomposeAutomaton
Determines whether the handle reference is decomposable by implementing theDecomposable.DecomposeAutomatoninterface.- Parameters:
aHandle- The handle to test whether the reference provides the according functionality.- Returns:
- True in case the reference provides the according functionality.
- Throws:
UnknownHandleRuntimeException- in case the handle is unknown.
-
isDecomposable
Determines whether the component identified by the given handle may get decomposed.- Parameters:
aHandle- The handle identifying the component.- Returns:
- True if
decompose(Object)is possible. - Throws:
UnknownHandleRuntimeException- in case the given handle is unknown.UnsupportedHandleOperationRuntimeException- in case the reference of the handle does not support the requested operation.
-
decompose
Decomposes the component identified by the given handle.- Specified by:
decomposein interfaceDecomposableHandle<H>- Parameters:
aHandle- The handle identifying the component.- Throws:
UnknownHandleRuntimeException- in case the given handle is unknown.UnsupportedHandleOperationRuntimeException- in case the reference of the handle does not support the requested operation.
-