com.bankframe.ei.txnhandler.transactionlayout
Class HashTableElement

java.lang.Object
  extended bycom.bankframe.ei.txnhandler.transactionlayout.HashTableElement
All Implemented Interfaces:
java.io.Serializable

public class HashTableElement
extends java.lang.Object
implements java.io.Serializable

This class is used for storing DataBase column elements for the BMP TransactionField bean. The TransactionField Beans dynamically map to the DataBase columns storing all the columns using this class.

See Also:
Serialized Form

Field Summary
 int length
           
 int sqlType
           
 java.lang.String value
           
 
Constructor Summary
HashTableElement(HashTableElement element)
          HashTableElement Constructor
HashTableElement(java.lang.String value, int sqlType)
          Default Constructor
HashTableElement(java.lang.String value, int sqlType, int length)
          HashTableElement Constructor
 
Method Summary
 boolean equals(java.lang.Object o)
          This method checks if this HashTableElement equals another specified one
 int hashCode()
          This method calculates the hashcode for this object
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public java.lang.String value

sqlType

public int sqlType

length

public int length
Constructor Detail

HashTableElement

public HashTableElement(java.lang.String value,
                        int sqlType)
Default Constructor

Parameters:
value - is the value of Database column
sqlType - is the type of the Database column

HashTableElement

public HashTableElement(java.lang.String value,
                        int sqlType,
                        int length)
HashTableElement Constructor

Parameters:
value - is the value of Database column
sqlType - is the type of the Database column
length - is the length of the value

HashTableElement

public HashTableElement(HashTableElement element)
HashTableElement Constructor

Parameters:
element - is the HashTableElement to copy
Method Detail

equals

public boolean equals(java.lang.Object o)
This method checks if this HashTableElement equals another specified one

Parameters:
o - java.lang.Object
Returns:
boolean true if equal

hashCode

public int hashCode()
This method calculates the hashcode for this object

Returns:
int hashcode


Copyright © 2005, 2007, Oracle. All rights reserved.