KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mmbase > module > builders > PosRel


1 /*
2
3 This software is OSI Certified Open Source Software.
4 OSI Certified is a certification mark of the Open Source Initiative.
5
6 The license (Mozilla version 1.0) can be read at the MMBase site.
7 See http://www.MMBase.org/license
8
9 */

10 package org.mmbase.module.builders;
11
12 import org.mmbase.module.corebuilders.InsRel;
13 import org.mmbase.module.core.MMObjectNode;
14
15 /**
16  * Like InsRel, only with a GUIIndicator tailored for a relation with a 'pos' field.
17  *
18  * @application Tools
19  * @author Rico Jansen
20  * @author Michiel Meeuwissen.
21  * @version $Id: PosRel.java,v 1.8 2004/10/08 12:30:01 pierre Exp $
22  */

23 public class PosRel extends InsRel {
24
25     public PosRel() {
26     }
27
28     public String JavaDoc getGUIIndicator(MMObjectNode node) {
29         return super.getGUIIndicator(node) + ":" + node.getStringValue("pos");
30     }
31
32
33 }
34
Popular Tags