Class AugmentedContainer
- java.lang.Object
-
- com.broadleafcommerce.metadata.core.domain.AugmentedContainer
-
public class AugmentedContainer extends Object
Composition of aComponent
along with all of theAugmentations
that were applied to it- Author:
- Phillip Verheyden (phillipuniverse)
-
-
Constructor Summary
Constructors Constructor Description AugmentedContainer()
AugmentedContainer(com.broadleafcommerce.metadata.dsl.core.Component<?> component, List<Augmentation> augmentations, List<Augmentation> appliedAugmentations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
List<Augmentation>
getAppliedAugmentations()
The augmentations that were actually applied to the container component.List<Augmentation>
getAugmentations()
The Augmentations targeting the containercomponent
.com.broadleafcommerce.metadata.dsl.core.Component<?>
getComponent()
The container component that might have been augmentedint
hashCode()
void
setAppliedAugmentations(List<Augmentation> appliedAugmentations)
The augmentations that were actually applied to the container component.void
setAugmentations(List<Augmentation> augmentations)
The Augmentations targeting the containercomponent
.void
setComponent(com.broadleafcommerce.metadata.dsl.core.Component<?> component)
The container component that might have been augmentedString
toString()
-
-
-
Constructor Detail
-
AugmentedContainer
public AugmentedContainer()
-
AugmentedContainer
public AugmentedContainer(com.broadleafcommerce.metadata.dsl.core.Component<?> component, List<Augmentation> augmentations, List<Augmentation> appliedAugmentations)
-
-
Method Detail
-
getComponent
public com.broadleafcommerce.metadata.dsl.core.Component<?> getComponent()
The container component that might have been augmented
-
getAugmentations
public List<Augmentation> getAugmentations()
The Augmentations targeting the containercomponent
. These may or may not have actually been applied to itself or sub components- See Also:
appliedAugmentations
-
getAppliedAugmentations
public List<Augmentation> getAppliedAugmentations()
The augmentations that were actually applied to the container component. This could be different thanaugmentations
if there were some augmentations that could not be applied. For example if a PATCH attempted to be applied on top of a REMOVE; only the REMOVE would show up here, whereas both would show up inaugmentations
-
setComponent
public void setComponent(com.broadleafcommerce.metadata.dsl.core.Component<?> component)
The container component that might have been augmented
-
setAugmentations
public void setAugmentations(List<Augmentation> augmentations)
The Augmentations targeting the containercomponent
. These may or may not have actually been applied to itself or sub components- See Also:
appliedAugmentations
-
setAppliedAugmentations
public void setAppliedAugmentations(List<Augmentation> appliedAugmentations)
The augmentations that were actually applied to the container component. This could be different thanaugmentations
if there were some augmentations that could not be applied. For example if a PATCH attempted to be applied on top of a REMOVE; only the REMOVE would show up here, whereas both would show up inaugmentations
-
canEqual
protected boolean canEqual(Object other)
-
-