KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > SOFA > SOFAnode > Made > CDL > CompProtMetaOperand


1 /* $Id: CompProtMetaOperand.java,v 1.1.1.1 2003/02/11 16:19:40 bures Exp $ */
2 package SOFA.SOFAnode.Made.CDL;
3
4 class CompProtMetaOperand extends CompProtOper{
5   public String JavaDoc name;
6
7   public CompProtMetaOperand(String JavaDoc name) {
8     super(CompProtKind.p_metaoperand);
9     this.name = name;
10   }
11
12   public String JavaDoc toText() {
13     StringBuffer JavaDoc sb = new StringBuffer JavaDoc("[");
14     sb.append(name);
15     sb.append("]");
16     return sb.toString();
17   }
18 }
19
Popular Tags