Class ComparableConflictGroup
java.lang.Object
de.hybris.platform.sap.productconfig.facades.UiGroupData
de.hybris.platform.sap.productconfig.facades.populator.ComparableConflictGroup
- All Implemented Interfaces:
Serializable,Comparable<ComparableConflictGroup>
public class ComparableConflictGroup
extends UiGroupData
implements Comparable<ComparableConflictGroup>
Allows to sort conflict groups
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(ComparableConflictGroup otherConflictGroup) protected IntegercompileRankFromCsticList(Set<String> myCstics) booleanprotected ListinthashCode()rank()voidsetCsticGroupsFlat(List<UiGroupData> csticGroupsFlat) protected IntegertoIntegerAndStore(int rank) Methods inherited from class de.hybris.platform.sap.productconfig.facades.UiGroupData
getCstics, getDescription, getFirstOrLastGroup, getGroupStatus, getGroupType, getId, getName, getNumberErrorCstics, getSubGroups, getSummaryText, isCollapsed, isCollapsedInSpecificationTree, isComplete, isConfigurable, isConsistent, isOneConfigurableSubGroup, isVisited, setCollapsed, setCollapsedInSpecificationTree, setComplete, setConfigurable, setConsistent, setCstics, setDescription, setFirstOrLastGroup, setGroupStatus, setGroupType, setId, setName, setNumberErrorCstics, setOneConfigurableSubGroup, setSubGroups, setSummaryText, setVisited
-
Constructor Details
-
ComparableConflictGroup
public ComparableConflictGroup()
-
-
Method Details
-
getStoredRank
- Returns:
- the storedRank
-
getCsticGroupsFlat
- Returns:
- the csticGroupsFlat
-
setCsticGroupsFlat
- Parameters:
csticGroupsFlat- the csticGroupsFlat to set
-
getEmptyList
-
rank
- Returns:
- The rank of a conflict group. This is compiled from the list of cstic groups. The rank equals the number of the first cstic which is part of the conflict
-
compileRankFromCsticList
-
toIntegerAndStore
-
compareTo
- Specified by:
compareToin interfaceComparable<ComparableConflictGroup>
-
equals
-
hashCode
public int hashCode()
-