/[fenfire]/fenfire/org/fenfire/Fen.java
ViewVC logotype

Diff of /fenfire/org/fenfire/Fen.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by tjl, Tue Apr 8 20:31:05 2003 UTC revision 1.3 by tjl, Sun Apr 13 07:49:05 2003 UTC
# Line 7  package org.fenfire; Line 7  package org.fenfire;
7  public class Fen {  public class Fen {
8      /** The RDF model of the graph structure part of this fen.      /** The RDF model of the graph structure part of this fen.
9       */       */
10      public com.hp.hpl.mesa.rdf.jena.model.Model model;      public org.fenfire.swamp.Graph graph;
11    
12        /** The RDF model of the graph structure part of this fen.
13         */
14        public org.fenfire.swamp.ConstGraph constgraph;
15    
16      /** The object managing the enfilade content for nodes.      /** The object managing the enfilade content for nodes.
17       */       */
# Line 17  public class Fen { Line 21  public class Fen {
21       */       */
22      public org.fenfire.index.Index enfiladeOverlap;      public org.fenfire.index.Index enfiladeOverlap;
23    
24        /** For use with recursed Fens: indicate
25         * that this Fen will not be used again
26         * and may be recycled.
27         */
28        public void close() {
29            txt._close();
30            constgraph.close();
31        }
32    
33        /** Obtain a new Fen which observes.
34         * if the result of one of the methods
35         * that were called for the returned Fen changes
36         * through a structure change (i.e. a find() was
37         * done and one of the found objects is removed
38         * or an extra one is added), then Obs will be called.
39         * Null may be returned if the current Fen is not observable.
40         */
41        Fen getObserved(Obs o) {
42            Fen n = new Fen();
43            n.constgraph = n.graph = graph.getObservedGraph(o);
44            n.txt = txt._getObserved(n, o);
45            return n;
46        }
47    
48      /** The set of xanadu links in use with this Fen.      /** The set of xanadu links in use with this Fen.
49       */       */
50  //    public XuIndexer xuLinks;  //    public XuIndexer xuLinks;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26