Interface ChangeContainer
- All Known Implementing Classes:
ContextChangeContainer
public interface ChangeContainer
Container information for a change, used for grouping separate change information under the same
top-level entity.
- Author:
- Chad Harchar (charchar)
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
If the container is catalog discriminated and this instance is a subcontainer, the catalog context id for the container.getId()
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".default void
setContainerCatalog
(String containerCatalog) If the container is catalog discriminated and this instance is a subcontainer, the catalog context id for the container.void
Generally, the context id of the top-level entity that changedvoid
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".
-
Method Details
-
getId
String getId()Generally, the context id of the top-level entity that changed- Returns:
- Generally, the context id of the top-level entity that changed
- See Also:
-
setId
Generally, the context id of the top-level entity that changed- Parameters:
id
- Generally, the context id of the top-level entity that changed- See Also:
-
getName
String getName()The name of the top-level entity that changed, which is typically snake-cased and capitalized, i.e., "PRODUCT".- Returns:
- The name of the top-level entity that changed, which is typically snake-cased and capitalized, i.e., "PRODUCT"
-
setName
The name of the top-level entity that changed, which is typically snake-cased and capitalized, i.e., "PRODUCT".- Parameters:
name
- The name of the top-level entity that changed, which is typically snake-cased and capitalized, i.e., "PRODUCT"
-
getRouteKey
String getRouteKey() -
setRouteKey
-
getSubContainerName
String getSubContainerName()The name of the sub-container (second-level entity), which is typically snake-cased and capitalized i.e., "PRICE_DATA".- Returns:
- The name of the sub-container (second-level entity), which is typically snake-cased and capitalized, i.e., "PRICE_DATA"
-
setSubContainerName
The name of the sub-container (second-level entity), which is typically snake-cased and capitalized i.e., "PRICE_DATA".- Parameters:
subContainerName
- The name of the sub-container (second-level entity), which is typically snake-cased and capitalized, i.e., "PRICE_DATA"
-
getContainerCatalog
If the container is catalog discriminated and this instance is a subcontainer, the catalog context id for the container.- Returns:
- The catalog context id for the container.
-
setContainerCatalog
If the container is catalog discriminated and this instance is a subcontainer, the catalog context id for the container.- Parameters:
containerCatalog
- The catalog context id for the container.
-