edu.usc.alfa.xalfa.ast.composition
Class CompositionNode

java.lang.Object
  extended byedu.usc.alfa.xalfa.ast.Node
      extended byedu.usc.alfa.xalfa.ast.NamedNode
          extended byedu.usc.alfa.xalfa.ast.composition.CompositionNode
Direct Known Subclasses:
ArchitectureNode, StyleNode

public abstract class CompositionNode
extends NamedNode

Abstract Node representing the similarities between a style and an architecture.


Constructor Summary
CompositionNode(java.lang.String ID, java.lang.String label)
          Creates a new instance of CompositionNode
 
Method Summary
 ConstituentNode[] getConstituents()
          Getter for property constituents.
 DatumNode[] getData()
          Getter for property data.
 DuctNode[] getDucts()
          Getter for property ducts.
 void setConstituents(ConstituentNode[] constituents)
          Setter for property constituents.
 void setData(DatumNode[] data)
          Setter for property data.
 void setDucts(DuctNode[] ducts)
          Setter for property ducts.
 java.lang.String toDebugString(int level)
          Generate debugging information
 java.lang.String toString()
           
 
Methods inherited from class edu.usc.alfa.xalfa.ast.NamedNode
getName
 
Methods inherited from class edu.usc.alfa.xalfa.ast.Node
accept, equals, getID, getTabs, hashCode, nodeSequenceString, nodeSequenceString, toDebugString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompositionNode

public CompositionNode(java.lang.String ID,
                       java.lang.String label)
Creates a new instance of CompositionNode

Parameters:
ID - ID of the node
label - name of the node
Method Detail

toDebugString

public java.lang.String toDebugString(int level)
Generate debugging information

Specified by:
toDebugString in class Node
Parameters:
level - number of tabs to leave at the beginning of each line.
Returns:
String containing the architecture's styles, datums, constituents, and links

toString

public java.lang.String toString()

getConstituents

public ConstituentNode[] getConstituents()
Getter for property constituents.

Returns:
Value of property constituents.

setConstituents

public void setConstituents(ConstituentNode[] constituents)
Setter for property constituents.

Parameters:
constituents - New value of property constituents.

getData

public DatumNode[] getData()
Getter for property data.

Returns:
Value of property data.

setData

public void setData(DatumNode[] data)
Setter for property data.

Parameters:
data - New value of property data.

getDucts

public DuctNode[] getDucts()
Getter for property ducts.

Returns:
Value of property ducts.

setDucts

public void setDucts(DuctNode[] ducts)
Setter for property ducts.

Parameters:
ducts - New value of property ducts.