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 ofChangeContainer
to 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 boolean
canEqual(Object other)
boolean
equals(Object o)
String
getId()
Generally, the context id of the top-level entity that changedString
getName()
The name of the top-level entity that changed, which is typically snake-cased and capitalized, i.e., "PRODUCT".String
getRouteKey()
String
getSubContainerName()
The name of the sub-container (second-level entity), which is typically snake-cased and capitalized i.e., "PRICE_DATA".int
hashCode()
void
setId(String id)
Generally, the context id of the top-level entity that changedvoid
setName(String name)
The name of the top-level entity that changed, which is typically snake-cased and capitalized, i.e., "PRODUCT".void
setRouteKey(String routeKey)
void
setSubContainerName(String subContainerName)
The name of the sub-container (second-level entity), which is typically snake-cased and capitalized i.e., "PRICE_DATA".String
toString()
-
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:ChangeContainer
Generally, the context id of the top-level entity that changed- Specified by:
getId
in 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:ChangeContainer
The name of the top-level entity that changed, which is typically snake-cased and capitalized, i.e., "PRODUCT".- Specified by:
getName
in 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:
getRouteKey
in interfaceChangeContainer
-
getSubContainerName
public String getSubContainerName()
Description copied from interface:ChangeContainer
The name of the sub-container (second-level entity), which is typically snake-cased and capitalized i.e., "PRICE_DATA".- Specified by:
getSubContainerName
in 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:ChangeContainer
Generally, the context id of the top-level entity that changed- Specified by:
setId
in 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:ChangeContainer
The name of the top-level entity that changed, which is typically snake-cased and capitalized, i.e., "PRODUCT".- Specified by:
setName
in 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:
setRouteKey
in interfaceChangeContainer
-
setSubContainerName
public void setSubContainerName(String subContainerName)
Description copied from interface:ChangeContainer
The name of the sub-container (second-level entity), which is typically snake-cased and capitalized i.e., "PRICE_DATA".- Specified by:
setSubContainerName
in 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)
-
-