Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: giny/model/Node.java


1   package giny.model;
2   
3   import java.util.*;
4   import giny.util.*;
5   
6   public interface Node {
7   
8     /**
9      * If a Node is a HParent of any other nodes then it contains those nodes in a 
10     * <code>GraphPerspective</code>.
11     * @return the GraphPerspective of the children of this node
12     */
13    public GraphPerspective getGraphPerspective ();
14  
15    /**
16     * If a Node is a HParent of any other nodes then it contains those nodes in a 
17     * <code>GraphPerspective</code>.
18     * @param gp set the GraphPerspective of this node to the given one
19     */
20    public boolean setGraphPerspective ( GraphPerspective gp );
21  
22    /**
23     * @return the RootGraph that this Node is in
24     */
25    public RootGraph getRootGraph ();
26  
27    /**
28     * @return the index in the RootGraph of this Node
29     */
30    public int getRootGraphIndex ();
31  
32    /**
33     * @return The Unique Identifier of this node
34     */
35    public String getIdentifier ();
36  
37    /**
38     * <B>There is no check to make sure that this is a unique id</B>
39     * @param new_id The new Identifier for this node
40     */
41    public boolean setIdentifier ( String new_id );
42  
43  
44  
45  
46  } // interface Node