cb.generator
Class FieldImpl
java.lang.Object
|
+--cb.generator.NodeImpl
|
+--cb.generator.FieldImpl
- All Implemented Interfaces:
- Field, Node
- public class FieldImpl
- extends NodeImpl
- implements Field
Simple representation of a Java field.
- Version:
- $Id: FieldImpl.java,v 1.2 2001/06/27 10:26:03 dahm Exp $
- Author:
- M. Dahm
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
attribute
protected ClassAttribute attribute
FieldImpl
public FieldImpl()
setAttribute
public void setAttribute(ClassAttribute a)
getAttribute
public ClassAttribute getAttribute()
setInitialValue
public void setInitialValue(java.lang.String s)
- Specified by:
setInitialValue
in interface Field
getInitialValue
public java.lang.String getInitialValue()
- Specified by:
getInitialValue
in interface Field
setType
public void setType(java.lang.String p)
- Specified by:
setType
in interface Field
getType
public java.lang.String getType()
- Specified by:
getType
in interface Field
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