Class InheritanceLine
java.lang.Object
com.broadleafcommerce.data.tracking.core.tenant.domain.InheritanceLine
The upward catalog hierarchy for a single assigned
Catalog instance- Author:
- Jeff Fischer
-
Constructor Details
-
InheritanceLine
-
-
Method Details
-
getActiveMembers
Returns the active members in the inheritance line. Note that parents in a "broken" hierarchy (an archived catalog in the middle of a hierarchy) are not considered active. This assumes that the list is ordered from child to parent. In other words, index 0 is the lowest level child and the last index is the root parent.For example, with the following hierarchy: A->B->C ("C" is a child of "B", "B" is a child of "A") If B is archived, then only C is returned. If A is archived, then B and C are returned. If C is archived, then an empty list would be returned.
-
getMembers
The catalog nodes in the hierarchy- Returns:
- The catalog nodes in the hierarchy
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-