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

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
              extended byedu.usc.alfa.xalfa.ast.composition.ArchitectureNode

public final class ArchitectureNode
extends CompositionNode

Node representing an architecture. An architecture may be refined from any number of styles.


Constructor Summary
ArchitectureNode(java.lang.String ID, java.lang.String label)
          Creates a new instance of ArchitectureNode
 
Method Summary
 void accept(edu.usc.alfa.xalfa.visitor.NodeVisitor v)
          Currently unsupported.
 LinkNode[] getLinks()
          Getter for property links.
 StyleNode[] getStyles()
          Getter for property styles.
 void setLinks(LinkNode[] links)
          Setter for property links.
 void setStyles(StyleNode[] styles)
          Setter for property styles.
 java.lang.String toDebugString(int level)
          Generate debugging information
 java.lang.String toString()
           
 
Methods inherited from class edu.usc.alfa.xalfa.ast.composition.CompositionNode
getConstituents, getData, getDucts, setConstituents, setData, setDucts
 
Methods inherited from class edu.usc.alfa.xalfa.ast.NamedNode
getName
 
Methods inherited from class edu.usc.alfa.xalfa.ast.Node
equals, getID, getTabs, hashCode, nodeSequenceString, nodeSequenceString, toDebugString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArchitectureNode

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

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

accept

public void accept(edu.usc.alfa.xalfa.visitor.NodeVisitor v)
Currently unsupported.

Specified by:
accept in class Node
Parameters:
v - Node Visitor that wants to visit this node.

toDebugString

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

Overrides:
toDebugString in class CompositionNode
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()
Overrides:
toString in class CompositionNode

getStyles

public StyleNode[] getStyles()
Getter for property styles.

Returns:
Value of property styles.

setStyles

public void setStyles(StyleNode[] styles)
Setter for property styles.

Parameters:
styles - New value of property styles.

getLinks

public LinkNode[] getLinks()
Getter for property links.

Returns:
Value of property links.

setLinks

public void setLinks(LinkNode[] links)
Setter for property links.

Parameters:
links - New value of property links.