com.bankframe.ejb
Interface EPrimaryKey

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AccountPK, AddressPK, AuditRecordPK, AuditRoutePK, CustomerPK, DestinationEjbMapPK, DestinationPK, ErrorTransactionPK, IndexMetaDataPK, MetaDataPK, PersisterTxnMapPK, RegisteredAddressPK, RequestTransactionFieldPK, ResponseIndexPK, ResponseTransactionFieldPK, RoutePK, SequenceGeneratorPK, StoreTransactionPK, SuccessfulTransactionPK, TransactionErrorConditionPK, TransactionIdentifierPK, TransactionRoutePK

public interface EPrimaryKey
extends java.io.Serializable

This interface defines the methods that all BankFrame Primary Key classes must provide


Field Summary
static long serialVersionUID
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          This method determines if this instance is equal to the specified instance.
 int hashCode()
          This method returns a hash-code value for this instance.
 DataPacket toDataPacket()
          This method converts this primary key's values to a DataPacket.
 java.lang.String toString()
          This method converts this primary-key's attributes to human readable form.
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Method Detail

equals

public boolean equals(java.lang.Object obj)
This method determines if this instance is equal to the specified instance.

Parameters:
obj - the instance to compare to.
Returns:
true if this instance is equal to the specified instance, false otherwise.

hashCode

public int hashCode()
This method returns a hash-code value for this instance.

Returns:
the result of the hash operation

toDataPacket

public DataPacket toDataPacket()
This method converts this primary key's values to a DataPacket.

Returns:
the DataPacketRepresenation of the primary key

toString

public java.lang.String toString()
This method converts this primary-key's attributes to human readable form.

Returns:
a string representation of the primary key


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