org.ow2.frascati.fscript.model
Class ScaChildAxis

java.lang.Object
  extended by org.objectweb.fractal.fscript.model.AbstractAxis
      extended by org.objectweb.fractal.fscript.model.fractal.ChildAxis
          extended by org.ow2.frascati.fscript.model.ScaChildAxis
All Implemented Interfaces:
org.objectweb.fractal.fscript.model.Axis

public class ScaChildAxis
extends org.objectweb.fractal.fscript.model.fractal.ChildAxis

Implements the scachild axis in FPath. This axis connects composite components to their direct subcomponents. The ChildAxis.connect(Node, Node) and ChildAxis.disconnect(Node, Node) operations map to the addition and removal of sub-components from composites.

Author:
Christophe Demarey.

Field Summary
 
Fields inherited from class org.objectweb.fractal.fscript.model.AbstractAxis
inputType, model, name, outputType
 
Constructor Summary
ScaChildAxis(FraSCAtiModel model)
          Default constructor.
 
Method Summary
 Set<org.objectweb.fractal.fscript.model.Node> selectFrom(org.objectweb.fractal.fscript.model.Node source)
          Get nodes for this axis from the specified source node.
 
Methods inherited from class org.objectweb.fractal.fscript.model.fractal.ChildAxis
connect, disconnect, isModifiable, isPrimitive
 
Methods inherited from class org.objectweb.fractal.fscript.model.AbstractAxis
getInputNodeType, getModel, getName, getOutputNodeType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScaChildAxis

public ScaChildAxis(FraSCAtiModel model)
Default constructor.

Parameters:
model - The model referencing this axis.
Method Detail

selectFrom

public Set<org.objectweb.fractal.fscript.model.Node> selectFrom(org.objectweb.fractal.fscript.model.Node source)
Get nodes for this axis from the specified source node.

Specified by:
selectFrom in interface org.objectweb.fractal.fscript.model.Axis
Overrides:
selectFrom in class org.objectweb.fractal.fscript.model.fractal.ChildAxis
Parameters:
source - The source node to introspect.
Returns:
A set of nodes.


Copyright © 2009-2011 OW2 Consortium. All Rights Reserved.