AR System Java API

com.bmc.arsys.api
Class CurrencyPartInfo

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

public class CurrencyPartInfo
extends Object
implements Cloneable, Serializable

The CurrencyPartInfo class represents the result value from an arithmetic operation between ArithmeticOrRelationalOperand objects. It consists of a tag identifying the operation type and two operands specifying the values to compare.

Note This operand is used in RelationalOperationInfo operation as well.

Refs: QualifierInfo

See Also:
Serialized Form

Constructor Summary
CurrencyPartInfo()
           
CurrencyPartInfo(int fieldId, int partTag, String currencyCode)
           
CurrencyPartInfo(int fieldId, IQuerySource sourceForm, int partTag, String currencyCode)
           
 
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.
 String getCurrencyCode()
          Returns Currency Code.
 int getFieldId()
          Returns field Id.
 int getPartTag()
          Returns partTag.
 IQuerySource getSource()
          Returns a IQuerySource source of the field Id.
 int hashCode()
          Returns the hash code value for this instance of the current class.
 String toString()
          Returns a string description of the object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CurrencyPartInfo

public CurrencyPartInfo()

CurrencyPartInfo

public CurrencyPartInfo(int fieldId,
                        int partTag,
                        String currencyCode)

CurrencyPartInfo

public CurrencyPartInfo(int fieldId,
                        IQuerySource sourceForm,
                        int partTag,
                        String currencyCode)
Method Detail

getPartTag

public int getPartTag()
Returns partTag.


getCurrencyCode

public String getCurrencyCode()
Returns Currency Code.


getFieldId

public int getFieldId()
Returns field Id.


getSource

public IQuerySource getSource()
Returns a IQuerySource source of the field Id.


toString

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

Overrides:
toString in class Object

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

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

AR System Java API

© Copyright 2006, 2007 BMC Software, Inc.