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

Quick Search    Search Deep

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

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

public class Operation
extends java.lang.Object

Name: Operation
Description: A class specifying expression operations.
Log: $Log: Operation.java,v $
Log: Revision 1.2 2003/11/01 12:06:38 lauerc
Log: Added copyright notice.
Log:
Log: Revision 1.1 2003/07/28 22:35:06 lauerc
Log: Initial revision.
Log:

Version:
$Revision: 1.2 $

Field Summary
private  java.lang.String name
          The operation name.
private  int priority
          The operation priotity.
 
Constructor Summary
Operation(java.lang.String name)
          Constructs a Operation instance with specific attributes.
Operation(java.lang.String name, int priority)
          Constructs a Operation instance with specific attributes.
 
Method Summary
 java.lang.String getName()
          Gets the operation name.
 int getPriority()
          Gets the operation's priority.
 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 operation name.


priority

private int priority
The operation priotity.

Constructor Detail

Operation

public Operation(java.lang.String name)
Constructs a Operation instance with specific attributes.


Operation

public Operation(java.lang.String name,
                 int priority)
Constructs a Operation instance with specific attributes.

Method Detail

getName

public java.lang.String getName()
Gets the operation name.


getPriority

public int getPriority()
Gets the operation's priority.


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()).