com.bankframe.services.notification.impl.registeredaddress
Class RegisteredAddressPK

java.lang.Object
  extended by com.bankframe.services.notification.impl.registeredaddress.RegisteredAddressPK
All Implemented Interfaces:
EPrimaryKey, Serializable

public class RegisteredAddressPK
extends Object
implements EPrimaryKey, Serializable

The RegisteredAddress Primary Key Interface

See Also:
Serialized Form

Field Summary
 String targetId
           
 
Fields inherited from interface com.bankframe.ejb.EPrimaryKey
serialVersionUID
 
Constructor Summary
RegisteredAddressPK()
          Default Constructor
RegisteredAddressPK(String argTargetId)
          Constructor taking the Primary Key
 
Method Summary
 boolean equals(Object o)
          equals method
 int hashCode()
          hashCode method
 DataPacket toDataPacket()
          This method creates a datapacket from the pk
 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

targetId

public String targetId
Constructor Detail

RegisteredAddressPK

public RegisteredAddressPK()
Default Constructor


RegisteredAddressPK

public RegisteredAddressPK(String argTargetId)
Constructor taking the Primary Key

Method Detail

equals

public boolean equals(Object o)
equals method

Specified by:
equals in interface EPrimaryKey
Overrides:
equals in class Object
Parameters:
o - java.lang.Object
Returns:
boolean

hashCode

public int hashCode()
hashCode method

Specified by:
hashCode in interface EPrimaryKey
Overrides:
hashCode in class Object
Returns:
int

toString

public String toString()
This method converts this primary-key's attributes to human readable form

Specified by:
toString in interface EPrimaryKey
Overrides:
toString in class Object
Returns:
a string representation of the primary key

toDataPacket

public DataPacket toDataPacket()
This method creates a datapacket from the pk

Specified by:
toDataPacket in interface EPrimaryKey
Returns:
DataPacket


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