com.bankframe.services.impl.sequencegenerator
Class SequenceGeneratorPK

java.lang.Object
  extended by com.bankframe.services.impl.sequencegenerator.SequenceGeneratorPK
All Implemented Interfaces:
EPrimaryKey, Serializable

public class SequenceGeneratorPK
extends Object
implements EPrimaryKey, Serializable

The SequenceGeneratorPK class.

See Also:
Serialized Form

Field Summary
 String sequenceID
           
 
Constructor Summary
SequenceGeneratorPK()
           
SequenceGeneratorPK(String argSequenceID)
          Initialize a key from the passed values
 
Method Summary
 boolean equals(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 String sequenceID
Constructor Detail

SequenceGeneratorPK

public SequenceGeneratorPK()

SequenceGeneratorPK

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

Parameters:
argSequenceID - java.lang.String
Method Detail

equals

public boolean equals(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 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 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, 2007, Oracle. All rights reserved.