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 Details

    • ComparableConflictGroup

      public ComparableConflictGroup()
  • Method Details

    • getStoredRank

      public Integer getStoredRank()
      Returns:
      the storedRank
    • getCsticGroupsFlat

      public List<UiGroupData> getCsticGroupsFlat()
      Returns:
      the csticGroupsFlat
    • setCsticGroupsFlat

      public void setCsticGroupsFlat(List<UiGroupData> csticGroupsFlat)
      Parameters:
      csticGroupsFlat - the csticGroupsFlat to set
    • getEmptyList

      protected List getEmptyList()
    • rank

      public Integer 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

      protected Integer compileRankFromCsticList(Set<String> myCstics)
    • toIntegerAndStore

      protected Integer toIntegerAndStore(int rank)
    • compareTo

      public int compareTo(ComparableConflictGroup otherConflictGroup)
      Specified by:
      compareTo in interface Comparable<ComparableConflictGroup>
    • equals

      public boolean equals(Object another)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object