fenfire-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ff-cvs] fenfire/docs/pegboard/view_nodetypemanager--hum...


From: Asko Soukka
Subject: [ff-cvs] fenfire/docs/pegboard/view_nodetypemanager--hum...
Date: Wed, 10 Sep 2003 04:55:16 -0400

CVSROOT:        /cvsroot/fenfire
Module name:    fenfire
Branch:         
Changes by:     Asko Soukka <address@hidden>    03/09/10 04:55:16

Modified files:
        docs/pegboard/view_nodetypemanager--humppake: peg.rst 

Log message:
        String -> Object

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/docs/pegboard/view_nodetypemanager--humppake/peg.rst.diff?tr1=1.5&tr2=1.6&r1=text&r2=text

Patches:
Index: fenfire/docs/pegboard/view_nodetypemanager--humppake/peg.rst
diff -u fenfire/docs/pegboard/view_nodetypemanager--humppake/peg.rst:1.5 
fenfire/docs/pegboard/view_nodetypemanager--humppake/peg.rst:1.6
--- fenfire/docs/pegboard/view_nodetypemanager--humppake/peg.rst:1.5    Wed Sep 
10 01:33:13 2003
+++ fenfire/docs/pegboard/view_nodetypemanager--humppake/peg.rst        Wed Sep 
10 04:55:16 2003
@@ -4,8 +4,8 @@
 
 :Authors:  Asko Soukka
 :Date-Created: 2003-09-09
-:Last-Modified: $Date: 2003/09/10 05:33:13 $
-:Revision: $Revision: 1.5 $
+:Last-Modified: $Date: 2003/09/10 08:55:16 $
+:Revision: $Revision: 1.6 $
 :Status:   Current
 :Stakeholders: tjl, mudyc
 :Scope:    Minor
@@ -44,7 +44,7 @@
        NOTE: The class implementing ``NodeTypeManager`` should define 
constants for
        return vales of ``getNodeTypeId``.
 
-       RE-RESOLVED: String as the return value has less restrictions
+       RE-RESOLVED: String as the return value has less restrictions.
 
 Why int? Why not, e.g., String or URL?
 
@@ -59,6 +59,17 @@
 
          String getNodeTypeId(Object o);
 
+       RE-RESOLVED: Object as the return value has even less restrictions :)
+
+Why String? Why not Object?
+
+       RESOLVED: Yeah, right... Using object allows e.g. usage of individual
+        nodes as an unique identifier for a node type.
+
+       Let it be::
+
+         Object getNodeTypeId(Object o);
+
 Introduction
 ============
 
@@ -99,18 +110,18 @@
         */
        public interface NodeTypeManager {
     
-           /** Resolve an identifier string unique to the
-            * node type of the give node object.
+           /** Resolve an identifier object unique to the
+            * node type of the given node object.
             * @param o The node object, which node type is to be resolved.
-            * @return An Id value for the node type of the given node.
+            * @return An id object for the node type of the given node.
             */
-           public int getNodeTypeID(Object o);
+           public Object getNodeTypeID(Object o);
        
            /** Resolve the node type for the given node object.
             * @param o The node object, which node type is to be resolved.
             * @return An AbstractNodeType2D for the given node object.
             */
-           public AbstractNodeType2D getNodeType(Object o);
+           public AbstractNodeType2D getBuoyNodeType(Object o);
        }
 
 Implement the interface into FenPDF 
(``org.fenfire.fenpdf.FenPDFNodeTypeManager``).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]