1 23 24 package org.objectweb.fractal.adl; 25 26 import java.util.Map ; 27 28 33 34 public interface Node { 35 36 41 42 String astGetType (); 43 44 49 50 String astGetSource (); 51 52 57 58 void astSetSource (String source); 59 60 65 66 Map astGetAttributes (); 67 68 74 75 void astSetAttributes (Map attributes); 76 77 84 85 Object astGetDecoration (String name); 86 87 93 94 void astSetDecoration (String name, Object decoration); 95 96 101 102 Map astGetDecorations (); 103 104 110 111 void astSetDecorations (Map decorations); 112 113 118 119 String [] astGetNodeTypes (); 120 121 127 128 Node[] astGetNodes (String type); 129 130 136 137 void astAddNode (Node node); 138 139 145 146 void astRemoveNode (Node node); 147 148 153 154 Node astNewInstance (); 155 } 156 | Popular Tags |