com.remedy.arsys.api
Class ArithOpAssignInfo

java.lang.Object
  |
  +--com.remedy.arsys.api.ArithOpAssignInfo
All Implemented Interfaces:
java.lang.Cloneable

public class ArithOpAssignInfo
extends java.lang.Object
implements java.lang.Cloneable

The ArithOpAssignInfo class defines an arithmetic result value to assign in a Set Fields action. It consists of a tag identifying the type of arithmetic operation and two operands specifying the values.


Constructor Summary
ArithOpAssignInfo()
          constructor
ArithOpAssignInfo(long operation, AssignInfo operandLeft, AssignInfo operandRight)
           
 
Method Summary
 java.lang.Object clone()
          Clone implementation that returns an Object with data cloned from self
 boolean equals(java.lang.Object anObject)
          Use this method for checking equality.
 boolean equals(java.lang.Object anObject, java.lang.String lhsServer, java.lang.String lhsSchema, java.lang.String rhsServer, java.lang.String rhsSchema)
           
 AssignInfo getOperandLeft()
          Gets left operand of operation.
 AssignInfo getOperandRight()
          Gets right operand of operation.
 long getOperation()
          Gets arithmetic operation used in qualification.
 int hashCode()
          This method can be used to populate a hash table.
 void setOperandLeft(AssignInfo operandLeft)
          Sets left operand of operation.
 void setOperandRight(AssignInfo operandRight)
          Sets right operand of operation.
 void setOperation(long operation)
          Sets arithmetic operation used in qualification.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArithOpAssignInfo

public ArithOpAssignInfo()
constructor

ArithOpAssignInfo

public ArithOpAssignInfo(long operation,
                         AssignInfo operandLeft,
                         AssignInfo operandRight)
Method Detail

getOperation

public long getOperation()
Gets arithmetic operation used in qualification.

setOperation

public void setOperation(long operation)
Sets arithmetic operation used in qualification.

getOperandLeft

public AssignInfo getOperandLeft()
Gets left operand of operation.

setOperandLeft

public void setOperandLeft(AssignInfo operandLeft)
Sets left operand of operation.

getOperandRight

public AssignInfo getOperandRight()
Gets right operand of operation.

setOperandRight

public void setOperandRight(AssignInfo operandRight)
Sets right operand of operation.

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clone implementation that returns an Object with data cloned from self
Overrides:
clone in class java.lang.Object

equals

public boolean equals(java.lang.Object anObject)
Use this method for checking equality. The result is true if and only if the argument is not null, is of same type and represents the same content.
Overrides:
equals in class java.lang.Object

equals

public boolean equals(java.lang.Object anObject,
                      java.lang.String lhsServer,
                      java.lang.String lhsSchema,
                      java.lang.String rhsServer,
                      java.lang.String rhsSchema)

hashCode

public int hashCode()
This method can be used to populate a hash table. Implicitly used method to test equality of objects.
Overrides:
hashCode in class java.lang.Object