class ChildInstance
Package: swiss.avm.up.core.generic.instantiation.controller_instance.javamodel.ChildInstance
Direct Known Subclasses:
class ChildInstance extends Decorator
A ChildInstance binds a parent's Child slot to a concrete child ControllerInstance in the tree. It is the instance-level half of the parent-child relationship and completes the type-level Child slot.
Properties
childRef
Child[1..1]
A Child is a type-level child slot on a Controller. It defines the contract a
subordinate controller must fulfil - the interface it must implement - so any
controller implementing that interface can fill the slot. The concrete child is
bound separately by a ChildInstance.
target
Reference to the decorated Resource.
Resource[1..1]
The base class of any Resource in the system.
treeElementInstance
BaseTreeElementInstance[1..1]
Method Summary
getChildInstanceIndex
@ConfigFunctionSpace
Return:
IntegerLiteral
internal_getSameChildsController
@ConfigFunctionSpace
Return:
List<ChildInstance>
model_allowedBaseTreeElementInstance
@ControllerFunctionSpace
Return:
List<BaseTreeElementInstance>