org.ow2.frascati.fscript.model
Class ScaParentAxis

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

public class ScaParentAxis
extends org.objectweb.fractal.fscript.model.AbstractAxis

Implements the scaparent axis in FPath. This axis connects SCA components to their direct parents (if any). This axis is not modifiable directly (although changes to the child axis will reflect on this one).

Author:
Christophe Demarey.

Field Summary
 
Fields inherited from class org.objectweb.fractal.fscript.model.AbstractAxis
inputType, model, name, outputType
 
Constructor Summary
ScaParentAxis(FraSCAtiModel model)
          Default constructor.
 
Method Summary
 boolean isModifiable()
           
 boolean isPrimitive()
           
 java.util.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.AbstractAxis
connect, disconnect, getInputNodeType, getModel, getName, getOutputNodeType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScaParentAxis

public ScaParentAxis(FraSCAtiModel model)
Default constructor.

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

isPrimitive

public final boolean isPrimitive()

isModifiable

public final boolean isModifiable()

selectFrom

public final java.util.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.

Parameters:
source - The source node to introspect.
Returns:
A set of nodes.


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