Class ContextChangeContainer
- java.lang.Object
-
- com.broadleafcommerce.data.tracking.core.context.ContextChangeContainer
-
- All Implemented Interfaces:
ChangeContainer
public class ContextChangeContainer extends Object implements ChangeContainer
Context implementation version ofChangeContainerto be used withContextRequest.- Author:
- Chad Harchar (charchar)
-
-
Constructor Summary
Constructors Constructor Description ContextChangeContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetId()Generally, the context id of the top-level entity that changedStringgetName()The name of the top-level entity that changed, which is typically snake-cased and capitalized, i.e., "PRODUCT".StringgetRouteKey()StringgetSubContainerName()The name of the sub-container (second-level entity), which is typically snake-cased and capitalized i.e., "PRICE_DATA".inthashCode()voidsetId(String id)Generally, the context id of the top-level entity that changedvoidsetName(String name)The 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".StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer
getContainerCatalog, setContainerCatalog
-
-
-
-
Method Detail
-
getId
public String 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:
Trackable.getContextId()
-
getName
public String 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
public String getRouteKey()
- Specified by:
getRouteKeyin interfaceChangeContainer
-
getSubContainerName
public String 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
public void setId(String id)
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:
Trackable.getContextId()
-
setName
public void setName(String name)
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
public void setRouteKey(String routeKey)
- Specified by:
setRouteKeyin interfaceChangeContainer
-
setSubContainerName
public void setSubContainerName(String subContainerName)
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"
-
canEqual
protected boolean canEqual(Object other)
-
-