com.epam.fix.validation.engine.utils.cache.keys
Class BlockCacheKey

java.lang.Object
  extended by com.epam.fix.validation.engine.utils.cache.keys.BlockCacheKey
All Implemented Interfaces:
IKey<String,Integer>

public class BlockCacheKey
extends Object
implements IKey<String,Integer>

Author:
Serhiy_Zahriychuk

Constructor Summary
BlockCacheKey(String primaryKey, Integer foreignKey)
           
 
Method Summary
 boolean equals(Object o)
           
 Integer getForeignKey()
          (non-Javadoc)
 String getPrimaryKey()
          (non-Javadoc)
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BlockCacheKey

public BlockCacheKey(String primaryKey,
                     Integer foreignKey)
Method Detail

getForeignKey

public Integer getForeignKey()
(non-Javadoc)

Specified by:
getForeignKey in interface IKey<String,Integer>
See Also:
IKey.getForeignKey()

getPrimaryKey

public String getPrimaryKey()
(non-Javadoc)

Specified by:
getPrimaryKey in interface IKey<String,Integer>
See Also:
IKey.getPrimaryKey()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.