Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.ujac.util.exi
Class ProcedureInfo  view ProcedureInfo download ProcedureInfo.java

java.lang.Object
  extended byorg.ujac.util.exi.ProcedureInfo

public class ProcedureInfo
extends java.lang.Object

Name: ProcedureInfo
Description: A class holding informations about procedures.
Log: $Log: ProcedureInfo.java,v $
Log: Revision 1.2 2003/11/01 12:06:38 lauerc
Log: Added copyright notice.
Log:
Log: Revision 1.1 2003/10/28 07:07:11 lauerc
Log: Initial revision.
Log:

Version:
$Revision: 1.2 $

Field Summary
private  java.util.List arguments
          The argument list for the procedure.
private  char[] code
          The code of the expression.
private  int codeLength
          The length of the procedure code.
private  int codeOffset
          The start index of the procedure code.
private  java.lang.String name
          The name of the procedure.
 
Constructor Summary
ProcedureInfo(java.lang.String name, java.util.List arguments, char[] code, int codeOffset, int codeLength)
          Constructs a ProcedureInfo instance with specific attributes.
 
Method Summary
 java.util.List getArguments()
          Gets the argument list for the procedure.
 char[] getCode()
          Gets the code of the expression.
 int getCodeLength()
          Gets the length of the procedure code.
 int getCodeOffset()
          Gets the start index of the procedure code.
 java.lang.String getName()
          Gets the name of the procedure.
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

private java.lang.String name
The name of the procedure.


arguments

private java.util.List arguments
The argument list for the procedure.


code

private char[] code
The code of the expression.


codeOffset

private int codeOffset
The start index of the procedure code.


codeLength

private int codeLength
The length of the procedure code.

Constructor Detail

ProcedureInfo

public ProcedureInfo(java.lang.String name,
                     java.util.List arguments,
                     char[] code,
                     int codeOffset,
                     int codeLength)
Constructs a ProcedureInfo instance with specific attributes.

Method Detail

getName

public java.lang.String getName()
Gets the name of the procedure.


getArguments

public java.util.List getArguments()
Gets the argument list for the procedure.


getCode

public char[] getCode()
Gets the code of the expression.


getCodeOffset

public int getCodeOffset()
Gets the start index of the procedure code.


getCodeLength

public int getCodeLength()
Gets the length of the procedure code.


toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).