AR System Java API

com.bmc.arsys.api
Class ArithOpAssignInfo

java.lang.Object
  extended by com.bmc.arsys.api.ArithOpAssignInfo
All Implemented Interfaces:
Serializable, Cloneable

public class ArithOpAssignInfo
extends Object
implements Cloneable, Serializable

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.

See Also:
Serialized Form

Constructor Summary
ArithOpAssignInfo()
          constructor
ArithOpAssignInfo(int operation, AssignInfo operandLeft, AssignInfo operandRight)
           
 
Method Summary
 Object clone()
          Clone implementation that returns an Object with data cloned from self
 boolean equals(Object obj)
          Use this method for checking equality between the current object and the provided one.
 boolean equals(Object anObject, String lhsServer, String lhsForm, String rhsServer, String rhsForm)
           
 AssignInfo getOperandLeft()
          Gets left operand of operation.
 AssignInfo getOperandRight()
          Gets right operand of operation.
 int 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(int operation)
          Sets arithmetic operation used in qualification.
 String toString()
          Returns a string description of the object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArithOpAssignInfo

public ArithOpAssignInfo()
constructor


ArithOpAssignInfo

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

getOperation

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


setOperation

public void setOperation(int 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 Object clone()
             throws CloneNotSupportedException
Clone implementation that returns an Object with data cloned from self

Overrides:
clone in class Object
Throws:
CloneNotSupportedException

equals

public boolean equals(Object obj)
Use this method for checking equality between the current object and the provided one. The result is true only if the argument is not null, is of the same type and represents the same content.

Overrides:
equals in class Object
Parameters:
obj - the object that we are comparing to
Returns:
returns a boolean that tells if the two objects equal

equals

public boolean equals(Object anObject,
                      String lhsServer,
                      String lhsForm,
                      String rhsServer,
                      String rhsForm)

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.

Overrides:
hashCode in class Object
Returns:
returns the hash code for this instance

toString

public String toString()
Returns a string description of the object.

Overrides:
toString in class Object

AR System Java API

© Copyright 2006, 2007 BMC Software, Inc.