com.bankframe.services.cache.indexmetadata.impl
Class IndexMetaDataPK

java.lang.Object
  extended by com.bankframe.services.cache.indexmetadata.impl.IndexMetaDataPK
All Implemented Interfaces:
EPrimaryKey, Serializable

public class IndexMetaDataPK
extends Object
implements EPrimaryKey

This is the primaryKey class of the IndexMetaData EJB.

See Also:
Serialized Form

Field Summary
 String dataPacketField
           
 String dataPacketName
           
 String indexName
           
 
Fields inherited from interface com.bankframe.ejb.EPrimaryKey
serialVersionUID
 
Constructor Summary
IndexMetaDataPK()
          Default constructor
IndexMetaDataPK(String indexName, String dataPacketName, String dataPacketField)
          Initialize a key from the passed values
 
Method Summary
 boolean equals(Object o)
          equals method
 int hashCode()
          hashCode method
 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

indexName

public String indexName

dataPacketName

public String dataPacketName

dataPacketField

public String dataPacketField
Constructor Detail

IndexMetaDataPK

public IndexMetaDataPK()
Default constructor


IndexMetaDataPK

public IndexMetaDataPK(String indexName,
                       String dataPacketName,
                       String dataPacketField)
Initialize a key from the passed values

Parameters:
indexName -
dataPacketName -
dataPacketField -
Method Detail

equals

public boolean equals(Object o)
equals method

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

hashCode

public int hashCode()
hashCode method

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

toDataPacket

public DataPacket toDataPacket()
This method converts this primary-key's values to a DataPacket

Specified by:
toDataPacket in interface EPrimaryKey
Returns:
a DataPacket with the name INDEX_META_DATA and the keys
  • INDEX_NAME
  • DATA_PACKET_NAME
  • DATA_PACKET_FIELD


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