com.ibm.commerce.registry
Class BusinessPolicyRegistry.TypeAndStoreKey

java.lang.Object
  |
  +--com.ibm.commerce.registry.BusinessPolicyRegistry.TypeAndStoreKey
Enclosing class:
BusinessPolicyRegistry

public class BusinessPolicyRegistry.TypeAndStoreKey
extends java.lang.Object

Provides the methods for the type and store Id of business policy.


Constructor Summary
BusinessPolicyRegistry.TypeAndStoreKey(java.lang.String asType, java.lang.Integer anStoreId)
          Constructor for the TypeAndStoreKey.
 
Method Summary
 boolean equals(java.lang.Object aObj)
          Checks if the given object has the same type and store Id.
 java.lang.Integer getStoreId()
          Gets the store Id.
 java.lang.String getType()
          Gets the type.
 int hashCode()
          Gets the hash code of the type and store Id.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BusinessPolicyRegistry.TypeAndStoreKey

public BusinessPolicyRegistry.TypeAndStoreKey(java.lang.String asType,
                                              java.lang.Integer anStoreId)
Constructor for the TypeAndStoreKey.
Method Detail

equals

public boolean equals(java.lang.Object aObj)
Checks if the given object has the same type and store Id.
Overrides:
equals in class java.lang.Object
Parameters:
aObj - the input object
Returns:
true if the given object has the same type and store Id; false otherwise

getType

public java.lang.String getType()
Gets the type.
Returns:
type

getStoreId

public java.lang.Integer getStoreId()
Gets the store Id.
Returns:
store Id

hashCode

public int hashCode()
Gets the hash code of the type and store Id.
Overrides:
hashCode in class java.lang.Object
Returns:
hash code of the type and store Id