cb.generator
Class ParameterImpl

java.lang.Object
  |
  +--cb.generator.NodeImpl
        |
        +--cb.generator.ParameterImpl
All Implemented Interfaces:
Node, Parameter

public class ParameterImpl
extends NodeImpl
implements Parameter

Simple representation of a method parameter.

Version:
$Id: ParameterImpl.java,v 1.2 2001/06/27 10:26:03 dahm Exp $
Author:
M. Dahm

Field Summary
protected  Parameter parameter
           
 
Fields inherited from class cb.generator.NodeImpl
access, name
 
Constructor Summary
ParameterImpl()
           
 
Method Summary
 void dump(java.io.PrintWriter stream)
          Default implementation prints Java code
 boolean equals(java.lang.Object o)
           
 Parameter getParameter()
           
 java.lang.String getType()
           
 void setParameter(Parameter p)
           
 void setType(java.lang.String p)
           
 
Methods inherited from class cb.generator.NodeImpl
getAccess, getName, is, print, printDocumentation, setAccess, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface cb.generator.Node
getAccess, getName, is, setAccess, setName
 

Field Detail

parameter

protected Parameter parameter
Constructor Detail

ParameterImpl

public ParameterImpl()
Method Detail

setParameter

public void setParameter(Parameter p)

getParameter

public Parameter getParameter()

setType

public void setType(java.lang.String p)
Specified by:
setType in interface Parameter

getType

public java.lang.String getType()
Specified by:
getType in interface Parameter

dump

public void dump(java.io.PrintWriter stream)
Default implementation prints Java code
Specified by:
dump in interface Node

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object