Class ContextChangeContainer
java.lang.Object
com.broadleafcommerce.data.tracking.core.context.ContextChangeContainer
- All Implemented Interfaces:
ChangeContainer
Context implementation version of
ChangeContainer to be used with ContextRequest.- Author:
- Chad Harchar (charchar)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetId()Generally, the context id of the top-level entity that changedgetName()The name of the top-level entity that changed, which is typically snake-cased and capitalized, i.e., "PRODUCT".The name of the sub-container (second-level entity), which is typically snake-cased and capitalized i.e., "PRICE_DATA".inthashCode()voidGenerally, the context id of the top-level entity that changedvoidThe name of the top-level entity that changed, which is typically snake-cased and capitalized, i.e., "PRODUCT".voidsetRouteKey(String routeKey) voidsetSubContainerName(String subContainerName) The name of the sub-container (second-level entity), which is typically snake-cased and capitalized i.e., "PRICE_DATA".toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer
getContainerCatalog, setContainerCatalog
-
Constructor Details
-
ContextChangeContainer
public ContextChangeContainer()
-
-
Method Details
-
getId
Description copied from interface:ChangeContainerGenerally, the context id of the top-level entity that changed- Specified by:
getIdin interfaceChangeContainer- Returns:
- Generally, the context id of the top-level entity that changed
- See Also:
-
getName
Description copied from interface:ChangeContainerThe name of the top-level entity that changed, which is typically snake-cased and capitalized, i.e., "PRODUCT".- Specified by:
getNamein interfaceChangeContainer- Returns:
- The name of the top-level entity that changed, which is typically snake-cased and capitalized, i.e., "PRODUCT"
-
getRouteKey
- Specified by:
getRouteKeyin interfaceChangeContainer
-
getSubContainerName
Description copied from interface:ChangeContainerThe name of the sub-container (second-level entity), which is typically snake-cased and capitalized i.e., "PRICE_DATA".- Specified by:
getSubContainerNamein interfaceChangeContainer- Returns:
- The name of the sub-container (second-level entity), which is typically snake-cased and capitalized, i.e., "PRICE_DATA"
-
setId
Description copied from interface:ChangeContainerGenerally, the context id of the top-level entity that changed- Specified by:
setIdin interfaceChangeContainer- Parameters:
id- Generally, the context id of the top-level entity that changed- See Also:
-
setName
Description copied from interface:ChangeContainerThe name of the top-level entity that changed, which is typically snake-cased and capitalized, i.e., "PRODUCT".- Specified by:
setNamein interfaceChangeContainer- Parameters:
name- The name of the top-level entity that changed, which is typically snake-cased and capitalized, i.e., "PRODUCT"
-
setRouteKey
- Specified by:
setRouteKeyin interfaceChangeContainer
-
setSubContainerName
Description copied from interface:ChangeContainerThe name of the sub-container (second-level entity), which is typically snake-cased and capitalized i.e., "PRICE_DATA".- Specified by:
setSubContainerNamein interfaceChangeContainer- Parameters:
subContainerName- The name of the sub-container (second-level entity), which is typically snake-cased and capitalized, i.e., "PRICE_DATA"
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-