com.bankframe.services.impl.sequencegenerator
Class SequenceGeneratorPK
java.lang.Object
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
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. |
sequenceID
public String sequenceID
SequenceGeneratorPK
public SequenceGeneratorPK()
SequenceGeneratorPK
public SequenceGeneratorPK(String argSequenceID)
- Initialize a key from the passed values
- Parameters:
argSequenceID
- java.lang.String
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.