com.ibm.commerce.inventory.facade.server.memorycache

Class InventoryAvailabilityMemoryCacheKey

  • java.lang.Object
    • com.ibm.commerce.inventory.facade.server.memorycache.InventoryAvailabilityMemoryCacheKey
  • All Implemented Interfaces:
    java.io.Serializable


    public class InventoryAvailabilityMemoryCacheKey
    extends java.lang.Object
    implements java.io.Serializable
    This class is used as the key in DOM inventory memory cache, the value of the cache is InventoryAvailabilityType. There are 3 fields in this class, {catalog entry id, online store id, physical store id}. If all these three fields of 2 InventoryAvailabilityMemoryCacheKey objects are equal, then these 2 objects are are equal.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • InventoryAvailabilityMemoryCacheKey

        public InventoryAvailabilityMemoryCacheKey(java.lang.String acatentryId,
                                                   java.lang.String aonlineStoreId,
                                                   java.lang.String aphysicalStoreId)
        Constructor.
        Parameters:
        acatentryId - Catanog Entry ID.
        aonlineStoreId - Online Store ID.
        aphysicalStoreId - Physical Store ID.
    • Method Detail

      • equals

        public boolean equals(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        Object.hashCode()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()
      • getCatentryId

        public java.lang.String getCatentryId()
        Returns:
        Returns the catentryId.
      • setCatentryId

        public void setCatentryId(java.lang.String acatentryId)
        Parameters:
        acatentryId - The catentryId to set.
      • getOnlineStoreId

        public java.lang.String getOnlineStoreId()
        Returns:
        Returns the onlineStoreId.
      • setOnlineStoreId

        public void setOnlineStoreId(java.lang.String aonlineStoreId)
        Parameters:
        aonlineStoreId - The onlineStoreId to set.
      • getPhysicalStoreId

        public java.lang.String getPhysicalStoreId()
        Returns:
        Returns the physicalStoreId.
      • setPhysicalStoreId

        public void setPhysicalStoreId(java.lang.String aphysicalStoreId)
        Parameters:
        aphysicalStoreId - The physicalStoreId to set.