com.bankframe.services.route
Class RoutePK

java.lang.Object
  extended bycom.bankframe.services.route.RoutePK
All Implemented Interfaces:
EPrimaryKey, java.io.Serializable

public class RoutePK
extends java.lang.Object
implements EPrimaryKey

This is the interface of the Primary Key for the EJBean ServiceBean.

See Also:
Serialized Form

Field Summary
 java.lang.String requestId
           
 
Fields inherited from interface com.bankframe.ejb.EPrimaryKey
serialVersionUID
 
Constructor Summary
RoutePK()
          Default Class constructor
RoutePK(java.lang.String requestId)
          Class constructor.
 
Method Summary
 boolean equals(java.lang.Object o)
          This method is required by the EJB1.1 specification.
 int hashCode()
          This method is required by the EJB1.1 specification.
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

requestId

public java.lang.String requestId
Constructor Detail

RoutePK

public RoutePK()
Default Class constructor


RoutePK

public RoutePK(java.lang.String requestId)
Class constructor.

Parameters:
requestId - the string for the primary key
Method Detail

equals

public boolean equals(java.lang.Object o)
This method is required by the EJB1.1 specification.

Specified by:
equals in interface EPrimaryKey
Returns:
true if the object equals this one

hashCode

public int hashCode()
This method is required by the EJB1.1 specification.

Specified by:
hashCode in interface EPrimaryKey
Returns:
the hash code

toString

public java.lang.String toString()
Description copied from interface: EPrimaryKey
This method converts this primary-key's attributes to human readable form.

Specified by:
toString in interface EPrimaryKey

toDataPacket

public DataPacket toDataPacket()
Description copied from interface: EPrimaryKey
This method converts this primary key's values to a DataPacket.

Specified by:
toDataPacket in interface EPrimaryKey
Returns:
the DataPacketRepresenation of the primary key
See Also:
EPrimaryKey.toDataPacket()


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