Class GroupCriterion

java.lang.Object
com.aspose.tasks.cloud.model.GroupCriterion

public class GroupCriterion extends Object
Represents a criterion in a group definition.
  • Constructor Details

    • GroupCriterion

      public GroupCriterion()
  • Method Details

    • field

      public GroupCriterion field(Field field)
    • getField

      public Field getField()
      Gets or sets the field being grouped by.
      Returns:
      field
    • setField

      public void setField(Field field)
    • ascending

      public GroupCriterion ascending(Boolean ascending)
    • isAscending

      public Boolean isAscending()
      Gets or sets a value indicating whether a field used as a criterion in a group definition is sorted in ascending order. False if the field is sorted in descending order.
      Returns:
      ascending
    • setAscending

      public void setAscending(Boolean ascending)
    • groupOn

      public GroupCriterion groupOn(GroupOn groupOn)
    • getGroupOn

      public GroupOn getGroupOn()
      Gets or sets the type of grouping for a field used as a criterion in a group definition.
      Returns:
      groupOn
    • setGroupOn

      public void setGroupOn(GroupOn groupOn)
    • groupInterval

      public GroupCriterion groupInterval(String groupInterval)
    • getGroupInterval

      public String getGroupInterval()
      Gets or sets the interval for a field used as a criterion in a group definition.
      Returns:
      groupInterval
    • setGroupInterval

      public void setGroupInterval(String groupInterval)
    • startAt

      public GroupCriterion startAt(String startAt)
    • getStartAt

      public String getStartAt()
      Gets or sets the start of the intervals for a field used as a criterion in a group definition.
      Returns:
      startAt
    • setStartAt

      public void setStartAt(String startAt)
    • cellColor

      public GroupCriterion cellColor(Colors cellColor)
    • getCellColor

      public Colors getCellColor()
      Gets or sets the color of the cell background for a field used as a criterion in a group definition.
      Returns:
      cellColor
    • setCellColor

      public void setCellColor(Colors cellColor)
    • fontColor

      public GroupCriterion fontColor(Colors fontColor)
    • getFontColor

      public Colors getFontColor()
      Gets or sets the color of the font for a field used as a criterion in a group definition.
      Returns:
      fontColor
    • setFontColor

      public void setFontColor(Colors fontColor)
    • pattern

      public GroupCriterion pattern(BackgroundPattern pattern)
    • getPattern

      public BackgroundPattern getPattern()
      Gets or sets the pattern of the cell for a field used as a criterion in a group definition.
      Returns:
      pattern
    • setPattern

      public void setPattern(BackgroundPattern pattern)
    • font

      public GroupCriterion font(FontInfo font)
    • getFont

      public FontInfo getFont()
      Gets or sets the font for a criterion in a group definition.
      Returns:
      font
    • setFont

      public void setFont(FontInfo font)
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object