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
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 |
sequenceID
public java.lang.String sequenceID
SequenceGeneratorPK
public SequenceGeneratorPK()
SequenceGeneratorPK
public SequenceGeneratorPK(java.lang.String argSequenceID)
- Initialize a key from the passed values
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
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
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.