7.0 Action Request System Java API

com.remedy.arsys.api
Class OperandType

java.lang.Object
  extended bycom.remedy.arsys.api.OperandType
All Implemented Interfaces:
java.lang.Cloneable

public final class OperandType
extends java.lang.Object
implements java.lang.Cloneable

The OperandType class defines the operands that can be used in any relational operation that compares values, for example, in qualifications.


Field Summary
static OperandType ARITHMETIC_OP
          Result value from an arithmetic operation
static OperandType CURRENCY_FLD
          Currency operation
static OperandType CURRENCY_FLD_CURRENT
          Currency field equivalent to get current value
static OperandType CURRENCY_FLD_DB
          Currency field equivalent to get db value
static OperandType CURRENCY_FLD_TRAN
          Currency field equivalent to get transaction
static OperandType FIELDID
          Schema field value
static OperandType FIELDID_CURRENT
           Used for active links to indicate a field reference to the screen which active link is being fired from.
static OperandType FIELDID_DB
          Used for filters to check the value in the RDBMS only.
static OperandType FIELDID_TRANSACTION
          Used for filters to check the value for the transaction only.
static OperandType LOCAL_VARIABLE
          Local variable for filters and active links.
static OperandType QUERY_INFO
          Query another schema for filters or active links.
static OperandType STATUS_HISTORY
          Value from the Status-History core field
static OperandType VALUE
          Constant or keyword value
static OperandType VALUE_SET
          Set of values used for the IN operator
 
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.
static OperandType getOperandType(int operation)
           
 int hashCode()
          Returns the hash code value for this instance of the current class.
 int toInt()
          Returns an integer value of the operand type.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIELDID

public static final OperandType FIELDID
Schema field value


VALUE

public static final OperandType VALUE
Constant or keyword value


ARITHMETIC_OP

public static final OperandType ARITHMETIC_OP
Result value from an arithmetic operation


STATUS_HISTORY

public static final OperandType STATUS_HISTORY
Value from the Status-History core field


VALUE_SET

public static final OperandType VALUE_SET
Set of values used for the IN operator


CURRENCY_FLD

public static final OperandType CURRENCY_FLD
Currency operation


FIELDID_TRANSACTION

public static final OperandType FIELDID_TRANSACTION
Used for filters to check the value for the transaction only. Use CURRENT if value is in transaction or if not there in RDBMS.


FIELDID_DB

public static final OperandType FIELDID_DB
Used for filters to check the value in the RDBMS only. Use CURRENT if value is in transaction or if not there in RDBMS.


LOCAL_VARIABLE

public static final OperandType LOCAL_VARIABLE
Local variable for filters and active links.


QUERY_INFO

public static final OperandType QUERY_INFO
Query another schema for filters or active links.


CURRENCY_FLD_TRAN

public static final OperandType CURRENCY_FLD_TRAN
Currency field equivalent to get transaction


CURRENCY_FLD_DB

public static final OperandType CURRENCY_FLD_DB
Currency field equivalent to get db value


CURRENCY_FLD_CURRENT

public static final OperandType CURRENCY_FLD_CURRENT
Currency field equivalent to get current value


FIELDID_CURRENT

public static final OperandType FIELDID_CURRENT

Method Detail

toInt

public int toInt()
Returns an integer value of the operand type.


getOperandType

public static OperandType getOperandType(int 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.


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