br.shob.compiler
Class ReferenceDescriptor

java.lang.Object
  |
  +--br.shob.compiler.ReferenceDescriptor

public class ReferenceDescriptor
extends Object

Description of the Class

Author:
dukejeffrie, crolmos
Created:
September 1, 2002

Constructor Summary
ReferenceDescriptor(Class c)
          Constructor for the ReferenceDescriptor object
 
Method Summary
 int getMethodsCount()
          Gets the methodsCount attribute of the ReferenceDescriptor object
 String getName()
          Gets the name attribute of the ReferenceDescriptor object
 String getName(int index)
          Gets the name attribute of the ReferenceDescriptor object
 void initEntries(Class c)
          Description of the Method
 boolean isWrite(int index)
          Gets the write attribute of the ReferenceDescriptor object
 void setName(int index, String name)
          Sets the name attribute of the ReferenceDescriptor object
 void setName(String name)
          Sets the name attribute of the ReferenceDescriptor object
 void setWrite(int index, boolean write)
          Sets the write attribute of the ReferenceDescriptor object
 void writeXML(PrintStream out)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceDescriptor

public ReferenceDescriptor(Class c)
                    throws NotSerializableException
Constructor for the ReferenceDescriptor object

Parameters:
c - Description of the Parameter
Throws:
NotSerializableException - Description of the Exception
Method Detail

getMethodsCount

public int getMethodsCount()
Gets the methodsCount attribute of the ReferenceDescriptor object

Returns:
The methodsCount value

getName

public String getName()
Gets the name attribute of the ReferenceDescriptor object

Returns:
The name value

getName

public String getName(int index)
Gets the name attribute of the ReferenceDescriptor object

Parameters:
index - Description of the Parameter
Returns:
The name value

initEntries

public void initEntries(Class c)
Description of the Method

Parameters:
c - Description of the Parameter

isWrite

public boolean isWrite(int index)
Gets the write attribute of the ReferenceDescriptor object

Parameters:
index - Description of the Parameter
Returns:
The write value

setName

public void setName(String name)
Sets the name attribute of the ReferenceDescriptor object

Parameters:
name - The new name value

setName

public void setName(int index,
                    String name)
Sets the name attribute of the ReferenceDescriptor object

Parameters:
index - The new name value
name - The new name value

setWrite

public void setWrite(int index,
                     boolean write)
Sets the write attribute of the ReferenceDescriptor object

Parameters:
index - The new write value
write - The new write value

writeXML

public void writeXML(PrintStream out)
Description of the Method

Parameters:
out - Description of the Parameter