7.0 Action Request System Java API

com.remedy.arsys.api
Class ArithOpAssignInfo

java.lang.Object
  extended bycom.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()
          Returns the hash code value for this instance of the current class.
 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

Throws:
java.lang.CloneNotSupportedException

equals

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


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()
Returns the hash code value for this instance of the current class. This method is supported as required by the general contract of Object.hashCode, for the benefit of hash tables such as those provided by java.util.Hashtable.


7.0 Action Request System Java API