com.bankframe.services.impl.sequencegenerator
Class SequenceGeneratorPK

java.lang.Object
  |
  +--com.bankframe.services.impl.sequencegenerator.SequenceGeneratorPK
All Implemented Interfaces:
EPrimaryKey, java.io.Serializable

public class SequenceGeneratorPK
extends java.lang.Object
implements EPrimaryKey, java.io.Serializable

The SequenceGeneratorPK class.

See Also:
Serialized Form

Field Summary
 java.lang.String sequenceID
           
 
Fields inherited from interface com.bankframe.ejb.EPrimaryKey
serialVersionUID
 
Constructor Summary
SequenceGeneratorPK()
           
SequenceGeneratorPK(java.lang.String argSequenceID)
          Initialize a key from the passed values
 
Method Summary
 boolean equals(java.lang.Object o)
          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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.bankframe.ejb.EPrimaryKey
toString
 

Field Detail

sequenceID

public java.lang.String sequenceID
Constructor Detail

SequenceGeneratorPK

public SequenceGeneratorPK()

SequenceGeneratorPK

public SequenceGeneratorPK(java.lang.String argSequenceID)
Initialize a key from the passed values

Method Detail

equals

public boolean equals(java.lang.Object o)
Description copied from interface: EPrimaryKey
This method determines if this instance is equal to the specified instance.

Specified by:
equals in interface EPrimaryKey
Overrides:
equals in class java.lang.Object
Parameters:
o - the instance to compare to.
Returns:
true if this instance is equal to the specified instance, false otherwise.

hashCode

public int hashCode()
Description copied from interface: EPrimaryKey
This method returns a hash-code value for this instance.

Specified by:
hashCode in interface EPrimaryKey
Overrides:
hashCode in class java.lang.Object
Returns:
the result of the hash operation

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


Copyright © 2005 Siebel Systems, Inc. All rights reserved.