AR System Java API

com.bmc.arsys.api
Class OperandType

java.lang.Object
  extended by com.bmc.arsys.api.OperandType
All Implemented Interfaces:
Serializable

public final class OperandType
extends Object
implements Serializable

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

See Also:
Serialized Form

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
          Form 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 form 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
static OperandType VALUE_SET_QUERY
          Used for dynamic queries (IN and NOT/IN constructs)
 
Method Summary
 boolean equals(Object obj)
          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.
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

FIELDID

public static final OperandType FIELDID
Form 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 form 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


VALUE_SET_QUERY

public static final OperandType VALUE_SET_QUERY
Used for dynamic queries (IN and NOT/IN constructs)

Method Detail

toInt

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


getOperandType

public static OperandType getOperandType(int operation)

equals

public boolean equals(Object obj)
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.

Overrides:
equals in class Object

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

toString

public String toString()
Overrides:
toString in class Object

AR System Java API

? Copyright 2006, 2007 BMC Software, Inc.